1Twenty Fifteen Template for DokuWiki by lainme <lainme993@gmail.com>, based on 2the Twenty Fifteen Theme for WordPress by WordPress.org & Automattic.com 3 4== Information == 5 61. RTL 7 8 RTL is supported by this template, but not fully checked. 9 102. IE compatibility 11 12 Not tested, may not work properly for IE<9. 13 143. Include hooks 15 16 Only 'meta.html' will be included. 17 184. Comments styling 19 20 Since I am using Disqus, styling for Discussion plugin or other comments plugin 21 is not considered. In short, comments styling is not included. 22 235. Closer look & feel with the original theme 24 25 By default, entries don't have footer information (publish date, author, 26 comments count, etc) and show within one single <article> block, due to the 27 different mechanism of WordPress and Dokuwiki. However, the relavent styling is 28 retained, so it's possible to get it back. 29 30 If you are using miniblog, use syntax '<miniblog twentyfifteen>' instead. 31 32 If you are using BlogTNG, create 'list.php' tpl file that produces the 33 following HTML for a single entry in blog lists, 34 35 <article class="entry"> 36 <header class="entry-header"> 37 <h1 class="entry-title"><a href="[POST-URL]">[POST-TITLE]</h1> 38 </header> 39 <div class="entry-content"> 40 [POST-CONTENT-WITHOUT-TITLE] 41 </div> 42 <footer class="entry-footer"> 43 <span class="entry-date">[POST-DATE]</span> 44 <span class="entry-catagory">[POST-CATEGORY]</span> 45 <span class="entry-tag">[POST-TAG]</span> 46 <span class="entry-author">[POST-AUTHOR]</span> 47 <span class="entry-comment">[POST-COMMENTS-COUNT]</span> 48 </footer> 49 </article> 50 51 and create 'entry.php' tpl file that produces the following HTML for individual 52 entry, 53 54 <article class="entry"> 55 <div class="entry-content"> 56 [POST-CONTENT-WITH-TITLE] 57 </div> 58 <footer class="entry-footer"> 59 <span class="entry-date">[POST-DATE]</span> 60 <span class="entry-catagory">[POST-CATEGORY]</span> 61 <span class="entry-tag">[POST-TAG]</span> 62 <span class="entry-author">[POST-AUTHOR]</span> 63 <span class="entry-comment">[POST-COMMENTS-COUNT]</span> 64 </footer> 65 </article> 66 67 Then add the following code to your custom css file, 68 69 .mode_show #twentyfifteen__entry, 70 .mode_show #twentyfifteen__entry-content { 71 margin-right: 0 !important; 72 margin-bottom: 0 !important; 73 padding: 0 !important; 74 border: 0 !important; 75 box-shadow: none !important; 76 } 77 78 .mode_show #twentyfifteen__entry { 79 background-color: @ini_background_site; 80 margin-left: 1px !important; 81 } 82 83 .mode_show #twentyfifteen__entry-content { 84 margin-top: 0 !important; 85 margin-left: 0 !important; 86 } 87 88 If you are using other plugins, check if the plugin supports tpl or modify the 89 code by yourself. 90 91== Copyright == 92 93This program is free software: you can redistribute it and/or modify 94it under the terms of the GNU General Public License as published by 95the Free Software Foundation, either version 2 of the License, or 96(at your option) any later version. 97 98This program is distributed in the hope that it will be useful, 99but WITHOUT ANY WARRANTY; without even the implied warranty of 100MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 101GNU General Public License for more details. 102 103You should have received a copy of the GNU General Public License along with 104this program. If not, see <http://www.gnu.org/licenses/>. 105 106== Third-party == 107 108Package: Normalize.css 109License: MIT 110Source: https://necolas.github.io/normalize.css 111 112Package: Genericons-Neue 113License: GPLv2 114Source: https://github.com/Automattic/genericons-neue 115