aboutsummaryrefslogtreecommitdiff
path: root/doc/todo/multiple_template_directories.mdwn
blob: 6d1632b4c4a0ba009068809cfe3d38e55a27beb3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
It would be nice to be able to override a single template without keeping a 
private copy of the entire template directory. 

a setup option like

   templatedirs => [ "my/dir", "/usr/share/ikiwiki/templates" ] 

ought to do the trick.

> Now that I look at the source, I see that ikiwiki already falls back to the 
> global dir when it cannot find a template. For me, this is good enough.
> And it is even documented in the man page. Sigh. I guess this could be 
> considered [[done]].  

I have a use case for this, a site composed of blogs and wikis, templates divided in three categories : common, blog and wiki. The only solution I found is maintaining hard links, being able to have multiple template dirs would obviously be better. -- Changaco