po: guard against reimportation
[ikiwiki.git] / templates / blogpost.tmpl
index 22253d60bcf828b4c37ac08d38f0fb930c6b669b..5a31e3f8a6a3e833985242e006117db772aa4531 100644 (file)
@@ -1,9 +1,16 @@
 <form action="<TMPL_VAR CGIURL>" method="get">
 <div id="blogform">
+<TMPL_IF RSSURL>
+<a class="feedbutton" type="application/rss+xml" href="<TMPL_VAR RSSURL>">RSS</a>
+</TMPL_IF>
+<TMPL_IF ATOMURL>
+<a class="feedbutton" type="application/atom+xml" href="<TMPL_VAR ATOMURL>">Atom</a>
+</TMPL_IF>
 <input type="hidden" name="do" value="blog" />
 <input type="hidden" name="from" value="<TMPL_VAR ROOTPAGE>" />
 <input type="hidden" name="subpage" value="1" />
-Add a new post titled: <input name="title" size="40" />
+<TMPL_VAR POSTFORMTEXT>
+<input name="title" size="40" />
 <input type="submit" value="Edit" />
 </div>
 </form>