aboutsummaryrefslogtreecommitdiff
path: root/doc/todo/make_localstyle__44___pagetemplate__44___edittemplate_more_similar__63__.mdwn
diff options
context:
space:
mode:
authorhttp://anastigmatix.net/ <http://anastigmatix.net/@web>2014-09-30 16:16:31 -0400
committeradmin <admin@branchable.com>2014-09-30 16:16:31 -0400
commit0f161466681edb38a1ff8fc94ab4dc6ec85577f8 (patch)
tree93a3cba791a1f9324759aabf7867f8aca3247590 /doc/todo/make_localstyle__44___pagetemplate__44___edittemplate_more_similar__63__.mdwn
parent4d96895e41be3d446c418f9c04f1dab93e66a4d3 (diff)
downloadikiwiki-0f161466681edb38a1ff8fc94ab4dc6ec85577f8.tar
ikiwiki-0f161466681edb38a1ff8fc94ab4dc6ec85577f8.tar.gz
a wish for more from pagetemplate
Diffstat (limited to 'doc/todo/make_localstyle__44___pagetemplate__44___edittemplate_more_similar__63__.mdwn')
-rw-r--r--doc/todo/make_localstyle__44___pagetemplate__44___edittemplate_more_similar__63__.mdwn19
1 files changed, 19 insertions, 0 deletions
diff --git a/doc/todo/make_localstyle__44___pagetemplate__44___edittemplate_more_similar__63__.mdwn b/doc/todo/make_localstyle__44___pagetemplate__44___edittemplate_more_similar__63__.mdwn
new file mode 100644
index 000000000..78a3cf476
--- /dev/null
+++ b/doc/todo/make_localstyle__44___pagetemplate__44___edittemplate_more_similar__63__.mdwn
@@ -0,0 +1,19 @@
+If I'm reading the docs right, I count three different ways
+of associating some local styling information with a portion
+of a site:
+
+* [[plugins/localstyle]] uses the [[ikiwiki/subpage/LinkingRules]] to find the 'nearest' stylesheet
+* [[plugins/edittemplate]] uses a directive with a [[ikiwiki/PageSpec]] to indicate which
+ pages should get which templates
+* [[plugins/pagetemplate]] doesn't do a thing for you unless you shoehorn a
+ `pagetemplate` directive into every affected page.
+
+That last is the one that seems least useful. The [[ikiwiki/PageSpec]] approach seems
+most flexible.
+
+Would it be a bad thing to allow `pagetemplate` to work the way `edittmplate` does?
+Maybe just extend the existing directive? If it has a `pages` parameter, it specifies
+the template for the supplied [[ikiwiki/PageSpec]], otherwise it just affects the enclosing page
+as it does now?
+
+--Chap