Dotclear

source: inc/public/default-templates/currywurst/category.html @ 2644:88b1b462c4d0

Revision 2644:88b1b462c4d0, 4.3 KB checked in by Anne Kozlika <kozlika@…>, 12 years ago (diff)

Currywurst templates: category.html some better classes and id --- Berlin Theme: styling category
+ some forgotten images in last commit.

Line 
1<!DOCTYPE html>
2<html lang="{{tpl:BlogLanguage}}">
3<head>
4     <meta charset="UTF-8" />
5     <meta name="ROBOTS" content="{{tpl:BlogMetaRobots robots="NOINDEX"}}" />
6
7     <title>{{tpl:CategoryTitle encode_html="1"}} - {{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:CategoryDescription cut_string="180" remove_html="1"}}" />
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:CategoryTitle encode_html="1"}} - {{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:CategoryDescription remove_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="top" href="{{tpl:BlogURL}}" title="{{tpl:lang Home}}" />
24     <link rel="contents" href="{{tpl:BlogArchiveURL}}" title="{{tpl:lang Archives}}" />
25
26     <tpl:Entries no_content="1">
27          <tpl:EntriesHeader>
28               <tpl:Pagination>
29                    <tpl:PaginationIf end="0">
30                         <link rel="prev" title="{{tpl:lang previous entries}}" href="{{tpl:PaginationURL offset="1"}}" />
31                    </tpl:PaginationIf>
32
33                    <tpl:PaginationIf start="0">
34                         <link rel="next" title="{{tpl:lang next entries}}" href="{{tpl:PaginationURL offset="-1"}}" />
35                    </tpl:PaginationIf>
36               </tpl:Pagination>
37          </tpl:EntriesHeader>
38
39          <link rel="chapter" href="{{tpl:EntryURL}}" title="{{tpl:EntryTitle encode_html="1"}}" />
40     </tpl:Entries>
41
42     <link rel="alternate" type="application/atom+xml" title="Atom 1.0" href="{{tpl:CategoryFeedURL type="atom"}}" />
43
44     {{tpl:include src="_head.html"}}
45</head>
46<body class="dc-category">
47     <div id="page">
48          {{tpl:include src="_top.html"}}
49
50          <div id="wrapper">
51
52               <div id="main" role="main">
53                    <div id="content">
54
55                         <div id="content-info">
56                              <h2>
57                                   <tpl:CategoryParents>
58                                        <a href="{{tpl:CategoryURL}}">{{tpl:CategoryTitle encode_html="1"}}</a> &rsaquo;
59                                   </tpl:CategoryParents>
60                                   {{tpl:CategoryTitle encode_html="1"}}
61                              </h2>
62
63                              <tpl:CategoryIf has_entries="1">
64                                   <ul class="content-info__feed">
65                                        <li><a type="application/atom+xml" href="{{tpl:CategoryFeedURL type="atom"}}"
66                                         title="{{tpl:lang This category's entries Atom feed}}" class="feed">{{tpl:lang Entries feed}}</a></li>
67
68                                        <tpl:SysIf operator="or" comments_active="1" pings_active="1">
69                                              <li><a type="application/atom+xml" href="{{tpl:CategoryFeedURL type="atom"}}/comments"
70                                              title="{{tpl:lang This category's comments Atom feed}}" class="feed">{{tpl:lang Comments feed}}</a></li>
71                                        </tpl:SysIf>
72                                   </ul>
73                              </tpl:CategoryIf>
74
75                              <div class="content-info__cat-desc">
76                                   {{tpl:CategoryDescription}}
77                              </div>
78
79
80                              <tpl:CategoryFirstChildren>
81                                   <tpl:CategoriesHeader>
82                                        <div id="subcategories" class="content-info__sub-cat">
83                                             <h3>{{tpl:lang Subcategories}}</h3>
84                                             <ul>
85                                   </tpl:CategoriesHeader>
86                                                  <li class="post-cat"><a href="{{tpl:CategoryURL}}">{{tpl:CategoryTitle encode_html="1"}}</a></li>
87                                   <tpl:CategoriesFooter>
88                                             </ul>
89                                        </div>
90                                   </tpl:CategoriesFooter>
91                              </tpl:CategoryFirstChildren>
92                         </div>
93
94                         <div class="content-inner">
95                              <tpl:Entries>
96                                   {{tpl:include src="_entry-short.html"}}
97
98                                   <tpl:EntriesFooter>
99                                        {{tpl:include src="_pagination.html"}}
100                                   </tpl:EntriesFooter>
101                              </tpl:Entries>
102                         </div> <!-- End #content-inner -->
103                    </div> <!-- End #content -->
104               </div> <!-- End #main -->
105
106               {{tpl:include src="_sidebar.html"}}
107
108          </div> <!-- End #wrapper -->
109
110          {{tpl:include src="_footer.html"}}
111     </div> <!-- End #page -->
112</body>
113</html>
Note: See TracBrowser for help on using the repository browser.

Sites map