DokuWiki

It's better when it's simple

User Tools

Site Tools


template:twentyfifteen

Twenty Fifteen Template

Compatible with DokuWiki

  • 2017-02-19 "Frusterick Manners" yes
  • 2016-06-26 "Elenor Of Tsort" unknown
  • 2015-08-10 "Detritus" unknown
  • 2014-09-29 "Hrun" no

template Based on the Twenty Fifteen theme for WordPress

Last updated on
2017-04-17
Repository
Source

Tagged with blog, responsive, sidebar, wordpress

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.

Sites using this Template

template/twentyfifteen.txt · Last modified: 2017-10-14 00:07 by Aleksandr