Mercurial > defr > DualBlog
comparison templates/main.xml @ 11:ff57b45eda37
Changement profond de l'index. Utilisation des templates.
Dual Blog utilise maintenant intimement la libraire de templates
que l'on peut trouver sur http://hg.defr.org/defr/templates,
ce qui permet d'eviter de mixer du code PHP avec du HTML.
Accessoirement, on est aussi assurer d'avoir du XML valide,
puisque c'est l'API DOM qui est utilisée pour générer la
sortie.
author | Franck Deroche <webmaster@defr.org> |
---|---|
date | Wed, 24 Oct 2007 20:06:00 +0200 |
parents | |
children | c6d2b32e4992 |
comparison
equal
deleted
inserted
replaced
10:8f1125d27079 | 11:ff57b45eda37 |
---|---|
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> | |
2 <html xml:lang="fr" xmlns="http://www.w3.org/1999/xhtml" | |
3 xmlns:tr="http://defr.net/2007/template"> | |
4 <head> | |
5 <title /> | |
6 <link rel='StyleSheet' type='Text/CSS' href='/blog/css/comment.css' /> | |
7 <tr:possibleStyleSheets> | |
8 <link tr:toClone='true' type='text/css' media='screen' /> | |
9 </tr:possibleStyleSheets> | |
10 <link rel="alternate" type="application/atom+xml" title="Atom feed" href="/blog/dualblog.atom" /> | |
11 <link rel="alternate" type="application/rss+xml" title="RSS 2.0 feed" href="/blog/dualblog.rss" /> | |
12 <meta http-equiv='content-type' content='text/html; charset=utf-8' /> | |
13 <meta name='author' content='Franck Deroche' /> | |
14 <script type="Text/JavaScript" src="/blog/RollUp.js"></script> | |
15 </head> | |
16 | |
17 <body id="Main"> | |
18 <h1>Dual Blog : DeFr's Weblog</h1> | |
19 <div id="Posts" tr:id='Posts'> | |
20 <tr:calendarPrevNext /> | |
21 <tr:post tr:toClone='true' /> | |
22 <tr:calendarPrevNext /> | |
23 </div> | |
24 <div id="Adresse"> | |
25 <span>Sites visités</span> | |
26 </div> | |
27 <tr:links /> | |
28 <tr:sidebar /> | |
29 </body> | |
30 </html> |