summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Dibb <beandog@gentoo.org>2009-05-07 18:22:47 +0000
committerSteve Dibb <beandog@gentoo.org>2009-05-07 18:22:47 +0000
commit01a5037f4c2c891caaed860319ac155db254e488 (patch)
treef1de93914a9d487ccec16bf3dcaad8d24b92b69a /templates
parentadd link for atom feed (diff)
downloadplanet-01a5037f4c2c891caaed860319ac155db254e488.tar.gz
planet-01a5037f4c2c891caaed860319ac155db254e488.tar.bz2
planet-01a5037f4c2c891caaed860319ac155db254e488.zip
support custom faces and gravatars
Diffstat (limited to 'templates')
-rw-r--r--templates/index.html.tmpl2
-rw-r--r--templates/rss20.xml.tmpl2
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/index.html.tmpl b/templates/index.html.tmpl
index ef37cbf6..92862a82 100644
--- a/templates/index.html.tmpl
+++ b/templates/index.html.tmpl
@@ -109,7 +109,7 @@ a.k.a. <b><TMPL_VAR channel_username></b>
<table width="100%" style="table-layout:fixed"><tr><td>
<div class="entrycontent"><p>
<TMPL_IF channel_gravatar>
-<img class="face" src="http://www.gravatar.com/avatar/<TMPL_VAR channel_gravatar ESCAPE="HTML">.jpg?s=100&r=pg&d=http%3A%2F%2Fplanet.gentoo.org%2Fimages%2Ftux.png" alt="" align="right">
+<img class="face" src="http://www.gravatar.com/avatar/<TMPL_VAR channel_gravatar ESCAPE="HTML">.jpg?s=100&r=pg&d=http%3A%2F%2Fplanet.gentoo.org%2Fimages%2F<TMPL_IF channel_face><TMPL_VAR channel_face ESCAPE="HTML"><TMPL_ELSE>tux.png</TMPL_IF>" alt="" align="right">
</TMPL_IF>
<TMPL_VAR content>
</p>
diff --git a/templates/rss20.xml.tmpl b/templates/rss20.xml.tmpl
index 0754cf44..5ed28a93 100644
--- a/templates/rss20.xml.tmpl
+++ b/templates/rss20.xml.tmpl
@@ -13,7 +13,7 @@
<guid isPermaLink="false"><TMPL_VAR id ESCAPE="HTML"></guid>
<link><TMPL_VAR link ESCAPE="HTML"></link>
<TMPL_IF content>
- <description><TMPL_IF channel_gravatar>&lt;img src=&quot;http://www.gravatar.com/avatar/<TMPL_VAR channel_gravatar ESCAPE="HTML">.jpg?s=100&amp;r=pg&amp;d=http%3A%2F%2Fplanet.gentoo.org%2Fimages%2Ftux.png&quot; alt=&quot;&quot; align=&quot;right&quot; style=&quot;float: right;&quot;&gt;</TMPL_IF><TMPL_VAR content ESCAPE="HTML"></description>
+ <description><TMPL_IF channel_gravatar>&lt;img src=&quot;http://www.gravatar.com/avatar/<TMPL_VAR channel_gravatar ESCAPE="HTML">.jpg?s=100&amp;r=pg&amp;d=http%3A%2F%2Fplanet.gentoo.org%2Fimages%2F<TMPL_IF channel_face><TMPL_VAR channel_face ESCAPE="HTML"><TMPL_ELSE>tux.png</TMPL_IF>&quot; alt=&quot;&quot; align=&quot;right&quot; style=&quot;float: right;&quot;&gt;</TMPL_IF><TMPL_VAR content ESCAPE="HTML"></description>
</TMPL_IF>
<pubDate><TMPL_VAR date_822></pubDate>
<dc:creator><TMPL_VAR channel_name> (<TMPL_VAR channel_username>)</dc:creator>