Skip to content

Conversation

@ayamada
Copy link
Contributor

@ayamada ayamada commented Dec 17, 2012

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant