From 0633295ddface72beb9bba5a4432830bd7a167df Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Wed, 13 Oct 2010 15:38:07 -0400 Subject: [PATCH] Add gitrepo post announcing the gitrepo template. --- posts/gitrepo.mdwn | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 posts/gitrepo.mdwn diff --git a/posts/gitrepo.mdwn b/posts/gitrepo.mdwn new file mode 100644 index 0000000..686e73b --- /dev/null +++ b/posts/gitrepo.mdwn @@ -0,0 +1,20 @@ +I've added a [[templates/gitrepo]] template to make it easy to link to +my [[Git]] projects with [[rel-vcs]] links. It's based on ikiwiki's +[gitbranch][] template. + +It was a bit annoying to get the template into renderable Markdown +because the `` tags are not explanded when the gitrepo page +is being rendered in its own right. The solution was to use the +[htmlscrubber][] plugin with + + htmlscrubber_skip => "!templates/*", + +and to also exclude the unscrubbed page from the [[tags/git]] tag +inlines. I can't use the htmlscrubber plugin everywhere because it +scrubs out my [[MathML]] (see [[mdwn_itex]]). + +[gitbranch]: http://ikiwiki.info/templates/gitbranch/ +[htmlscrubber]: http://ikiwiki.info/plugins/htmlscrubber/ + +[[!tag tags/blogging]] +[[!tag tags/git]] -- 2.26.2