Fix unicode support
Eelco Dolstra committed
Jul 25, 2013 at 11:59 UTC
eb51bb7428e12459a46303b7762d70ba0f56b58e
2 files changed
+2
-97
nixos-org/theme/config.ini
+2
-2
@@ -4,7 +4,7 @@
4
template_files:
5
atom.xml.xslt
6
foafroll.xml.xslt
7
- index.html.genshi
7
+ index.html.tmpl
8
opml.xml.xslt
9
rss10.xml.tmpl
10
rss20.xml.tmpl
@@ -13,4 +13,4 @@ bill_of_materials:
13
planet.css
14
images/feed-icon-10x10.png
15
images/logo.png
16
- images/venus.png
16
+ images/planet.png
nixos-org/theme/index.html.genshi
deleted
-95
@@ -1,95 +0,0 @@
1
-<html xmlns="http://www.w3.org/1999/xhtml"
2
- xmlns:py="http://genshi.edgewall.org/">
3
-
4
-<!--!
5
-### Fancy Planet HTML template, converted to Genshi.
6
-###
7
-### When combined with the stylesheet and images in the output/ directory
8
-### of the Planet source, this gives you a much prettier result than the
9
-### default examples template and demonstrates how to use the config file
10
-### to support things like faces
11
-###
12
-### For documentation on the more boring template elements, see
13
-### http://www.intertwingly.net/code/venus/docs/templates.html
14
--->
15
-
16
-<head>
17
-<title>$feed.config.name</title>
18
-<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
19
-<meta name="generator" content="$feed.generator"/>
20
-<link rel="stylesheet" href="planet.css" type="text/css"/>
21
-<link py:for="link in feed.links"
22
- py:if="link.type in ['application/atom+xml','application/rss+xml']"
23
- href="$link.href" rel="alternate" title="$link.title" type="$link.type"/>
24
-</head>
25
-
26
-<body>
27
-<h1>$feed.config.name</h1>
28
-
29
-<py:for each="entry in entries">
30
-
31
-<div class="channelgroup" py:strip="not entry.new_date">
32
-<h2 py:if="entry.new_date">$entry.new_date</h2>
33
-
34
-<div class="entrygroup" py:strip="not entry.new_feed">
35
-<h3 py:if="entry.new_feed"><a href="$entry.link" title="$entry.source.title">$entry.source.config.name</a></h3>
36
-
37
-<img py:if="entry.new_feed and entry.source.config.face" class="face" src="images/$entry.source.config.face" width="$entry.source.config.facewidth" height="$entry.source.config.faceheight" alt=""/>
38
-
39
-<h4 py:if="entry.title" lang="$entry.title_detail.language"><a href="$entry.link">$entry.title_detail.stream</a></h4>
40
-
41
-<div class="entry">
42
-<div class="content" py:choose="">
43
-<py:when test="entry.content">${entry.content[0].stream}</py:when>
44
-<py:when test="entry.summary_detail">${entry.summary_detail.stream}</py:when>
45
-</div>
46
-
47
-<p class="date"><py:if test="entry.author_detail and entry.author_detail.name">by $entry.author_detail.name at </py:if>$entry.updated</p>
48
-</div>
49
-
50
-</div>
51
-</div>
52
-
53
-</py:for>
54
-
55
-<div class="sidebar">
56
-<img src="images/logo.png" width="136" height="136" alt=""/>
57
-
58
-<h2>Subscriptions</h2>
59
-<ul>
60
-<li py:for="feed in feeds">
61
-<a py:for="link in feed.links" py:if="link.rel == 'self' and
62
- link.type in ['application/atom+xml','application/rss+xml']"
63
- href="$link.href" title="subscribe"><img src="images/feed-icon-10x10.png" alt="(feed)"/></a>
64
-<py:choose>
65
-<a py:when="feed.planet_message" href="$feed.link" class="message" title="$feed.planet_message">$feed.config.name</a>
66
-<a py:otherwise="1" href="$feed.link" title="$feed.title">$feed.config.name</a>
67
-</py:choose>
68
-</li>
69
-</ul>
70
-
71
-<p>
72
-<strong>Last updated:</strong><br/>
73
-$feed.updated<br/>
74
-<em>All times are UTC.</em><br/>
75
-<br/>
76
-Powered by:<br/>
77
-<a href="http://intertwingly.net/code/venus/"><img src="images/venus.png" width="80" height="15" alt="Planet Venus" border="0"/></a>
78
-</p>
79
-
80
-<p>
81
-<h2>Planetarium:</h2>
82
-<ul>
83
-<li><a href="http://www.planetapache.org/">Planet Apache</a></li>
84
-<li><a href="http://planet.freedesktop.org/">Planet freedesktop.org</a></li>
85
-<li><a href="http://planet.gnome.org/">Planet GNOME</a></li>
86
-<li><a href="http://planet.debian.net/">Planet Debian</a></li>
87
-<li><a href="http://planet.fedoraproject.org/">Planet Fedora</a></li>
88
-<li><a href="http://planets.sun.com/">Planet Sun</a></li>
89
-<li><a href="http://www.planetplanet.org/">more...</a></li>
90
-</ul>
91
-</p>
92
-</div>
93
-
94
-</body>
95
-</html>