1 I would like to contribute a theme I created and posted on github:
3 [[https://github.com/AntPortal/ikiwiked]]
5 For an example of the theme in action, see: [[https://antportal.com/wiki/]]
7 > Shouldn't we just make people post their themes in the [[themes]] page? Or maybe we should make a [[theme market]]? --[[anarcat]]
9 > I did just that. -- [[anarcat]]
11 What is the process for merging a theme in Ikiwiki? It seems to me the
12 [[Bootstrap theme|http://www2.tblein.eu/posts/How_to_have_a_nice_design_for_ikiwiki/]]
13 could improve the options a lot... See the [[theme market]] for the
14 links to the actual theme. -- [[anarcat]]
16 > Step 1 is to not need two versions of page.tmpl to be maintained.
17 > This is, unfortunately, the reason why I have not pulled in the bootstrap
18 > theme yet. I recently made `<TMPL_IF THEME_$NAME>` be available,
19 > so the page.tmpl could use that to do different things if the boostrap
20 > theme was enabled. --[[Joey]]
22 >> Would you reconsider? I've made [[this bootstrap theme|/forum/bootstrap_theme]] that works within the theme plugin without changing the `templatedir` configuration option. It seems that the `page.tmpl` I have in the subfolder `templates` takes precedence. Not sure what you meant by "two versions of page.tmpl", though. -- [[desci]]
28 Where should I put a custom theme other than `/usr/share/ikiwiki/themes/`?
30 I put `.pm` plugins on `~/.ikiwiki/Ikiwiki/Plugin` and it works well.
32 How would I go about not tampering with the root filesystem to install a theme?
34 Also, I have another question:
36 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:
39 /usr/share/ikiwiki/themes/
44 │ │ │ └── bootstrap.min.css
46 │ │ │ ├── bootstrap.js
47 │ │ │ └── bootstrap.min.js
49 │ │ ├── glyphicons-halflings-regular.eot
50 │ │ ├── glyphicons-halflings-regular.svg
51 │ │ ├── glyphicons-halflings-regular.ttf
52 │ │ ├── glyphicons-halflings-regular.woff
53 │ │ └── glyphicons-halflings-regular.woff2
60 **Edit:** no, it doesn't. When i change theme in the config to `my-theme`, the engine only uses the `templates` subfolder under `theme/my-theme`, and not `basewiki`. So the workaround is doing like [IkiStrap](https://github.com/gsliepen/ikistrap) proposed, suggesting the user to alter the `underlaydir` and `templatedir` configs instead of choosing a theme via the old fashioned `theme` config.
62 This feels more like an overhaul than a theme for me, could we clarify what is a theme, a template, an overhaul, a change to the look and feel, a change to the frontend, a change to the design, etc.?