diff options
author | Simon McVittie <smcv@ http://smcv.pseudorandom.co.uk/> | 2009-07-27 12:03:11 +0100 |
---|---|---|
committer | Simon McVittie <smcv@ http://smcv.pseudorandom.co.uk/> | 2009-07-27 12:03:11 +0100 |
commit | 7922eae32792c873159929c7fd05b6969a7144f8 (patch) | |
tree | b840826832c213bd5bccdcb5c8dc5380997dc802 /doc/todo/source_link.mdwn | |
parent | 9a714e5f445e0a8f96caa9aeb0977d40839dacce (diff) | |
download | ikiwiki-7922eae32792c873159929c7fd05b6969a7144f8.tar ikiwiki-7922eae32792c873159929c7fd05b6969a7144f8.tar.gz |
Implement Will's suggestion
Diffstat (limited to 'doc/todo/source_link.mdwn')
-rw-r--r-- | doc/todo/source_link.mdwn | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/todo/source_link.mdwn b/doc/todo/source_link.mdwn index 6abfea55c..813e061eb 100644 --- a/doc/todo/source_link.mdwn +++ b/doc/todo/source_link.mdwn @@ -9,7 +9,7 @@ I just implemented this. There is one [[patch]] to the default page template, a > by loading the index with IkiWiki::loadindex, like [[plugins/goto]] does? > --[[smcv]] -[[!template id=gitbranch branch=smcv/getsource +[[!template id=gitbranch branch=smcv/ready/getsource author="[[Will]]/[[smcv]]"]] >> I've applied the patch below in a git branch, fixed my earlier criticism, @@ -27,6 +27,8 @@ I just implemented this. There is one [[patch]] to the default page template, a >>> That looks like a nice set of fixes. One more that might be worthwhile: instead of reading the page source into a var, and then writing it out later, it might be nice to just >>> `print readfile(srcfile(pagesources{$page}));` at the appropriate point. -- [[Will]] +>>>> OK, I've committed that. --[[smcv]] + ---- diff --git a/templates/page.tmpl b/templates/page.tmpl |