Annexes thèmes

« Aorakits », des outils pour les créateurs de thèmes

14 structures (pure CSS)

14 layout.css

style.css

Une feuille de style prête à l'emploi comportant tous les principaux marqueurs.

Un blog de test

Un fichier pour importer 25 billets variés dans une installation de test.

Radiographies des fichiers html du thème par défaut

Mettre à jour un thème DC2 beta7 vers DC2 RC2

Si vous avez réalisé (ou installé) un thème lors des versions bêtas et que ce thème contenait des fichiers *.html, ceux-ci sont désormais à placer dans un sous-dossier tpl dans votre dossier de thème et mis à jour.

Voici la liste des modifications intervenues entre les deux versions. Les lignes précédées du signe moins (-) signalent une suppression, celles précédées du signe plus (+) indiquent un ajout.

Admettons que notre fichier original contienne ceci :

Lorem ipsum
dolor sit amet

Voici sa liste de modifications

Lorem ipsum
-dolor sit amet
+consectetur adipiscing elit

Dans cet exemple, le texte Lorem ipsum est inchangé, il ne doit pas être modifié. La ligne suivante contenant dolor sit amet doit être supprimée et le texte consectetur adipiscing elit doit être ajouté.

Après avoir appliqué ces modifications, le fichier mis à jour ressemblera à ça :

Lorem ipsum
consectetur adipiscing elit

Attention :

Les parties de code données ci-dessous ne sont que des extraits des fichiers pour contextualiser les modifs. Ne les recopiez pas en remplacement complet des fichiers originels mais repérez les différences et reportez les sur vos propres fichiers.

Important :

Les plugins récents s'installent désormais sans devoir modifier les fichiers *.html grâce à aux appels aux Comportements. Vérifiez donc bien que vous avez toutes les lignes du type:
tpl:SysBehavior behavior="blabla"

Dans les fichiers *.html de vos thèmes.

404.html

 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html lang="{{tpl:BlogLanguage}}">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{{tpl:BlogLanguage}}" lang="{{tpl:BlogLanguage}}">
 <head>
   <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
   <meta name="MSSmartTagsPreventParsing" content="TRUE" />
+  <meta name="ROBOTS" content="{{tpl:BlogMetaRobots robots="NOINDEX,NOARCHIVE"}}" />
   <title>{{tpl:lang Document not found}} - {{tpl:BlogName encode_html="1"}}</title>
   <meta name="DC.title" content="Page not found - {{tpl:BlogName encode_html="1"}}" />

_flv_player.html

-<object type="application/x-shockwave-flash" data="{{tpl:BlogThemeURL}}/../default/player_flv.swf"
+<object type="application/x-shockwave-flash" data="{{tpl:BlogQmarkURL}}pf=player_flv.swf"
 width="400" height="300">
-<param name="movie" value="{{tpl:BlogThemeURL}}/../default/player_flv.swf" />
-<param name="FlashVars" value="flv={{tpl:AttachmentURL}}&amp;width=400&amp;height=300&amp;margin=1&amp;showvolume=1&amp;showtime=1" />'.
+<param name="movie" value="{{tpl:BlogQmarkURL}}pf=player_flv.swf" />
+<param name="FlashVars" value="flv={{tpl:AttachmentURL}}&amp;width=400&amp;height=300&amp;margin=1&amp;showvolume=1&amp;showtime=1" />
 </object>

_footer.html

 <div id="footer">
-  <p>{{tpl:lang Powered by}} <a href="http://www.dotclear.net/">DotClear</a></p>
-</div>
+  <p>{{tpl:lang Powered by}} <a href="http://www.dotclear.net/">Dotclear</a></p>
+</div>
+
+{{tpl:SysBehavior behavior="publicFooterContent"}}

_head.html

 </style>
 <style type="text/css" media="print">
 @import url({{tpl:BlogThemeURL}}/../default/print.css);
-</style>
+</style>
+
+<meta name="description" content="{{tpl:BlogDescription}}" />
+
+<script type="text/javascript" src="{{tpl:BlogThemeURL}}/../default/js/jquery.js"></script>
+<script type="text/javascript" src="{{tpl:BlogThemeURL}}/../default/js/jquery.cookie.js"></script>
+
+{{tpl:include src="user_head.html"}}
+{{tpl:SysBehavior behavior="publicHeadContent"}}

_mp3_player.html

-<object type="application/x-shockwave-flash"
-data="{{tpl:BlogThemeURL}}/../default/player_mp3.swf?mp3={{tpl:AttachmentURL}}&amp;loadingcolor=ff9900&amp;bgcolor1=eeeeee&amp;bgcolor2=cccccc&amp;buttoncolor=3d628e&amp;buttonovercolor=ff9900&amp;slidercolor1=cccccc&amp;slidercolor2=999999&amp;sliderovercolor=3d628e"
-width="200" height="20">
-<param name="movie" value="{{tpl:BlogThemeURL}}/../default/player_mp3.swf?mp3={{tpl:AttachmentURL}}&amp;loadingcolor=ff9900&amp;bgcolor1=eeeeee&amp;bgcolor2=cccccc&amp;buttoncolor=0066cc&amp;buttonovercolor=ff9900&amp;slidercolor1=cccccc&amp;slidercolor2=999999&amp;sliderovercolor=0066cc" />
+<object type="application/x-shockwave-flash" data="{{tpl:BlogQmarkURL}}pf=player_mp3.swf" width="200" height="20">
+<param name="movie" value="{{tpl:BlogQmarkURL}}pf=player_mp3.swf" />
 <param name="wmode" value="transparent" />
+<param name="FlashVars" value="mp3={{tpl:AttachmentURL}}&amp;loadingcolor=ff9900&amp;bgcolor1=eeeeee&amp;bgcolor2=cccccc&amp;buttoncolor=0066cc&amp;buttonovercolor=ff9900&amp;slidercolor1=cccccc&amp;slidercolor2=999999&amp;sliderovercolor=0066cc" />
 </object>

_top.html

 <div id="top">
   <h1><span><a href="{{tpl:BlogURL}}">{{tpl:BlogName encode_html="1"}}</a></span></h1>
+  
+  <!-- # --BEHAVIOR-- publicTopAfterContent -->
+  {{tpl:SysBehavior behavior="publicTopAfterContent"}}
 </div>
 
 <p id="prelude"><a href="#main">{{tpl:lang To content}}</a> |

archive.html

 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html lang="{{tpl:BlogLanguage}}">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{{tpl:BlogLanguage}}" lang="{{tpl:BlogLanguage}}">
 <head>
   <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
   <meta name="MSSmartTagsPreventParsing" content="TRUE" />
+  <meta name="ROBOTS" content="{{tpl:BlogMetaRobots}}" />
   <title>{{tpl:lang Archives}} - {{tpl:BlogName encode_html="1"}}</title>
   
   <link rel="top" href="{{tpl:BlogURL}}" title="{{tpl:lang Home}}" />

archive_month.html

 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html lang="{{tpl:BlogLanguage}}">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{{tpl:BlogLanguage}}" lang="{{tpl:BlogLanguage}}">
 <head>
   <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
   <meta name="MSSmartTagsPreventParsing" content="TRUE" />
+  <meta name="ROBOTS" content="{{tpl:BlogMetaRobots robots="NOINDEX"}}" />
   <title>{{tpl:lang Archives}} -
   {{tpl:ArchiveDate}} - {{tpl:BlogName encode_html="1"}}</title>
   
     <!-- # New day date -->
     <tpl:DateHeader><p class="day-date">{{tpl:EntryDate}}</p></tpl:DateHeader>
     
-    <h2 id="p{{tpl:EntryID}}" class="post-title"><a
+    <h2 id="p{{tpl:EntryID}}" class="post-title" lang="{{tpl:EntryLang}}" xml:lang="{{tpl:EntryLang}}"><a
     href="{{tpl:EntryURL}}" title="{{tpl:lang Read}} {{tpl:EntryTitle encode_html="1"}}">{{tpl:EntryTitle encode_html="1"}}</a></h2>
     
     <p class="post-info">{{tpl:lang By}} {{tpl:EntryAuthorLink}}
     - <a href="{{tpl:EntryURL}}#comments">{{tpl:EntryCommentCount}}</a>
     </tpl:EntryIf>
     <tpl:EntryIf show_pings="1">
-    - <a href="{{tpl:EntryURL}}#pings">{{tpl:EntryTrackbackCount}}</a></tpl:EntryIf>
+    - <a href="{{tpl:EntryURL}}#pings">{{tpl:EntryPingCount}}</a></tpl:EntryIf>
     <tpl:EntryIf has_attachment="1">
     - <a href="{{tpl:EntryURL}}#attachments">{{tpl:EntryAttachmentCount}}</a></tpl:EntryIf>
     </p>

category.html

 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html lang="{{tpl:BlogLanguage}}">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{{tpl:BlogLanguage}}" lang="{{tpl:BlogLanguage}}">
 <head>
   <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
   <meta name="MSSmartTagsPreventParsing" content="TRUE" />
+  <meta name="ROBOTS" content="{{tpl:BlogMetaRobots robots="NOINDEX"}}" />
   <title>{{tpl:CategoryTitle encode_html="1"}} - {{tpl:BlogName encode_html="1"}}</title>
   
   <link rel="top" href="{{tpl:BlogURL}}" title="{{tpl:lang Home}}" />
   </div>
   
   <tpl:Entries>
-    <div class="post {{tpl:EntryIfOdd}} {{tpl:EntryIfFirst}}">
+    <div class="post {{tpl:EntryIfOdd}} {{tpl:EntryIfFirst}}" lang="{{tpl:EntryLang}}" xml:lang="{{tpl:EntryLang}}">
     <!-- # New day date -->
     <tpl:DateHeader><p class="day-date">{{tpl:EntryDate}}</p></tpl:DateHeader>
     
     <tpl:MetaDataFooter></ul></tpl:MetaDataFooter>
     </tpl:EntryMetaData>
     
+    <!-- # --BEHAVIOR-- publicEntryBeforeContent -->
+    {{tpl:SysBehavior behavior="publicEntryBeforeContent"}}
+    
     <!-- # Entry with an excerpt -->
     <tpl:EntryIf extended="1">
       <div class="post-content">{{tpl:EntryExcerpt}}</div>
       <div class="post-content">{{tpl:EntryContent}}</div>
     </tpl:EntryIf>
     
+    <!-- # --BEHAVIOR-- publicEntryAfterContent -->
+    {{tpl:SysBehavior behavior="publicEntryAfterContent"}}
+    
     <!-- # Number of comments, trackbacks and attachments -->
-    <p class="post-info-co">
+    <tpl:EntryIf operator="or" show_comments="1" show_pings="1" has_attachment="1">
+      <p class="post-info-co">
+    </tpl:EntryIf>
     <tpl:EntryIf show_comments="1">
-    <a href="{{tpl:EntryURL}}#comments" class="comment_count">{{tpl:EntryCommentCount}}</a>
+      <a href="{{tpl:EntryURL}}#comments" class="comment_count">{{tpl:EntryCommentCount}}</a>
     </tpl:EntryIf>
     <tpl:EntryIf show_pings="1">
-    <a href="{{tpl:EntryURL}}#pings" class="ping_count">{{tpl:EntryTrackbackCount}}</a></tpl:EntryIf>
+      <a href="{{tpl:EntryURL}}#pings" class="ping_count">{{tpl:EntryPingCount}}</a></tpl:EntryIf>
     <tpl:EntryIf has_attachment="1">
-    <a href="{{tpl:EntryURL}}#attachments" class="attach_count">{{tpl:EntryAttachmentCount}}</a></tpl:EntryIf>
-    </p>
+      <a href="{{tpl:EntryURL}}#attachments" class="attach_count">{{tpl:EntryAttachmentCount}}</a></tpl:EntryIf>
+    <tpl:EntryIf operator="or" show_comments="1" show_pings="1" has_attachment="1">
+      </p>
+    </tpl:EntryIf>
     </div>
     
     <tpl:EntriesFooter>

home.html

 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html lang="{{tpl:BlogLanguage}}">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{{tpl:BlogLanguage}}" lang="{{tpl:BlogLanguage}}">
 <head>
   <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
   <meta name="MSSmartTagsPreventParsing" content="TRUE" />
+  <meta name="ROBOTS" content="{{tpl:BlogMetaRobots}}" />
   <title>{{tpl:BlogName encode_html="1"}}</title>
   
   <link rel="contents" title="{{tpl:lang Archives}}" href="{{tpl:BlogArchiveURL}}" />
 <div id="main">
   <div id="content">
   <tpl:Entries>
-    <div class="post {{tpl:EntryIfOdd}} {{tpl:EntryIfFirst}}">
+    <div class="post {{tpl:EntryIfOdd}} {{tpl:EntryIfFirst}}" lang="{{tpl:EntryLang}}" xml:lang="{{tpl:EntryLang}}">
     <!-- # New day date -->
     <tpl:DateHeader><p class="day-date">{{tpl:EntryDate}}</p></tpl:DateHeader>
     
     <tpl:MetaDataFooter></ul></tpl:MetaDataFooter>
     </tpl:EntryMetaData>
     
+    <!-- # --BEHAVIOR-- publicEntryBeforeContent -->
+    {{tpl:SysBehavior behavior="publicEntryBeforeContent"}}
+    
     <!-- # Entry with an excerpt -->
     <tpl:EntryIf extended="1">
       <div class="post-content">{{tpl:EntryExcerpt}}</div>
       <div class="post-content">{{tpl:EntryContent}}</div>
     </tpl:EntryIf>
     
+    <!-- # --BEHAVIOR-- publicEntryAfterContent -->
+    {{tpl:SysBehavior behavior="publicEntryAfterContent"}}
+    
     <!-- # Number of comments, trackbacks and attachments -->
-    <p class="post-info-co">
+    <tpl:EntryIf operator="or" show_comments="1" show_pings="1" has_attachment="1">
+      <p class="post-info-co">
+    </tpl:EntryIf>
     <tpl:EntryIf show_comments="1">
-    <a href="{{tpl:EntryURL}}#comments" class="comment_count">{{tpl:EntryCommentCount}}</a>
+      <a href="{{tpl:EntryURL}}#comments" class="comment_count">{{tpl:EntryCommentCount}}</a>
     </tpl:EntryIf>
     <tpl:EntryIf show_pings="1">
-    <a href="{{tpl:EntryURL}}#pings" class="ping_count">{{tpl:EntryTrackbackCount}}</a></tpl:EntryIf>
+      <a href="{{tpl:EntryURL}}#pings" class="ping_count">{{tpl:EntryPingCount}}</a></tpl:EntryIf>
     <tpl:EntryIf has_attachment="1">
-    <a href="{{tpl:EntryURL}}#attachments" class="attach_count">{{tpl:EntryAttachmentCount}}</a></tpl:EntryIf>
-    </p>
+      <a href="{{tpl:EntryURL}}#attachments" class="attach_count">{{tpl:EntryAttachmentCount}}</a></tpl:EntryIf>
+    <tpl:EntryIf operator="or" show_comments="1" show_pings="1" has_attachment="1">
+      </p>
+    </tpl:EntryIf>
     </div>
     
     <tpl:EntriesFooter>

post.html

 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html lang="{{tpl:BlogLanguage}}">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{{tpl:EntryLang}}" lang="{{tpl:EntryLang}}">
 <head>
   <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
   <meta name="MSSmartTagsPreventParsing" content="TRUE" />
+  <meta name="ROBOTS" content="{{tpl:BlogMetaRobots}}" />
   <title>{{tpl:EntryTitle encode_html="1"}} - {{tpl:BlogName encode_html="1"}}</title>
   
   <link rel="schema.DC" href="http://purl.org/DC/elements/1.0/" />
   <link rel="alternate" type="application/atom+xml" title="Atom 1.0" href="{{tpl:BlogFeedURL type="atom"}}" />
   
   {{tpl:include src="_head.html"}}
+  
+  <script type="text/javascript" src="{{tpl:BlogThemeURL}}/../default/js/post.js"></script>
+  <script type="text/javascript">
+  //<![CDATA[
+  var post_remember_str = '{{tpl:lang Remember me on this blog}}';
+  //]]>
+  </script>
 </head>
 
 <body class="dc-post">

 <div id="page">
-{{tpl:EntryTrackbackData}}
+{{tpl:EntryPingData}}
 
 {{tpl:include src="_top.html"}}
 
   <p id="navlinks">
   <tpl:EntryPrevious><a href="{{tpl:EntryURL}}"
   title="{{tpl:EntryTitle encode_html="1"}}" class="prev">« {{tpl:EntryTitle encode_html="1"
-  cut_string="50"}}</a> | </tpl:EntryPrevious>
-  <tpl:EntryNext><a href="{{tpl:EntryURL}}"
+  cut_string="50"}}</a></tpl:EntryPrevious>
+  <tpl:EntryNext> <span>-</span> <a href="{{tpl:EntryURL}}"
   title="{{tpl:EntryTitle encode_html="1"}}" class="next">{{tpl:EntryTitle encode_html="1"
   cut_string="50"}} »</a></tpl:EntryNext>
   </p>
     <tpl:MetaDataFooter></ul></tpl:MetaDataFooter>
     </tpl:EntryMetaData>
     
+    <!-- # --BEHAVIOR-- publicEntryBeforeContent -->
+    {{tpl:SysBehavior behavior="publicEntryBeforeContent"}}
+    
     <!-- # Entry with an excerpt -->
     <tpl:EntryIf extended="1">
       <div class="post-excerpt">{{tpl:EntryExcerpt}}</div>
     </tpl:EntryIf>
     
     <div class="post-content">{{tpl:EntryContent}}</div>
+    
+    <!-- # --BEHAVIOR-- publicEntryAfterContent -->
+    {{tpl:SysBehavior behavior="publicEntryAfterContent"}}
   </div>
   
   <!-- # Attachments -->
  
   <!-- # Comments -->
   <tpl:EntryIf show_comments="1">
-  <div id="comments">
-    <h3>{{tpl:lang Comments}}</h3>
     <tpl:Comments>
     <tpl:CommentsHeader>
+      <div id="comments">
+        <h3>{{tpl:lang Comments}}</h3>
       <dl>
     </tpl:CommentsHeader>
       <dt id="c{{tpl:CommentID}}" class="{{tpl:CommentIfMe}} {{tpl:CommentIfOdd}} {{tpl:CommentIfFirst}}"><a
       {{tpl:lang On}} {{tpl:CommentDate}}, {{tpl:CommentTime}}
       {{tpl:lang by}} {{tpl:CommentAuthorLink}}</dt>
       
-      <dd class="{{tpl:CommentIfMe}} {{tpl:CommentIfOdd}} {{tpl:CommentIfFirst}}">{{tpl:CommentContent}}</dd>
+      <dd class="{{tpl:CommentIfMe}} {{tpl:CommentIfOdd}} {{tpl:CommentIfFirst}}">
+      <!-- # --BEHAVIOR-- publicCommentBeforeContent -->
+      {{tpl:SysBehavior behavior="publicCommentBeforeContent"}}
+      
+      {{tpl:CommentContent}}
+      
+      <!-- # --BEHAVIOR-- publicCommentAfterContent -->
+      {{tpl:SysBehavior behavior="publicCommentAfterContent"}}
+      </dd>
     <tpl:CommentsFooter>
       </dl>
+      </div>
     </tpl:CommentsFooter>
     </tpl:Comments>
-  </div>
   </tpl:EntryIf>
   
   <tpl:EntryIf comments_active="1">    
           <dl>
             <dd class="comment-preview">{{tpl:CommentPreviewContent}}</dd>
           </dl>
-          <p><input type="submit" class="submit" value="{{tpl:lang send}}" /></p>
+          <p class="buttons"><input type="submit" class="submit" value="{{tpl:lang send}}" /></p>
         </div>
       </tpl:IfCommentPreview>
       
       <h3>{{tpl:lang Add a comment}}</h3>
       <fieldset>
+        <!-- # --BEHAVIOR-- publicCommentFormBeforeContent -->
+        {{tpl:SysBehavior behavior="publicCommentFormBeforeContent"}}
+        
         <p class="field"><label for="c_name">{{tpl:lang Name or nickname}}&nbsp;:</label>
         <input name="c_name" id="c_name" type="text" size="30" maxlength="255"
         value="{{tpl:CommentPreviewName encode_html="1"}}" />
         <textarea name="c_content" id="c_content" cols="35"
         rows="7">{{tpl:CommentPreviewContent raw="1" encode_html="1"}}</textarea>
         </p>
+        <p class="form-help">{{tpl:lang HTML code is displayed as text and web addresses are
+        automatically converted.}}</p>
+        
+        <!-- # --BEHAVIOR-- publicCommentFormAfterContent -->
+        {{tpl:SysBehavior behavior="publicCommentFormAfterContent"}}
       </fieldset>
       
-      <p class="form-help">{{tpl:lang HTML code is displayed as text and web addresses are
-      automatically converted.}}</p>
-      
-      <fieldset>	
-        <p><input type="checkbox" id="c_remember" name="c_remember" {{tpl:CommentPreviewCheckRemember}} />
-        <label for="c_remember">{{tpl:lang Remember me on this blog}}</label>
-        </p>
-        <p><input type="submit" class="preview" name="preview" value="{{tpl:lang preview}}" />
+      <fieldset>
+        <p class="buttons"><input type="submit" class="preview" name="preview" value="{{tpl:lang preview}}" />
         <tpl:IfCommentPreview><input type="submit" class="submit" value="{{tpl:lang send}}" /></tpl:IfCommentPreview></p>
       </fieldset>
     </form>
         {{tpl:lang On}} {{tpl:PingDate}}, {{tpl:PingTime}}
         {{tpl:lang by}} {{tpl:PingBlogName encode_html="1"}}</dt>
         
-        <dd class="{{tpl:PingIfOdd}} {{tpl:PingIfFirst}}"><p><a href="{{tpl:PingAuthorURL}}"
+        <dd class="{{tpl:PingIfOdd}} {{tpl:PingIfFirst}}">
+        <!-- # --BEHAVIOR-- publicPingBeforeContent -->
+        {{tpl:SysBehavior behavior="publicPingBeforeContent"}}
+        
+        <p><a href="{{tpl:PingAuthorURL}}"
         {{tpl:PingNoFollow}}>{{tpl:PingTitle encode_html="1"}}</a></p>
-        {{tpl:PingContent}}</dd>
+        {{tpl:PingContent}}
+        
+        <!-- # --BEHAVIOR-- publicPingAfterContent -->
+        {{tpl:SysBehavior behavior="publicPingAfterContent"}}
+        </dd>
       <tpl:PingsFooter>
       </dl>
       </tpl:PingsFooter>
   </tpl:EntryIf>
   
   <tpl:EntryIf pings_active="1">
-    <p id="ping-url">{{tpl:lang Trackback URL}}&nbsp;: {{tpl:EntryTrackbackLink}}</p>
+    <p id="ping-url">{{tpl:lang Trackback URL}}&nbsp;: {{tpl:EntryPingLink}}</p>
   </tpl:EntryIf>
   
   <tpl:EntryIf operator="or" comments_active="1" pings_active="1">
 {{tpl:include src="_footer.html"}}
 </div> <!-- End #page -->
 </body>
-</html>
+</html>

search.html

 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html lang="{{tpl:BlogLanguage}}">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{{tpl:BlogLanguage}}" lang="{{tpl:BlogLanguage}}">
 <head>
   <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
   <meta name="MSSmartTagsPreventParsing" content="TRUE" />
+  <meta name="ROBOTS" content="{{tpl:BlogMetaRobots robots="NOINDEX,NOARCHIVE"}}" />
   <title>{{tpl:BlogName encode_html="1"}}</title>
   
   <link rel="top" href="{{tpl:BlogURL}}" title="{{tpl:lang Home}}" />
   </div>
   
   <tpl:Entries>
-    <div class="post {{tpl:EntryIfOdd}} {{tpl:EntryIfFirst}}">
+    <div class="post {{tpl:EntryIfOdd}} {{tpl:EntryIfFirst}}" lang="{{tpl:EntryLang}}" xml:lang="{{tpl:EntryLang}}">
     <!-- # New day date -->
     <tpl:DateHeader><p class="day-date">{{tpl:EntryDate}}</p></tpl:DateHeader>
     
     <tpl:MetaDataFooter></ul></tpl:MetaDataFooter>
     </tpl:EntryMetaData>
     
+    <!-- # --BEHAVIOR-- publicEntryBeforeContent -->
+    {{tpl:SysBehavior behavior="publicEntryBeforeContent"}}
+    
     <!-- # Entry with an excerpt -->
     <tpl:EntryIf extended="1">
       <div class="post-content">{{tpl:EntryExcerpt}}</div>
       <div class="post-content">{{tpl:EntryContent}}</div>
     </tpl:EntryIf>
     
+    <!-- # --BEHAVIOR-- publicEntryAfterContent -->
+    {{tpl:SysBehavior behavior="publicEntryAfterContent"}}
+    
     <!-- # Number of comments, trackbacks and attachments -->
-    <p class="post-info-co">
+    <tpl:EntryIf operator="or" show_comments="1" show_pings="1" has_attachment="1">
+      <p class="post-info-co">
+    </tpl:EntryIf>
     <tpl:EntryIf show_comments="1">
-    <a href="{{tpl:EntryURL}}#comments" class="comment_count">{{tpl:EntryCommentCount}}</a>
+      <a href="{{tpl:EntryURL}}#comments" class="comment_count">{{tpl:EntryCommentCount}}</a>
     </tpl:EntryIf>
     <tpl:EntryIf show_pings="1">
-    <a href="{{tpl:EntryURL}}#pings" class="ping_count">{{tpl:EntryTrackbackCount}}</a></tpl:EntryIf>
+      <a href="{{tpl:EntryURL}}#pings" class="ping_count">{{tpl:EntryPingCount}}</a></tpl:EntryIf>
     <tpl:EntryIf has_attachment="1">
-    <a href="{{tpl:EntryURL}}#attachments" class="attach_count">{{tpl:EntryAttachmentCount}}</a></tpl:EntryIf>
-    </p>
+      <a href="{{tpl:EntryURL}}#attachments" class="attach_count">{{tpl:EntryAttachmentCount}}</a></tpl:EntryIf>
+    <tpl:EntryIf operator="or" show_comments="1" show_pings="1" has_attachment="1">
+      </p>
+    </tpl:EntryIf>
     </div>
     
     <tpl:EntriesFooter>

tag.html

 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html lang="{{tpl:BlogLanguage}}">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{{tpl:BlogLanguage}}" lang="{{tpl:BlogLanguage}}">
 <head>
   <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
   <meta name="MSSmartTagsPreventParsing" content="TRUE" />
+  <meta name="ROBOTS" content="{{tpl:BlogMetaRobots}}" />
   <title>{{tpl:MetaID}} - {{tpl:BlogName encode_html="1"}}</title>
   
   <link rel="top" href="{{tpl:BlogURL}}" title="{{tpl:lang Home}}" />
   <div id="content">
   
   <div id="content-info">
-    <h2>{{tpl:lang Keyword}} - {{tpl:MetaID}}</h2>
+    <h2>{{tpl:lang Tag}} - {{tpl:MetaID}}</h2>
     
     <p><a type="application/rss+xml" href="{{tpl:TagFeedURL type="rss2"}}"
     title="{{tpl:lang This tag's entries RSS feed}}" class="feed">{{tpl:lang Entries feed}}</a>

   </div>
   
   <tpl:Entries>
-    <div class="post {{tpl:EntryIfOdd}} {{tpl:EntryIfFirst}}">
+    <div class="post {{tpl:EntryIfOdd}} {{tpl:EntryIfFirst}}" lang="{{tpl:EntryLang}}" xml:lang="{{tpl:EntryLang}}">
     <!-- # New day date -->
     <tpl:DateHeader><p class="day-date">{{tpl:EntryDate}}</p></tpl:DateHeader>
     
     <tpl:MetaDataFooter></ul></tpl:MetaDataFooter>
     </tpl:EntryMetaData>
     
+    <!-- # --BEHAVIOR-- publicEntryBeforeContent -->
+    {{tpl:SysBehavior behavior="publicEntryBeforeContent"}}
+    
     <!-- # Entry with an excerpt -->
     <tpl:EntryIf extended="1">
       <div class="post-content">{{tpl:EntryExcerpt}}</div>
       <div class="post-content">{{tpl:EntryContent}}</div>
     </tpl:EntryIf>
     
+    <!-- # --BEHAVIOR-- publicEntryAfterContent -->
+    {{tpl:SysBehavior behavior="publicEntryAfterContent"}}
+    
     <!-- # Number of comments, trackbacks and attachments -->
-    <p class="post-info-co">
+    <tpl:EntryIf operator="or" show_comments="1" show_pings="1" has_attachment="1">
+      <p class="post-info-co">
+    </tpl:EntryIf>
     <tpl:EntryIf show_comments="1">
-    <a href="{{tpl:EntryURL}}#comments" class="comment_count">{{tpl:EntryCommentCount}}</a>
+      <a href="{{tpl:EntryURL}}#comments" class="comment_count">{{tpl:EntryCommentCount}}</a>
     </tpl:EntryIf>
     <tpl:EntryIf show_pings="1">
-    <a href="{{tpl:EntryURL}}#pings" class="ping_count">{{tpl:EntryTrackbackCount}}</a></tpl:EntryIf>
+      <a href="{{tpl:EntryURL}}#pings" class="ping_count">{{tpl:EntryPingCount}}</a></tpl:EntryIf>
     <tpl:EntryIf has_attachment="1">
-    <a href="{{tpl:EntryURL}}#attachments" class="attach_count">{{tpl:EntryAttachmentCount}}</a></tpl:EntryIf>
-    </p>
+      <a href="{{tpl:EntryURL}}#attachments" class="attach_count">{{tpl:EntryAttachmentCount}}</a></tpl:EntryIf>
+    <tpl:EntryIf operator="or" show_comments="1" show_pings="1" has_attachment="1">
+      </p>
+    </tpl:EntryIf>
     </div>
     
     <tpl:EntriesFooter>

tags.html

 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html lang="{{tpl:BlogLanguage}}">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{{tpl:BlogLanguage}}" lang="{{tpl:BlogLanguage}}">
 <head>
   <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
   <meta name="MSSmartTagsPreventParsing" content="TRUE" />
-  <title>{{tpl:lang Keywords}} - {{tpl:BlogName encode_html="1"}}</title>
+  <meta name="ROBOTS" content="{{tpl:BlogMetaRobots robots="NOINDEX"}}" />
+  <title>{{tpl:lang Tags}} - {{tpl:BlogName encode_html="1"}}</title>
   
   <link rel="top" href="{{tpl:BlogURL}}" title="{{tpl:lang Home}}" />
   <link rel="contents" href="{{tpl:BlogArchiveURL}}" title="{{tpl:lang Archives}}" />
   <div id="content">
   
   <div id="content-info">
-    <h2>{{tpl:lang Keywords}}</h2>
+    <h2>{{tpl:lang Tags}}</h2>
   </div>
   
   <div class="content-inner">

Wiki powered by Dokuwiki.