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/index.html.tmpl
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/index.html.tmpl')
-rw-r--r--templates/index.html.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/index.html.tmpl b/templates/index.html.tmpl
index ef37cbf..92862a8 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>