Add gitrepo template and use it in ChemDB published post.
authorW. Trevor King <wking@drexel.edu>
Wed, 13 Oct 2010 18:29:54 +0000 (14:29 -0400)
committerW. Trevor King <wking@drexel.edu>
Wed, 13 Oct 2010 18:38:39 +0000 (14:38 -0400)
commit880c97ba31289e1c898e8bc7ec4ab795c5594f02
tree14be170d9d692bf4059475ab467eead748ee990e
parent32deffbabae1cd509ac8c689c9032d71d3f80f45
Add gitrepo template and use it in ChemDB published post.

The template is based on ikiwiki's doc/templates/gitbranch.mdwn.

This turned out to be more complicated than I expected, mostly due to
the need for the template to both work and be appropriate Markdown.
The way to do this seems to be to use the htmlscrubber plugin to strip
the <TMPL_...> tags from the rendered version.  I'd disabled the
htmlscrubber plugin because it had been stripping out my MathML.  Now
it's re-enabled, but only for template/* posts.  It would be nice if
there was a way to force posts to evaluate themselves as templates
when rendered directly...

I also added a git tag for the gitrepo template to use.
ikiwiki.setup
posts/ChemDB_published.mdwn
tags/git.mdwn [new file with mode: 0644]
templates.mdwn [new file with mode: 0644]
templates/gitrepo.mdwn [new file with mode: 0644]