aboutsummaryrefslogtreecommitdiff
path: root/doc/todo/Overlay_directory_for_pagetemplates.mdwn
diff options
context:
space:
mode:
Diffstat (limited to 'doc/todo/Overlay_directory_for_pagetemplates.mdwn')
-rw-r--r--doc/todo/Overlay_directory_for_pagetemplates.mdwn9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/todo/Overlay_directory_for_pagetemplates.mdwn b/doc/todo/Overlay_directory_for_pagetemplates.mdwn
new file mode 100644
index 000000000..c4f261d03
--- /dev/null
+++ b/doc/todo/Overlay_directory_for_pagetemplates.mdwn
@@ -0,0 +1,9 @@
+I am aware of the [[pagetemplate|/plugins/pagetemplate]] plugin, but I'd like to style my pages completely differently. Modifications in `/usr/share/ikiwiki` are not an option, and I'd rather not snapshot that directory and make my changes to the detached copy.
+
+Instead, I wonder whether it would be possible to create an overlay directory such that ikiwiki first looks for page templates there, and only goes to `/usr/share/ikiwiki` if the overlay does not satisfy the request.
+
+-----
+
+[[madduck]]: Update: I did try setting `templates` in `ikiwiki.setup` but could not get it to work. Then I found in the code that ikiwiki already checks that dir before the `/usr/share/ikiwiki` one, and tried it again, and now it works... sorry.
+
+Thus [[!taglink done]]. \ No newline at end of file