From 7922eae32792c873159929c7fd05b6969a7144f8 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Mon, 27 Jul 2009 12:03:11 +0100 Subject: [PATCH] Implement Will's suggestion --- doc/todo/source_link.mdwn | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- 2.26.2