1
0
Fork 0
forked from ilot/ilot-io

templates/*: Drop HTML5 conditions

This commit is contained in:
Antoine Martin 2024-09-08 16:23:23 -04:00 committed by ayakael
parent f9017d5921
commit 5099dd8cbd
2 changed files with 7 additions and 13 deletions

View file

@ -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" />
@ -129,9 +123,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>
@ -141,7 +135,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">
@ -152,7 +146,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 -->
@ -223,7 +217,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>
@ -231,7 +225,7 @@
</TMPL_IF>
</div>
<TMPL_IF HTML5></footer><TMPL_ELSE></div></TMPL_IF>
</footer>
<!-- Bootstrap core JavaScript

View file

@ -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>