aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2011-01-01 22:19:46 +0100
committerJoey Hess <joey@kitenet.net>2011-01-14 14:31:45 -0400
commit9c7d1c053f929b292cdc8e61a1d419afc0462794 (patch)
treeeb527f6b017f68faa9653e6220fe4c0fa6a81f96 /templates
parentcd3298ae35f61acc08f488f4fa658c0e880549e2 (diff)
downloadikiwiki-9c7d1c053f929b292cdc8e61a1d419afc0462794.tar
ikiwiki-9c7d1c053f929b292cdc8e61a1d419afc0462794.tar.gz
feedlink/blogpost templates: use class instead of id
There can be more than one feedlink group in a page, as well as (more rarely) multiple blog forms, and using the same id for all of them causes HTML validation errors. Replace the id with a class by the same name and adjust in-repository CSS. (cherry picked from commit 0c3b91e1f06fb357711cfa71d514f139cd8e04e3)
Diffstat (limited to 'templates')
-rw-r--r--templates/blogpost.tmpl2
-rw-r--r--templates/feedlink.tmpl2
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/blogpost.tmpl b/templates/blogpost.tmpl
index 754f24b4e..b9a3bc666 100644
--- a/templates/blogpost.tmpl
+++ b/templates/blogpost.tmpl
@@ -1,5 +1,5 @@
<form action="<TMPL_VAR CGIURL>" method="get">
-<div id="blogform">
+<div class="blogform">
<TMPL_IF RSSURL>
<a class="feedbutton" type="application/rss+xml" rel="alternate" title="<TMPL_VAR RSSDESC>" href="<TMPL_VAR RSSURL>">RSS</a>
</TMPL_IF>
diff --git a/templates/feedlink.tmpl b/templates/feedlink.tmpl
index fdad7f918..392871e03 100644
--- a/templates/feedlink.tmpl
+++ b/templates/feedlink.tmpl
@@ -1,4 +1,4 @@
-<div id="feedlink">
+<div class="feedlink">
<TMPL_IF RSSURL>
<a class="feedbutton" type="application/rss+xml" rel="alternate" title="<TMPL_VAR RSSDESC>" href="<TMPL_VAR RSSURL>">RSS</a>
</TMPL_IF>