1 Twenty Fifteen Template for DokuWiki by lainme <lainme993@gmail.com>, based on 2 the Twenty Fifteen Theme for WordPress by WordPress.org & Automattic.com 3 4 == Information == 5 6 1. RTL 7 8 RTL is supported by this template, but not fully checked. 9 10 2. IE compatibility 11 12 Not tested, may not work properly for IE<9. 13 14 3. Include hooks 15 16 Only 'meta.html' will be included. 17 18 4. 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 23 5. 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 93 This program is free software: you can redistribute it and/or modify 94 it under the terms of the GNU General Public License as published by 95 the Free Software Foundation, either version 2 of the License, or 96 (at your option) any later version. 97 98 This program is distributed in the hope that it will be useful, 99 but WITHOUT ANY WARRANTY; without even the implied warranty of 100 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 101 GNU General Public License for more details. 102 103 You should have received a copy of the GNU General Public License along with 104 this program. If not, see <http://www.gnu.org/licenses/>. 105 106 == Third-party == 107 108 Package: Normalize.css 109 License: MIT 110 Source: https://necolas.github.io/normalize.css 111 112 Package: Genericons-Neue 113 License: GPLv2 114 Source: https://github.com/Automattic/genericons-neue 115