mkogg.py: Fix 'self.get_mp4_metadata(self, source)'
[blog.git] / posts / gitrepo.mdwn
1 I've added a [[templates/gitrepo]] template to make it easy to link to
2 my [[Git]] projects with [[rel-vcs]] links.  It's based on ikiwiki's
3 [gitbranch][] template.
4
5 It was a bit annoying to get the template into renderable Markdown
6 because the `<TMPL_...>` tags are not explanded when the gitrepo page
7 is being rendered in its own right.  The solution was to use the
8 [htmlscrubber][] plugin with
9
10     htmlscrubber_skip => "!templates/*",
11
12 and to also exclude the unscrubbed page from the [[tags/git]] tag
13 inlines.  I can't use the htmlscrubber plugin everywhere because it
14 scrubs out my [[MathML]] (see [[mdwn_itex]]).
15
16 [gitbranch]: http://ikiwiki.info/templates/gitbranch/
17 [htmlscrubber]: http://ikiwiki.info/plugins/htmlscrubber/
18
19 [[!tag tags/blogging]]
20 [[!tag tags/git]]