Dotclear

source: plugins/dcSiteMap/default-templates/site_map.html @ 3169

Revision 3169, 3.1 KB checked in by gaetan13, 10 years ago (diff)

Add a simple sitemap on your blog

Line 
1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{{tpl:BlogLanguage}}" lang="{{tpl:BlogLanguage}}">
4<head>
5  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
6  <meta name="MSSmartTagsPreventParsing" content="TRUE" />
7  <meta name="ROBOTS" content="{{tpl:BlogMetaRobots robots="NOINDEX,NOARCHIVE"}}" />
8 
9  <title>{{tpl:SiteMapPageTitle encode_html="1"}} - {{tpl:BlogName encode_html="1"}}</title>
10  <meta name="copyright" content="{{tpl:BlogCopyrightNotice encode_html="1"}}" />
11  <meta name="author" content="{{tpl:BlogEditor encode_html="1"}}" />
12 
13  <link rel="schema.dc" href="http://purl.org/dc/elements/1.1/" />
14  <meta name="dc.title" lang="{{tpl:BlogLanguage}}" content="{{tpl:SiteMapPageTitle}} - {{tpl:BlogName encode_html="1"}}" />
15  <meta name="dc.language" content="{{tpl:BlogLanguage}}" />
16  <meta name="dc.publisher" content="{{tpl:BlogEditor encode_html="1"}}" />
17  <meta name="dc.rights" content="{{tpl:BlogCopyrightNotice encode_html="1"}}" />
18  <meta name="dc.type" content="text" />
19  <meta name="dc.format" content="text/html" />
20 
21  <link rel="top" href="{{tpl:BlogURL}}" title="{{tpl:lang Home}}" />
22  <link rel="contents" title="{{tpl:lang Archives}}" href="{{tpl:BlogArchiveURL}}" />
23 
24  {{tpl:include src="_head.html"}}
25</head>
26
27<body class="dc-sitemap">
28<div id="page">
29{{tpl:include src="_top.html"}}
30
31<div id="wrapper">
32
33<div id="main">
34  <div id="content">
35 
36     <div id="content-info">
37     <h2>{{tpl:SiteMapPageTitle encode_html="1"}}</h2>
38     </div>
39 
40     <div class="content-inner">
41
42     <tpl:Entries no_content="1" no_category="1" lastn="0" sortby="title" order="asc">
43     <p><a href="{{tpl:EntryURL}}">{{tpl:EntryTitle encode_html="1"}}</a></p>
44     </tpl:Entries> 
45
46     <tpl:Categories level="1">
47     <h3><a href="{{tpl:CategoryURL}}">{{tpl:CategoryTitle encode_html="1"}}</a></h3>
48
49     <tpl:Entries no_content="1" lastn="0" sortby="title" order="asc">
50     <ul>
51          <li><a href="{{tpl:EntryURL}}">{{tpl:EntryTitle encode_html="1"}}</a></li>
52     </ul>
53     </tpl:Entries>
54
55     <tpl:CategoryFirstChildren>
56     <ul>
57          <li><a href="{{tpl:CategoryURL}}">{{tpl:CategoryTitle encode_html="1"}}</a>
58               <tpl:Entries no_content="1" lastn="0" sortby="title" order="asc">
59               <ul>
60                    <li><a href="{{tpl:EntryURL}}">{{tpl:EntryTitle encode_html="1"}}</a></li>
61               </ul>
62               </tpl:Entries>
63               <tpl:CategoryFirstChildren>
64               <ul>
65                    <li><a href="{{tpl:CategoryURL}}">{{tpl:CategoryTitle encode_html="1"}}</a>
66                         <tpl:Entries no_content="1" lastn="0" sortby="title" order="asc">
67                         <ul>
68                              <li><a href="{{tpl:EntryURL}}">{{tpl:EntryTitle encode_html="1"}}</a></li>
69                         </ul>
70                         </tpl:Entries>
71                    </li>
72               </ul>
73               </tpl:CategoryFirstChildren>
74          </li>
75     </ul>
76     </tpl:CategoryFirstChildren>
77
78     </tpl:Categories>
79     </div>
80 
81  </div> <!-- End #content -->
82</div> <!-- End #main -->
83
84<div id="sidebar">
85  <div id="blognav">
86    {{tpl:Widgets type="nav"}}
87  </div> <!-- End #blognav -->
88 
89  <div id="blogextra">
90    {{tpl:Widgets type="extra"}}
91  </div> <!-- End #blogextra -->
92</div>
93
94</div> <!-- End #wrapper -->
95
96{{tpl:include src="_footer.html"}}
97</div> <!-- End #page -->
98</body>
99</html>
Note: See TracBrowser for help on using the repository browser.

Sites map