Hstmp plugin #333

wants to merge 2 commits into from

1 participant


gitit's plugin system is very excellent.
but it cannot manipulate to outside of contents.
I want to insert from result of any haskell's code to any template's area.

this patch supply to handle of manipulate HStringTemplate variables.

sample: http://doc.tir.ne.jp/_showraw/gitit/patch/hstmp-plugin/ParentLink.hs
this module provide to $parentlink$ HStringTemplate variable.
I wrote to $parentlink$ in *.st files, and that replace to /path/to/pages link.
see this page header area http://doc.tir.ne.jp/gitit/patch/hstmp-plugin/ParentLink.hs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment