Dotclear

Changeset 2668:3d0ad13e89b4


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

No more " - " after "home" link in navigation widget. So long and die hard, welcome modern CSS \o/

Files:
4 edited

Legend:

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

    r2603 r2668  
    11<div id="sidebar" role="complementary"> 
     2     <tpl:Block name="sidebar"> 
    23     <div id="blognav"> 
    34          {{tpl:Widgets type="nav"}} 
     
    67          {{tpl:Widgets type="extra"}} 
    78     </div> <!-- End #blogextra --> 
     9     </tpl:Block>   <!-- sidebar --> 
    810</div> 
  • inc/public/default-templates/currywurst/home.html

    r2603 r2668  
    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 <body class="dc-home <tpl:SysIf current_mode="default">dc-home-first</tpl:SysIf>"> 
    51      <div id="page"> 
    52           {{tpl:include src="_top.html"}} 
    53  
    54           <div id="wrapper"> 
    55  
    56                <div id="main" role="main"> 
    57                     <div id="content"> 
    58  
    59                          <tpl:Entries> 
    60  
    61                               <!-- First page --> 
    62                               <tpl:SysIf current_mode="default"> 
    63                                    <tpl:LoopPosition start="1" length="1"> 
    64                                         {{tpl:include src="_entry-full.html"}} 
    65                                    </tpl:LoopPosition> 
    66  
    67                                    <tpl:LoopPosition start="2"> 
    68                                         {{tpl:include src="_entry-short.html"}} 
    69                                    </tpl:LoopPosition> 
    70                               </tpl:SysIf> 
    71  
    72                               <!-- Next pages --> 
    73                               <tpl:SysIf current_mode="!default"> 
    74                                    {{tpl:include src="_entry-short.html"}} 
    75                               </tpl:SysIf> 
    76  
    77                               <!-- Pagination --> 
    78                               <tpl:EntriesFooter> 
    79                                    {{tpl:include src="_pagination.html"}} 
    80                               </tpl:EntriesFooter> 
    81  
    82                          </tpl:Entries> 
    83  
    84                     </div> <!-- End #content --> 
    85                </div> <!-- End #main --> 
    86  
    87                {{tpl:include src="_sidebar.html"}} 
    88  
    89           </div> <!-- End #wrapper --> 
    90  
    91           {{tpl:include src="_footer.html"}} 
    92      </div> <!-- End #page --> 
    93 </body> 
    94 </html> 
     1{{tpl:extends parent="__layout.html"}} 
  • inc/public/default-templates/currywurst/post.html

    r2603 r2668  
    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="__layout.html"}} 
    62 
    7      <title>{{tpl:EntryTitle encode_html="1"}} - {{tpl:BlogName encode_html="1"}}</title> 
     3<tpl:Block name="head-title">{{tpl:EntryTitle encode_html="1"}} - {{tpl:BlogName encode_html="1"}}</tpl:Block> 
     4 
     5<tpl:Block name="head-meta"> 
    86     <meta name="description" lang="{{tpl:EntryLang}}" content="{{tpl:EntryContent full="1" encode_html="1" remove_html="1" cut_string="180"}}" /> 
    97     <meta name="copyright" content="{{tpl:BlogCopyrightNotice encode_html="1"}}" /> 
    108     <meta name="author" content="{{tpl:EntryAuthorCommonName encode_html="1"}}" /> 
    119     <meta name="date" content="{{tpl:EntryDate iso8601="1"}}" /> 
     10</tpl:Block> 
    1211 
     12<tpl:Block name="head-dc"> 
    1313     <link rel="schema.dc" href="http://purl.org/dc/elements/1.1/" /> 
    1414     <meta property="dc.title" content="{{tpl:EntryTitle encode_html="1"}}" /> 
     
    2121     <meta property="dc.type" content="text" /> 
    2222     <meta property="dc.format" content="text/html" /> 
     23</tpl:Block> 
    2324 
     25<tpl:Block name"head-linkrel"> 
    2426     <link rel="top" href="{{tpl:BlogURL}}" title="{{tpl:lang Home}}" /> 
    2527     <link rel="contents" href="{{tpl:BlogArchiveURL}}" title="{{tpl:lang Archives}}" /> 
    26  
    2728     <tpl:EntryNext><link rel="next" href="{{tpl:EntryURL}}" title="{{tpl:EntryTitle encode_html="1"}}" /></tpl:EntryNext> 
    2829     <tpl:EntryPrevious><link rel="prev" href="{{tpl:EntryURL}}" title="{{tpl:EntryTitle encode_html="1"}}" /></tpl:EntryPrevious> 
     30     <link rel="alternate" type="application/atom+xml" title="Atom 1.0" href="{{tpl:BlogFeedURL type="atom"}}" /> 
     31</tpl:Block> 
    2932 
    30      <link rel="alternate" type="application/atom+xml" title="Atom 1.0" href="{{tpl:BlogFeedURL type="atom"}}" /> 
    31  
    32      {{tpl:include src="_head.html"}} 
     33<tpl:Block name="html-head"> 
     34     {{tpl:parent}} 
    3335 
    3436     <script type="text/javascript" src="{{tpl:BlogThemeURL}}/../default/js/post.js"></script> 
     
    3840          //]]> 
    3941     </script> 
    40 </head> 
     42</tpl:Block> 
     43 
     44<tpl:Block name="html-body"> 
    4145<body class="dc-post"> 
    4246     <div id="page"> 
     
    8084     </div> <!-- End #page --> 
    8185</body> 
    82 </html> 
     86</tpl:Block> 
  • plugins/widgets/_widgets_functions.php

    r2667 r2668  
    5353               '<li class="topnav-home">'. 
    5454               '<a href="'.$core->blog->url.'">'.__('Home').'</a>'. 
    55                '<span> - </span></li>'; 
     55               '</li>'; 
    5656          } 
    5757 
Note: See TracChangeset for help on using the changeset viewer.

Sites map