X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/428d4065532f5c98aae362059c73d2cdec0ed541..d3f5b13a868476ed410da6334cba454ce3768c94:/doc/themes/discussion.mdwn diff --git a/doc/themes/discussion.mdwn b/doc/themes/discussion.mdwn index d01b7838a..2ac75764a 100644 --- a/doc/themes/discussion.mdwn +++ b/doc/themes/discussion.mdwn @@ -12,3 +12,46 @@ What is the process for merging a theme in Ikiwiki? It seems to me the [[Bootstrap theme|http://www2.tblein.eu/posts/How_to_have_a_nice_design_for_ikiwiki/]] could improve the options a lot... See the [[theme market]] for the links to the actual theme. -- [[anarcat]] + +> Step 1 is to not need two versions of page.tmpl to be maintained. +> This is, unfortunately, the reason why I have not pulled in the bootstrap +> theme yet. I recently made `` 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]]