Dotclear


Ignore:
Timestamp:
04/28/14 14:09:34 (11 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Message:

Applying inheritance/extension template mechanism on currywurst templateset, step 5, closes #1933

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inc/public/default-templates/currywurst/404.html

    r2603 r2704  
    1 <!DOCTYPE html> 
    2 <html lang="{{tpl:BlogLanguage}}"> 
    3 <head> 
    4      <meta charset="UTF-8" /> 
     1{{tpl:extends parent="__layout.html"}} 
     2 
     3<tpl:Block name="head-title"> 
     4     <title>{{tpl:lang Document not found}} - {{tpl:BlogName encode_html="1"}}</title> 
     5</tpl:Block> 
     6 
     7<tpl:Block name="meta-robots"> 
    58     <meta name="ROBOTS" content="{{tpl:BlogMetaRobots robots="NOINDEX,NOARCHIVE"}}" /> 
     9</tpl:Block> 
    610 
    7      <title>{{tpl:lang Document not found}} - {{tpl:BlogName encode_html="1"}}</title> 
    8      <meta name="copyright" content="{{tpl:BlogCopyrightNotice encode_html="1"}}" /> 
    9      <meta name="author" content="{{tpl:BlogEditor encode_html="1"}}" /> 
    10  
    11      <link rel="schema.dc" href="http://purl.org/dc/elements/1.1/" /> 
     11<tpl:Block name="dc-entry"> 
    1212     <meta property="dc.title" lang="{{tpl:BlogLanguage}}" content="{{tpl:lang Document not found}} - {{tpl:BlogName encode_html="1"}}" /> 
    1313     <meta property="dc.language" content="{{tpl:BlogLanguage}}" /> 
    14      <meta property="dc.publisher" content="{{tpl:BlogEditor encode_html="1"}}" /> 
    15      <meta property="dc.rights" content="{{tpl:BlogCopyrightNotice encode_html="1"}}" /> 
    16      <meta property="dc.type" content="text" /> 
    17      <meta property="dc.format" content="text/html" /> 
     14</tpl:Block> 
    1815 
     16<tpl:Block name="head-linkrel"> 
    1917     <link rel="top" href="{{tpl:BlogURL}}" title="{{tpl:lang Home}}" /> 
    2018     <link rel="contents" title="{{tpl:lang Archives}}" href="{{tpl:BlogArchiveURL}}" /> 
    2119     <link rel="alternate" type="application/atom+xml" title="Atom 1.0" href="{{tpl:BlogFeedURL type="atom"}}" /> 
     20</tpl:Block> 
    2221 
    23      {{tpl:include src="_head.html"}} 
    24 </head> 
    25 <body class="dc-404"> 
    26      <div id="page"> 
    27           {{tpl:include src="_top.html"}} 
     22<tpl:block name="body-tag"><body class="dc-404"></tpl:Block> 
    2823 
    29           <div id="wrapper"> 
     24<tpl:Block name="main-content"> 
     25     <div id="content-info"> 
     26          <h2>{{tpl:lang Document not found}}</h2> 
     27          <p>{{tpl:lang URL you've tried has typos, or the page has been deleted or moved.}}</p> 
     28     </div> 
    3029 
    31                <div id="main" role="main"> 
    32                     <div id="content"> 
    33  
    34                          <div id="content-info"> 
    35                               <h2>{{tpl:lang Document not found}}</h2> 
    36                               <p>{{tpl:lang URL you've tried has typos, or the page has been deleted or moved.}}</p> 
    37                          </div> 
    38  
    39                          <div class="content-inner"> 
    40                               <h3>{{tpl:lang Suggestions:}}</h3> 
    41                               <ul> 
    42                                    <li><a href="{{tpl:BlogURL}}">{{tpl:lang Go to homepage}}</a></li> 
    43                                    <li><a href="#search">{{tpl:lang Use search form}}</a></li> 
    44                                    <li><a href="{{tpl:BlogURL}}archive">{{tpl:lang Explore archives}}</a></li> 
    45                               </ul> 
    46                          </div> <!-- End #content-inner --> 
    47  
    48                     </div> <!-- End #content --> 
    49                </div> <!-- End #main --> 
    50  
    51                {{tpl:include src="_sidebar.html"}} 
    52  
    53           </div> <!-- End #wrapper --> 
    54  
    55           {{tpl:include src="_footer.html"}} 
    56      </div> <!-- End #page --> 
    57 </body> 
    58 </html> 
     30     <div class="content-inner"> 
     31          <h3>{{tpl:lang Suggestions:}}</h3> 
     32          <ul> 
     33               <li><a href="{{tpl:BlogURL}}">{{tpl:lang Go to homepage}}</a></li> 
     34               <li><a href="#search">{{tpl:lang Use search form}}</a></li> 
     35               <li><a href="{{tpl:BlogURL}}archive">{{tpl:lang Explore archives}}</a></li> 
     36          </ul> 
     37     </div> <!-- End #content-inner --> 
     38</tpl:Block> 
Note: See TracChangeset for help on using the changeset viewer.

Sites map