Compatible with DokuWiki
Similar to dokukit
A dokuwiki template that imitates the new KIT design introduced in August 2020.
For the old KIT-design see dokukit.
Features:
Either install automatically via Dokuwikis admin interface or install by cloning
git clone https://github.com/particleKIT/dokuKITv2.git dokukitv2
into the lib/tpl
directory of you dokuwiki instance and then enabling in the admin interface (check file permissions!).
file
for the menu
-option in the admin panelmenusite
config in the admin panel<MENU> …JSON…</MENU>
level1..3
that specify menu point on the respective leveln+1
that should be associated with those of level n
need to have the same key (see example below):page#example
) to make them unique again:page?key=value#anchor
)<MENU> { "level1": { ":start": "Startpage", ":staff": "Staff", ":research": "Research" }, "level2": { ":staff": { ":staff:profs" : "Principal Investigators", ":staff:students" : "Students" }, ":research": { ":research:pubs" : "Publications", ":research:these" : "Theses" } }, "level3": { ":staff:profs": { ":profs:erika.mustermfrau": "Prof. Dr. Erika Musterfrau", ":profs:max.mustermann": "Prof. Dr. Max Mustermann" }, ":research:pubs": { "https://preprint.server.de": "Preprints", "https://journal.server.de": "Peer Review" }, ":research:these": { ":research:theses:phd": "PhD Theses", ":research:theses:dipl": "Diploma Theses" } } } </MENU>
The “level4
” which is sometimes used in the original KIT design is not supported.
If you get a JSON parser error, consider using a JSON online parser to get a more meaningful error message.
index
for the menu
-option in the admin panelcleanindexlist