home and post w3c valid

master
Gnieark 6 years ago
parent c6b7ec992f
commit 07a8271558

@ -36,96 +36,92 @@
{{tpl:include src="_head.html"}} {{tpl:include src="_head.html"}}
</tpl:Block> <!-- html-head --> </tpl:Block> <!-- html-head -->
</head> </head>
<tpl:Block name="body-tag"> <tpl:Block name="body-page">
<body class="dc-home"> <body>
</tpl:Block>
<tpl:Block name="html-body">
<tpl:Block name="body-page">
<tpl:Block name="page-top"> <tpl:Block name="page-top">
{{tpl:include src="_top.html"}} {{tpl:include src="_top.html"}}
</tpl:Block> </tpl:Block>
<tpl:Block name="main-content">
<tpl:Block name="page-wrapper"> <section>
<tpl:Block name="wrapper-main"> <h3>main(){</h3>
<tpl:Entries>
<tpl:Block name="main-content"> <a href="{{tpl:EntryURL}}" class="wholearticlelink">
<section> <article>
<tpl:Entries> <h2 class="post-title">{{tpl:EntryTitle encode_html="1"}}</h2>
<a href="{{tpl:EntryURL}}" class="wholearticlelink"> <!-- # --BEHAVIOR-- publicEntryBeforeContent -->
<article> {{tpl:SysBehavior behavior="publicEntryBeforeContent"}}
<h2 class="post-title">{{tpl:EntryTitle encode_html="1"}}</h2> <!-- # Entry with an excerpt -->
<!-- # --BEHAVIOR-- publicEntryBeforeContent --> <tpl:EntryIf extended="1">
{{tpl:SysBehavior behavior="publicEntryBeforeContent"}} {{tpl:EntryFirstImage size="s" class="EntryFirstImage" with_category="1"}}
<!-- # Entry with an excerpt --> <p>
<tpl:EntryIf extended="1">
{{tpl:EntryFirstImage size="s" class="EntryFirstImage" with_category="1"}} {{tpl:EntryExcerpt remove_html="1" encode_html="1"}}
<p> </p>
<p class="readmore-ellipsis">Lire la suite...</p>
{{tpl:EntryExcerpt remove_html="1" encode_html="1"}} </tpl:EntryIf>
</p>
<p class="readmore-ellipsis">Lire la suite...</p> <!-- # Entry without excerpt -->
</tpl:EntryIf> <tpl:EntryIf extended="0">
{{tpl:EntryFirstImage size="s" class="EntryFirstImage" with_category="1"}}
<!-- # Entry without excerpt --> <p>
<tpl:EntryIf extended="0">
{{tpl:EntryFirstImage size="s" class="EntryFirstImage" with_category="1"}} {{tpl:EntryContent remove_html="1" encode_html="1" cut_string="300"}}
<p>
</p>
{{tpl:EntryContent remove_html="1" encode_html="1" cut_string="300"}} <p class="readmore-ellipsis">Lire la suite...</p>
</tpl:EntryIf>
</p>
<p class="readmore-ellipsis">Lire la suite...</p> <!-- # --BEHAVIOR-- publicEntryAfterContent -->
</tpl:EntryIf> {{tpl:SysBehavior behavior="publicEntryAfterContent"}}
<!-- # --BEHAVIOR-- publicEntryAfterContent -->
{{tpl:SysBehavior behavior="publicEntryAfterContent"}}
</article>
</a>
<nav>
<tpl:EntriesFooter>
<tpl:Pagination>
<ul>
<li><tpl:PaginationIf end="0">
<a href="{{tpl:PaginationURL offset="+1"}}" class="prev">{{tpl:lang previous entries}}</a>
</tpl:PaginationIf></li>
<li>{{tpl:lang page}} {{tpl:PaginationCurrent}} {{tpl:lang of}} {{tpl:PaginationCounter}}</li>
<li><tpl:PaginationIf start="0"><a href="{{tpl:PaginationURL offset="-1"}}" class="next">{{tpl:lang next entries}}</a></tpl:PaginationIf></li>
</ul>
</tpl:Pagination>
</tpl:EntriesFooter>
</nav>
</article>
</a>
<nav>
<tpl:EntriesFooter>
<tpl:Pagination>
<ul>
<li><tpl:PaginationIf end="0">
<a href="{{tpl:PaginationURL offset="+1"}}" class="prev">{{tpl:lang previous entries}}</a>
</tpl:PaginationIf></li>
<li>{{tpl:lang page}} {{tpl:PaginationCurrent}} {{tpl:lang of}} {{tpl:PaginationCounter}}</li>
<li><tpl:PaginationIf start="0"><a href="{{tpl:PaginationURL offset="-1"}}" class="next">{{tpl:lang next entries}}</a></tpl:PaginationIf></li>
</ul>
</tpl:Pagination>
</tpl:EntriesFooter>
</nav>
</tpl:Entries>
</tpl:Block> <!-- main-content --> </tpl:Entries>
</tpl:Block>
</section> </section>
</tpl:Block> <!-- main-content -->
<tpl:Block name="wrapper-sidebar"> <tpl:Block name="wrapper-sidebar">
<aside> <aside>
<h3>aside(){</h3>
{{tpl:Widgets type="nav"}} {{tpl:Widgets type="nav"}}
{{tpl:Widgets type="extra"}}
</aside>
{{tpl:Widgets type="extra"}} </tpl:Block> <!-- wrapper-sidebar -->
</aside>
</tpl:Block> <!-- wrapper-sidebar -->
</tpl:Block> <!-- page-wrapper -->
<tpl:Block name="page-footer"> <tpl:Block name="page-footer">
{{tpl:include src="_footer.html"}} {{tpl:include src="_footer.html"}}
</tpl:Block> <!-- page-footer --> </tpl:Block> <!-- page-footer -->
</tpl:Block> <!-- body-page -->
</tpl:Block> <!-- html-body -->
</body> </body>
</tpl:Block> <!-- body-page -->
</html> </html>

@ -35,27 +35,29 @@
<tpl:Block name="html-head"> <tpl:Block name="html-head">
{{tpl:parent}} {{tpl:parent}}
<script type="text/javascript" src="{{tpl:BlogQmarkURL}}pf=post.js"></script> <script src="{{tpl:BlogQmarkURL}}pf=post.js"></script>
<script type="text/javascript"> <script>
//<![CDATA[ //<![CDATA[
var post_remember_str = '{{tpl:lang Remember me on this blog}}'; var post_remember_str = '{{tpl:lang Remember me on this blog}}';
//]]> //]]>
</script> </script>
</tpl:Block> </tpl:Block>
<tpl:Block name="body-tag"><body class="dc-post"></tpl:Block>
<tpl:Block name="page-top"> <tpl:Block name="page-top">
<header> <header>
<h1><a href="/" class="homelink" title="Revenir à l'accueil">Retour à la page d'accueil</a>{{tpl:EntryTitle encode_html="1"}}</h1> <h1><a href="/" class="homelink" title="Revenir à l'accueil">Retour à la page d'accueil</a>{{tpl:BlogName encode_html="1"}}</h1>
<!-- # --BEHAVIOR-- publicTopAfterContent --> <!-- # --BEHAVIOR-- publicTopAfterContent -->
{{tpl:SysBehavior behavior="publicTopAfterContent"}} {{tpl:SysBehavior behavior="publicTopAfterContent"}}
</header> </header>
</tpl:Block> </tpl:Block>
<tpl:Block name="main-content"> <tpl:Block name="main-content">
<article> <section>
<h3>main(){</h3>
<article>
<h2>{{tpl:EntryTitle encode_html="1"}}</h2>
<p class="post-info">{{tpl:lang By}} {{tpl:EntryAuthorLink}} <p class="post-info">{{tpl:lang By}} {{tpl:EntryAuthorLink}}
{{tpl:lang on}} {{tpl:EntryDate}} {{tpl:lang on}} {{tpl:EntryDate}}
@ -157,7 +159,7 @@
</tpl:SysIfCommentPending> </tpl:SysIfCommentPending>
<!-- # Comment form --> <!-- # Comment form -->
<form action="{{tpl:EntryURL}}#pr" method="post" id="comment-form" role="form"> <form action="{{tpl:EntryURL}}#pr" method="post" id="comment-form">
<tpl:IfCommentPreview> <tpl:IfCommentPreview>
<div id="pr"> <div id="pr">
<h3>{{tpl:lang Your comment}}</h3> <h3>{{tpl:lang Your comment}}</h3>
@ -170,7 +172,6 @@
<h3>{{tpl:lang Add a comment}}</h3> <h3>{{tpl:lang Add a comment}}</h3>
<fieldset> <fieldset>
<!-- # --BEHAVIOR-- publicCommentFormBeforeContent -->
{{tpl:SysBehavior behavior="publicCommentFormBeforeContent"}} {{tpl:SysBehavior behavior="publicCommentFormBeforeContent"}}
<p class="field"> <p class="field">
@ -196,11 +197,9 @@
rows="7" placeholder="{{tpl:lang Comment}}">{{tpl:CommentPreviewContent raw="1" encode_html="1"}}</textarea> rows="7" placeholder="{{tpl:lang Comment}}">{{tpl:CommentPreviewContent raw="1" encode_html="1"}}</textarea>
</p> </p>
<p class="form-help">{{tpl:CommentHelp}}</p> <p class="form-help">{{tpl:CommentHelp}}</p>
<!-- # --BEHAVIOR-- publicCommentFormAfterContent -->
{{tpl:SysBehavior behavior="publicCommentFormAfterContent"}} {{tpl:SysBehavior behavior="publicCommentFormAfterContent"}}
</fieldset> </fieldset>
<fieldset>
<p class="buttons"><input type="submit" class="preview" name="preview" value="{{tpl:lang preview}}" /> <p class="buttons"><input type="submit" class="preview" name="preview" value="{{tpl:lang preview}}" />
<tpl:IfCommentPreviewOptional><input type="submit" class="submit" value="{{tpl:lang send}}" /></tpl:IfCommentPreviewOptional></p> <tpl:IfCommentPreviewOptional><input type="submit" class="submit" value="{{tpl:lang send}}" /></tpl:IfCommentPreviewOptional></p>
</fieldset> </fieldset>
@ -257,6 +256,6 @@
cut_string="50"}} &#187;</a></tpl:EntryNext></li> cut_string="50"}} &#187;</a></tpl:EntryNext></li>
</ul> </ul>
</nav> </nav>
</section>
</tpl:Block> </tpl:Block>

Loading…
Cancel
Save