wiki:arctic_customization
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
wiki:arctic_customization [2010/12/07 00:22] – [print.css] chkuo | wiki:arctic_customization [2023/05/12 10:57] (current) – [analytics.script] chkuo | ||
---|---|---|---|
Line 3: | Line 3: | ||
===== main.php ===== | ===== main.php ===== | ||
- | add | + | Add |
<code php> | <code php> | ||
<?php /*google analytics code; chkuo; 2010/ | <?php /*google analytics code; chkuo; 2010/ | ||
Line 10: | Line 10: | ||
===== analytics.script ===== | ===== analytics.script ===== | ||
- | add this file to the template directory: | + | Add this file to the template directory: |
- | < | + | <file> |
- | < | + | <!-- Google tag (gtag.js) --> |
+ | < | ||
+ | < | ||
+ | window.dataLayer = window.dataLayer || []; | ||
+ | function gtag(){dataLayer.push(arguments); | ||
+ | gtag(' | ||
- | | + | |
- | _gaq.push(['_setAccount', 'UA-2138404-9']); | + | </ |
- | | + | |
- | (function() { | ||
- | var ga = document.createElement(' | ||
- | ga.src = (' | ||
- | var s = document.getElementsByTagName(' | ||
- | })(); | ||
- | |||
- | </ | ||
</ | </ | ||
Line 68: | Line 65: | ||
} | } | ||
em { | em { | ||
+ | font-style: | ||
+ | text-decoration: | ||
+ | } | ||
+ | em.u { | ||
font-style: | font-style: | ||
text-decoration: | text-decoration: | ||
Line 73: | Line 74: | ||
/* end of custom style; chkuo; 2010/12/06 */ | /* end of custom style; chkuo; 2010/12/06 */ | ||
</ | </ | ||
- | to print **Bold Text** and __Underlined Text__ correctly | + | to print **Bold Text**, //Italic Text//, |
wiki/arctic_customization.1291652525.txt.gz · Last modified: 2010/12/07 00:22 by chkuo