<tpl:DateHeader>

This tag is inserted in to the template tag <tpl:Entries> and its content is displayed if an entry is the first entry of a day.

Exemple

This example shows the date if an entry is the first in the list, followed by title and the entry's content.

<tpl:Entries>
  <tpl:DateHeader>
    <p class="day-date">{{tpl:EntryDate}}</p>
  </tpl:DateHeader>
  <h2>{{tpl:EntryTitle}}</h2>
</tpl:Entries>

Balise similaire

Wiki powered by Dokuwiki.