]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - templates/blogpost.tmpl
fairly complete support for outputting html 4.01 instead of xhtml
[git.ikiwiki.info.git] / templates / blogpost.tmpl
index 1b93adc14c69f1fb6c3e29830a0b30e4a3ed958e..c044f51b04c17d186f862f4315cedc9815f985c3 100644 (file)
@@ -1,12 +1,16 @@
 <form action="<TMPL_VAR CGIURL>" method="get">
 <div id="blogform">
 <TMPL_IF NAME="RSSURL">
-<a class="rssbutton" type="application/rss+xml" href="<TMPL_VAR NAME=RSSURL>">RSS</a>
+<a class="feedbutton" type="application/rss+xml" href="<TMPL_VAR NAME=RSSURL>">RSS</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" />
-<input type="submit" value="Edit" />
+<TMPL_IF NAME="ATOMURL">
+<a class="feedbutton" type="application/atom+xml" href="<TMPL_VAR NAME=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">
+<TMPL_VAR POSTFORMTEXT>
+<input name="title" size="40">
+<input type="submit" value="Edit">
 </div>
 </form>