wiki:arctic_customization
Table of Contents
Arctic customization
The Kuo Lab Wiki uses the arctic template as the basis for the customized temple. The inclusion of a sidebar is the main reason for us to choose this template. The customizations include:
main.php
Add
<?php /*google analytics code; chkuo; 2010/12/06*/ @include(dirname(__FILE__).'/analytics.script')?>
before the </head>
tag to include Google Analytics codes.
analytics.script
Add this file to the template directory:
<!-- Google tag (gtag.js) --> <script async src="https://www.googletagmanager.com/gtag/js?id=G-48KMGESLGF"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-48KMGESLGF'); </script>
footer.html
Modify the footer.html for a cleaner look:
<?php /** * Example footer include * * This file shows you how to use the include hooks. However I recommend to * create your own complete new template instead. */ ?> <div align="center" class="footerinc"> <!-- start of custom code by chkuo; 2010/12/06 --> <a target="_blank" href="<?php echo DOKU_BASE?>feed.php" title="Recent changes RSS feed"><img src="<?php echo DOKU_TPL?>images/button-rss.png" width="80" height="15" alt="Recent changes RSS feed" border="0" /></a> <?php tpl_license('button', true)?> <a target="_blank" href="http://validator.w3.org/check/referer" title="Valid XHTML 1.0"><img src="<?php echo DOKU_TPL?>images/button-xhtml.png" width="80" height="15" alt="Valid XHTML 1.0" border="0" /></a> <a target="_blank" href="http://jigsaw.w3.org/css-validator/check/referer" title="Valid CSS"><img src="<?php echo DOKU_TPL?>images/button-css.png" width="80" height="15" alt="Valid CSS" border="0" /></a> <a target="_blank" href="http://wiki.splitbrain.org/wiki:dokuwiki" title="Driven by DokuWiki"><img src="<?php echo DOKU_TPL?>images/button-dw.png" width="80" height="15" alt="Driven by DokuWiki" border="0" /></a> <!-- end of custom code by chkuo; 2010/12/06 --> </div>
print.css
Add
/* start of custom style; chkuo; 2010/12/06 */ strong { font-style:normal; font-weight: bold; } em { font-style:italic; text-decoration: none; } em.u { font-style:normal; text-decoration: underline; } /* end of custom style; chkuo; 2010/12/06 */
to print Bold Text, Italic Text, and Underlined Text correctly
wiki/arctic_customization.txt · Last modified: 2023/05/12 10:57 by chkuo