Based on the Twenty Fifteen theme for WordPress
Compatible with DokuWiki
!Hrun, Frusterick Manners
This extension has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues.
RTL is supported by this template, but not fully checked.
Not tested, may not work properly for IE<9.
Only meta.html
will be included.
Since I am using Disqus, styling for Discussion plugin or other comments plugin is not considered. In short, comments styling is not included.
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.
Use the syntax
<miniblog twentyfifteen>
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; }
Check if the plugin supports tpl or modify the code by yourself.
Use the following URL to download this template:
Refer to template on how to install and use templates in DokuWiki.