diff options
author | desci <desci@web> | 2016-04-08 22:27:44 -0400 |
---|---|---|
committer | admin <admin@branchable.com> | 2016-04-08 22:27:44 -0400 |
commit | d3f5b13a868476ed410da6334cba454ce3768c94 (patch) | |
tree | 25e327d42447a1fb4b5bdcf6b6b287a94c51b308 /doc/themes | |
parent | 4a6fa35bf4fea9928678f92726edc2ff80f236f8 (diff) | |
download | ikiwiki-d3f5b13a868476ed410da6334cba454ce3768c94.tar ikiwiki-d3f5b13a868476ed410da6334cba454ce3768c94.tar.gz |
Added two questions
Diffstat (limited to 'doc/themes')
-rw-r--r-- | doc/themes/discussion.mdwn | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/doc/themes/discussion.mdwn b/doc/themes/discussion.mdwn index 5c0766a06..2ac75764a 100644 --- a/doc/themes/discussion.mdwn +++ b/doc/themes/discussion.mdwn @@ -18,3 +18,40 @@ links to the actual theme. -- [[anarcat]] > theme yet. I recently made `<TMPL_IF THEME_$NAME>` be available, > so the page.tmpl could use that to do different things if the boostrap > theme was enabled. --[[Joey]] + +--- + +I have a question. + +Where should I put a custom theme other than `/usr/share/ikiwiki/themes/`? + +I put `.pm` plugins on `~/.ikiwiki/Ikiwiki/Plugin` and it works well. + +How would I go about not tampering with the root filesystem to install a theme? + +--[[desci]] + +Also, I have another question: + +I have a complex theme I'm working on, and it doesn't even have a `style.css`, because it is about editing `.tmpl` files and relying on the bootstrap files, so I want to know if the theme plugin will understand this structure: + +``` +└── my-theme/ + ├── bootstrap/ + │ └── bootstrap.min.css + ├── js/ + │ ├── bootstrap.js + │ └── bootstrap.min.js + ├── fonts/ + │ ├── glyphicons-halflings-regular.eot + │ ├── glyphicons-halflings-regular.svg + │ ├── glyphicons-halflings-regular.ttf + │ ├── glyphicons-halflings-regular.woff + │ └── glyphicons-halflings-regular.woff2 + ├── index.mdwn + └── templates/ + ├── page.tmpl + └── whatever.tmpl +``` + +--[[desci]] |