Dotclear


Ignore:
Timestamp:
04/03/14 15:18:11 (11 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Children:
2694:1873a0e11790, 2699:326a89a8035e
Message:

Applying inheritance/extension template mechanism on currywurst templateset, step 4, addresses #1933

File:
1 edited

Legend:

Unmodified
Added
Removed
  • plugins/pages/default-templates/currywurst/page.html

    r2603 r2693  
    1 <!DOCTYPE html> 
    2 <html lang="{{tpl:BlogLanguage}}"> 
    3 <head> 
    4   <meta charset="UTF-8" /> 
    5   <meta name="ROBOTS" content="{{tpl:BlogMetaRobots}}" /> 
     1{{tpl:extends parent="post.html"}} 
    62 
    7   <title>{{tpl:EntryTitle encode_html="1"}} - {{tpl:BlogName encode_html="1"}}</title> 
    8   <meta name="description" lang="{{tpl:EntryLang}}" content="{{tpl:EntryContent full="1" encode_html="1" remove_html="1" cut_string="180"}}" /> 
    9   <meta name="copyright" content="{{tpl:BlogCopyrightNotice encode_html="1"}}" /> 
    10   <meta name="author" content="{{tpl:EntryAuthorCommonName encode_html="1"}}" /> 
    11   <meta name="date" content="{{tpl:EntryDate iso8601="1"}}" /> 
    12  
    13   <link rel="schema.dc" href="http://purl.org/dc/elements/1.1/" /> 
    14   <meta property="dc.title" content="{{tpl:EntryTitle encode_html="1"}}" /> 
    15   <meta property="dc.description" lang="{{tpl:EntryLang}}" content="{{tpl:EntryContent full="1" encode_html="1" remove_html="1" cut_string="180"}}" /> 
    16   <meta property="dc.creator" content="{{tpl:EntryAuthorCommonName encode_html="1"}}" /> 
    17   <meta property="dc.language" content="{{tpl:EntryLang}}" /> 
    18   <meta property="dc.publisher" content="{{tpl:BlogEditor encode_html="1"}}" /> 
    19   <meta property="dc.rights" content="{{tpl:BlogCopyrightNotice encode_html="1"}}" /> 
    20   <meta property="dc.date" content="{{tpl:EntryDate iso8601="1"}}" /> 
    21   <meta property="dc.type" content="text" /> 
    22   <meta property="dc.format" content="text/html" /> 
    23  
     3<tpl:Block name="head-linkrel"> 
    244  <link rel="top" href="{{tpl:BlogURL}}" title="{{tpl:lang Home}}" /> 
    255  <link rel="contents" href="{{tpl:BlogArchiveURL}}" title="{{tpl:lang Archives}}" /> 
     6  <link rel="alternate" type="application/atom+xml" title="Atom 1.0" href="{{tpl:BlogFeedURL type="atom"}}" /> 
     7</tpl:Block> 
    268 
    27   <link rel="alternate" type="application/atom+xml" title="Atom 1.0" href="{{tpl:BlogFeedURL type="atom"}}" /> 
     9<tpl:Block name="body-tag"><body class="dc-page"></tpl:Block> 
    2810 
    29   {{tpl:include src="_head.html"}} 
    30  
    31   <script type="text/javascript" src="{{tpl:BlogThemeURL}}/../default/js/post.js"></script> 
    32   <script type="text/javascript"> 
    33     //<![CDATA[ 
    34     var post_remember_str = '{{tpl:lang Remember me on this blog}}'; 
    35     //]]> 
    36   </script> 
    37 </head> 
    38 <body class="dc-page"> 
    39   <div id="page"> 
    40     {{tpl:EntryPingData}} 
    41  
    42     {{tpl:include src="_top.html"}} 
    43  
    44     <div id="wrapper"> 
    45  
    46       <div id="main"> 
    47         <div id="content"> 
    48  
    49           {{tpl:include src="_simple-entry.html"}} 
    50  
    51         </div> 
    52       </div> <!-- End #main --> 
    53  
    54       {{tpl:include src="_sidebar.html"}} 
    55  
    56     </div> <!-- End #wrapper --> 
    57  
    58     {{tpl:include src="_footer.html"}} 
    59   </div> <!-- End #page --> 
    60 </body> 
    61 </html> 
     11<tpl:Block name="main-content"> 
     12  {{tpl:include src="_simple-entry.html"}} 
     13</tpl:Block> 
Note: See TracChangeset for help on using the changeset viewer.

Sites map