diff options
author | dakkar <dakkar@thenautilus.net> | 2009-08-31 19:01:55 +0200 |
---|---|---|
committer | dakkar <dakkar@thenautilus.net> | 2009-08-31 19:01:55 +0200 |
commit | 4fb741f96ded92e8fc87396229cebc8555f6879b (patch) | |
tree | 12702e3705fc3e50de76b314c8474ccc42915e27 /templates | |
parent | stylesheets, and better ReST conformance (diff) | |
download | thenautilus-4fb741f96ded92e8fc87396229cebc8555f6879b.tar.gz thenautilus-4fb741f96ded92e8fc87396229cebc8555f6879b.tar.bz2 thenautilus-4fb741f96ded92e8fc87396229cebc8555f6879b.zip |
graphic style!
added colors and rounded borders
added twitter and dopplr badges
Diffstat (limited to 'templates')
-rw-r--r-- | templates/du2html.xsl | 35 |
1 files changed, 33 insertions, 2 deletions
diff --git a/templates/du2html.xsl b/templates/du2html.xsl index 6d30510..22cf48c 100644 --- a/templates/du2html.xsl +++ b/templates/du2html.xsl @@ -144,7 +144,7 @@ <x:template match="/document"> <html xml:lang="{$language}" lang="{$language}"> <head> - <title><x:value-of select="title"/></title> + <title><x:value-of select="normalize-space(title)"/></title> <link rel="stylesheet" type="text/css" href="/layout.css" /> <link rel="stylesheet" type="text/css" href="/html4css1.css" /> <link rel="stylesheet" type="text/css" href="/content.css" /> @@ -193,11 +193,42 @@ <hr /> <a href="{wc:dst-uri-for('/contacts/')}"><x:apply-templates select="wc:title-for($language,$filename,'/contacts/')/node()" /></a> </div> + <!-- twitter --> + <div id="twtr-profile-widget"></div> + <script src="http://widgets.twimg.com/j/1/widget.js"></script> + <link href="http://widgets.twimg.com/j/1/widget.css" type="text/css" rel="stylesheet" /> + <script> + new TWTR.Widget({ + profile: true, + id: 'twtr-profile-widget', + loop: true, + width: 150, + height: 100, + theme: { + shell: { + background: '#2b687c', + color: '#eeeeee' + }, + tweets: { + background: '#b3dbe9', + color: '#444444', + links: '#1985b5' + } + } + }).render().setProfile('dakkar').start(); + </script> + <!-- dopplr --> + <div id="dopplr-blog-badge-for-dakkar"><script type="text/javascript" src="http://www.dopplr.com/blogbadge/script/519a00f0a79fd8c53a39657c86edcca5?div-id=dopplr-blog-badge-for-dakkar"></script></div> </div> <div id="push"></div> </div> <div id="footer"> - blah blah blah blah + <p class="license"> + <a rel="license" href="http://creativecommons.org/licenses/by-sa/2.5/it/"><img alt="Creative Commons License" style="border-width:0" src="http://i.creativecommons.org/l/by-sa/2.5/it/88x31.png" /></a> “<span xmlns:dc="http://purl.org/dc/elements/1.1/" href="http://purl.org/dc/dcmitype/Text" property="dc:title" rel="dc:type"><x:value-of select="normalize-space(/document/title)"/></span>” di <a xmlns:cc="http://creativecommons.org/ns#" href="mailto:dakkar@thenautilus.net" property="cc:attributionName" rel="cc:attributionURL">Gianni Ceccarelli</a> è distribuito sotto una licenza <a rel="license" href="http://creativecommons.org/licenses/by-sa/2.5/it/">Creative Commons By-SA 2.5 It</a>. + </p> + <p class="contacts"> + Per commenti, <a href="mailto:dakkar@thenautilus.net?subject={s:encode-uri(concat('Commenti su ',normalize-space(string(/document/title))),false)}">scrivetemi</a>. + </p> </div> </body> </html> |