Table of Contents
Twenty Fifteen Template
Compatible with DokuWiki
- 2022-07-31 "Igor" unknown
- 2020-07-29 "Hogfather" unknown
- 2018-04-22 "Greebo" unknown
- 2017-02-19 "Frusterick Manners" yes
Information
RTL
RTL is supported by this template, but not fully checked.
IE compatibility
Not tested, may not work properly for IE<9.
Include hooks
Only meta.html
will be included.
Comments styling
Since I am using Disqus, styling for Discussion plugin or other comments plugin is not considered. In short, comments styling is not included.
Closer look & feel with the original theme
By default, entries don't have footer information (publish date, author, comments count, etc) and show within one single <article>
block, due to the different mechanism of WordPress and DokuWiki. However, the relavent styling is retained, so it's possible to get it back.
Miniblog plugin
Use the syntax
<miniblog twentyfifteen>
BlogTNG plugin
Create list.php
tpl file to produce the following HTML for a single entry in blog lists,
<article class="entry"> <header class="entry-header"> <h1 class="entry-title"><a href="[POST-URL]">[POST-TITLE]</h1> </header> <div class="entry-content"> [POST-CONTENT-WITHOUT-TITLE] </div> <footer class="entry-footer"> <span class="entry-date">[POST-DATE]</span> <span class="entry-catagory">[POST-CATEGORY]</span> <span class="entry-tag">[POST-TAG]</span> <span class="entry-author">[POST-AUTHOR]</span> <span class="entry-comment">[POST-COMMENTS-COUNT]</span> </footer> </article>
Create entry.php
tpl file to produce the following HTML for individual entry,
<article class="entry"> <div class="entry-content"> [POST-CONTENT-WITH-TITLE] </div> <footer class="entry-footer"> <span class="entry-date">[POST-DATE]</span> <span class="entry-catagory">[POST-CATEGORY]</span> <span class="entry-tag">[POST-TAG]</span> <span class="entry-author">[POST-AUTHOR]</span> <span class="entry-comment">[POST-COMMENTS-COUNT]</span> </footer> </article>
Then add the following code to your custom css file,
.mode_show #twentyfifteen__entry, .mode_show #twentyfifteen__entry-content { margin-left: 0 !important; margin-right: 0 !important; margin-bottom: 0 !important; padding: 0 !important; border: 0 !important; box-shadow: none !important; } .mode_show #twentyfifteen__entry { background-color: @ini_background_site; } .mode_show #twentyfifteen__entry-content { margin-top: 0 !important; }
Other plugins
Check if the plugin supports tpl or modify the code by yourself.
Download and Install
Use the following URL to download this template:
Refer to template on how to install and use templates in DokuWiki.