Dotclear


Ignore:
Timestamp:
06/26/15 17:04:37 (10 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Message:

Apply extension/heritage templating system to mustek templateset, addresses #2099

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inc/public/default-templates/mustek/home.html

    r3009 r3017  
    1 <!DOCTYPE html> 
    2 <html lang="{{tpl:BlogLanguage}}"> 
    3 <head> 
    4   <meta charset="UTF-8" /> 
    5   <meta name="ROBOTS" content="{{tpl:BlogMetaRobots}}" /> 
    6  
    7   <title>{{tpl:BlogName encode_html="1"}}<tpl:PaginationIf start="0"> - {{tpl:lang page}} {{tpl:PaginationCurrent}}</tpl:PaginationIf></title> 
    8   <meta name="description" lang="{{tpl:BlogLanguage}}" content="{{tpl:BlogDescription cut_string="180" encode_html="1"}}<tpl:PaginationIf start="0"> - {{tpl:lang page}} {{tpl:PaginationCurrent}}</tpl:PaginationIf>" /> 
    9   <meta name="copyright" content="{{tpl:BlogCopyrightNotice encode_html="1"}}" /> 
    10   <meta name="author" content="{{tpl:BlogEditor encode_html="1"}}" /> 
    11   <meta name="date" content="{{tpl:BlogUpdateDate iso8601="1"}}" /> 
    12  
    13   <link rel="schema.dc" href="http://purl.org/dc/elements/1.1/" /> 
    14   <meta property="dc.title" lang="{{tpl:BlogLanguage}}" content="{{tpl:BlogName encode_html="1"}}<tpl:PaginationIf start="0"> - {{tpl:lang page}} {{tpl:PaginationCurrent}}</tpl:PaginationIf>" /> 
    15   <meta property="dc.description" lang="{{tpl:BlogLanguage}}" content="{{tpl:BlogDescription encode_html="1"}}" /> 
    16   <meta property="dc.language" content="{{tpl:BlogLanguage}}" /> 
    17   <meta property="dc.publisher" content="{{tpl:BlogEditor encode_html="1"}}" /> 
    18   <meta property="dc.rights" content="{{tpl:BlogCopyrightNotice encode_html="1"}}" /> 
    19   <meta property="dc.date" content="{{tpl:BlogUpdateDate iso8601="1"}}" /> 
    20   <meta property="dc.type" content="text" /> 
    21   <meta property="dc.format" content="text/html" /> 
    22  
    23   <link rel="contents" title="{{tpl:lang Archives}}" href="{{tpl:BlogArchiveURL}}" /> 
    24   <tpl:Categories> 
    25   <link rel="section" href="{{tpl:CategoryURL}}" title="{{tpl:CategoryTitle encode_html="1"}}" /> 
    26   </tpl:Categories> 
    27  
    28   <tpl:Entries no_content="1"> 
    29     <tpl:EntriesHeader> 
    30       <tpl:Pagination> 
    31         <tpl:PaginationIf end="0"> 
    32         <link rel="prev" title="{{tpl:lang previous entries}}" href="{{tpl:PaginationURL offset="1"}}" /> 
    33         </tpl:PaginationIf> 
    34  
    35         <tpl:PaginationIf start="0"> 
    36         <link rel="next" title="{{tpl:lang next entries}}" href="{{tpl:PaginationURL offset="-1"}}" /> 
    37         </tpl:PaginationIf> 
    38       </tpl:Pagination> 
    39     </tpl:EntriesHeader> 
    40  
    41     <link rel="chapter" href="{{tpl:EntryURL}}" title="{{tpl:EntryTitle encode_html="1"}}" /> 
    42   </tpl:Entries> 
    43  
    44   <link rel="alternate" type="application/atom+xml" title="Atom 1.0" href="{{tpl:BlogFeedURL type="atom"}}" /> 
    45   <link rel="EditURI" type="application/rsd+xml" title="RSD" href="{{tpl:BlogRSDURL}}" /> 
    46   <link rel="meta" type="application/xbel+xml" title="Blogroll" href="{{tpl:BlogrollXbelLink}}" /> 
    47  
    48   {{tpl:include src="_head.html"}} 
    49 </head> 
    50  
    51 <body class="dc-home"> 
    52 <div id="page"> 
    53 {{tpl:include src="_top.html"}} 
    54  
    55 <div id="wrapper"> 
    56  
    57 <div id="main" role="main"> 
    58   {{tpl:Breadcrumb}} 
    59   <div id="content"> 
    60   <tpl:Entries> 
    61     <div id="p{{tpl:EntryID}}" class="post {{tpl:EntryIfOdd}} {{tpl:EntryIfFirst}}" lang="{{tpl:EntryLang}}" role="article"> 
    62     <!-- # New day date --> 
    63     <tpl:DateHeader><p class="day-date">{{tpl:EntryDate}}</p></tpl:DateHeader> 
    64  
    65     <h2 class="post-title"><a 
    66     href="{{tpl:EntryURL}}">{{tpl:EntryTitle encode_html="1"}}</a></h2> 
    67  
    68     <p class="post-info">{{tpl:lang By}} {{tpl:EntryAuthorLink}} 
    69     {{tpl:lang on}} {{tpl:EntryDate}}, {{tpl:EntryTime}} 
    70     <tpl:EntryIf has_category="1"> 
    71     - <a href="{{tpl:EntryCategoryURL}}">{{tpl:EntryCategory encode_html="1"}}</a> 
    72     </tpl:EntryIf> 
    73     </p> 
    74  
    75     <tpl:EntryTags> 
    76     <tpl:TagsHeader><ul class="post-tags"></tpl:TagsHeader> 
    77     <li><a href="{{tpl:TagURL}}">{{tpl:TagID}}</a></li> 
    78     <tpl:TagsFooter></ul></tpl:TagsFooter> 
    79     </tpl:EntryTags> 
    80  
    81     <!-- # --BEHAVIOR-- publicEntryBeforeContent --> 
    82     {{tpl:SysBehavior behavior="publicEntryBeforeContent"}} 
    83  
    84     <!-- # Entry with an excerpt --> 
    85     <tpl:EntryIf extended="1"> 
    86       <div class="post-content">{{tpl:EntryExcerpt}}</div> 
    87       <p class="read-it"><a href="{{tpl:EntryURL}}" 
    88       title="{{tpl:lang Continue reading}} {{tpl:EntryTitle encode_html="1"}}">{{tpl:lang Continue 
    89       reading}}</a><span class="readmore-ellipsis">...</span></p> 
    90     </tpl:EntryIf> 
    91  
    92     <!-- # Entry without excerpt --> 
    93     <tpl:EntryIf extended="0"> 
    94       <div class="post-content">{{tpl:EntryContent}}</div> 
    95     </tpl:EntryIf> 
    96  
    97     <!-- # --BEHAVIOR-- publicEntryAfterContent --> 
    98     {{tpl:SysBehavior behavior="publicEntryAfterContent"}} 
    99  
    100     <!-- # Number of comments, trackbacks and attachments --> 
    101     <tpl:EntryIf operator="or" show_comments="1" show_pings="1" has_attachment="1"> 
    102       <p class="post-info-co"> 
    103     </tpl:EntryIf> 
    104     <tpl:EntryIf show_comments="1"> 
    105       <a href="{{tpl:EntryURL}}#comments" class="comment_count">{{tpl:EntryCommentCount}}</a> 
    106     </tpl:EntryIf> 
    107     <tpl:EntryIf show_pings="1"> 
    108       <a href="{{tpl:EntryURL}}#pings" class="ping_count">{{tpl:EntryPingCount}}</a></tpl:EntryIf> 
    109     <tpl:EntryIf has_attachment="1"> 
    110       <a href="{{tpl:EntryURL}}#attachments" class="attach_count">{{tpl:EntryAttachmentCount}}</a></tpl:EntryIf> 
    111     <tpl:EntryIf operator="or" show_comments="1" show_pings="1" has_attachment="1"> 
    112       </p> 
    113     </tpl:EntryIf> 
    114     </div> 
    115  
    116     <tpl:EntriesFooter> 
    117       <tpl:Pagination> 
    118         <p class="pagination"><tpl:PaginationIf end="0"><a href="{{tpl:PaginationURL offset="+1"}}" class="prev">&#171; 
    119         {{tpl:lang previous entries}}</a> - </tpl:PaginationIf> 
    120         {{tpl:lang page}} {{tpl:PaginationCurrent}} {{tpl:lang of}} {{tpl:PaginationCounter}} 
    121         <tpl:PaginationIf start="0"> - <a href="{{tpl:PaginationURL offset="-1"}}" class="next">{{tpl:lang next entries}} 
    122         &#187;</a></tpl:PaginationIf></p> 
    123       </tpl:Pagination> 
    124     </tpl:EntriesFooter> 
    125   </tpl:Entries> 
    126   </div> 
    127 </div> <!-- End #main --> 
    128  
    129 <div id="sidebar" role="complementary"> 
    130   <div id="blognav"> 
    131     {{tpl:Widgets type="nav"}} 
    132   </div> <!-- End #blognav --> 
    133  
    134   <div id="blogextra"> 
    135     {{tpl:Widgets type="extra"}} 
    136   </div> <!-- End #blogextra --> 
    137 </div> 
    138  
    139 </div> <!-- End #wrapper --> 
    140  
    141 {{tpl:include src="_footer.html"}} 
    142 </div> <!-- End #page --> 
    143 </body> 
    144 </html> 
     1{{tpl:extends parent="__layout.html"}} 
Note: See TracChangeset for help on using the changeset viewer.

Sites map