templates/*: Drop HTML5 conditions
This commit is contained in:
parent
43adb8766d
commit
6f3374233e
2 changed files with 7 additions and 13 deletions
|
@ -35,12 +35,6 @@
|
|||
<!-- Custom styles for this template -->
|
||||
<link href="<TMPL_VAR BASEURL>bootstrap.local.css" rel="stylesheet" />
|
||||
|
||||
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
|
||||
<!--[if lt IE 9]>
|
||||
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
|
||||
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
|
||||
<!-- Custom styles for derivatives -->
|
||||
<TMPL_IF LOCAL_CSS>
|
||||
<link rel="stylesheet" href="<TMPL_VAR BASEURL><TMPL_VAR LOCAL_CSS>" type="text/css" />
|
||||
|
@ -124,9 +118,9 @@
|
|||
<TMPL_VAR CONTENT>
|
||||
|
||||
<TMPL_IF ENCLOSURE>
|
||||
<TMPL_IF HTML5><section id="enclosure"><TMPL_ELSE><div id="enclosure"></TMPL_IF>
|
||||
<section id="enclosure">
|
||||
<a href="<TMPL_VAR ENCLOSURE>">Download</a>
|
||||
<TMPL_IF HTML5></section><TMPL_ELSE></div></TMPL_IF>
|
||||
</section>
|
||||
</TMPL_IF>
|
||||
|
||||
<TMPL_IF TRAILS>
|
||||
|
@ -136,7 +130,7 @@
|
|||
<TMPL_UNLESS DYNAMIC>
|
||||
<!-- legacy Ikiwiki comments.pm section -->
|
||||
<TMPL_IF COMMENTS>
|
||||
<TMPL_IF HTML5><section id="comments"><TMPL_ELSE><div id="comments"></TMPL_IF>
|
||||
<section id="comments">
|
||||
<TMPL_VAR COMMENTS>
|
||||
<TMPL_IF ADDCOMMENTURL>
|
||||
<div class="addcomment">
|
||||
|
@ -147,7 +141,7 @@
|
|||
<div class="addcomment">Comments on this page are closed.</div>
|
||||
</TMPL_UNLESS>
|
||||
</TMPL_IF>
|
||||
<TMPL_IF HTML5></section><TMPL_ELSE></div></TMPL_IF>
|
||||
</section>
|
||||
</TMPL_IF>
|
||||
|
||||
<!-- Mastodon comments -->
|
||||
|
@ -319,7 +313,7 @@
|
|||
</TMPL_UNLESS>
|
||||
</div> <!-- /container -->
|
||||
|
||||
<TMPL_IF HTML5><footer<TMPL_ELSE><div</TMPL_IF> class="footer" role="contentinfo">
|
||||
<footer class="footer" role="contentinfo">
|
||||
<div class="container">
|
||||
|
||||
<TMPL_IF FOOTER>
|
||||
|
@ -327,7 +321,7 @@
|
|||
</TMPL_IF>
|
||||
|
||||
</div>
|
||||
<TMPL_IF HTML5></footer><TMPL_ELSE></div></TMPL_IF>
|
||||
</footer>
|
||||
|
||||
|
||||
<!-- Bootstrap core JavaScript
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<form method="get" action="<TMPL_VAR SEARCHACTION>" class="navbar-form navbar-left" role="search">
|
||||
<input type="text" class="form-control" name="P" value="" size="16"
|
||||
<TMPL_IF HTML5>placeholder="search"</TMPL_IF> />
|
||||
placeholder="search" />
|
||||
</form>
|
||||
|
|
Loading…
Reference in a new issue