From: Simon McVittie Date: Mon, 27 Jul 2009 11:03:11 +0000 (+0100) Subject: Implement Will's suggestion X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/commitdiff_plain/7922eae32792c873159929c7fd05b6969a7144f8 Implement Will's suggestion --- 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