]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blob - doc/themes/discussion.mdwn
Forgot to add the main folder
[git.ikiwiki.info.git] / doc / themes / discussion.mdwn
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 ---
24 I have a question.
26 Where should I put a custom theme other than `/usr/share/ikiwiki/themes/`?
28 I put `.pm` plugins on `~/.ikiwiki/Ikiwiki/Plugin` and it works well.
30 How would I go about not tampering with the root filesystem to install a theme?
32 --[[desci]]
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:
38 ```
39 /usr/share/ikiwiki/themes/
40 └── my-theme/
41     ├── bootstrap/
42     │   └── bootstrap.min.css
43     ├── js/
44     │   ├── bootstrap.js
45     │   └── bootstrap.min.js
46     ├── fonts/
47     │   ├── glyphicons-halflings-regular.eot
48     │   ├── glyphicons-halflings-regular.svg
49     │   ├── glyphicons-halflings-regular.ttf
50     │   ├── glyphicons-halflings-regular.woff
51     │   └── glyphicons-halflings-regular.woff2
52     ├── index.mdwn
53     └── templates/
54         ├── page.tmpl
55         └── whatever.tmpl
56 ```
58 --[[desci]]