diff options
-rw-r--r-- | .gitmodules | 8 | ||||
m--------- | BT3-Flat | 0 | ||||
-rw-r--r-- | gum/templates/base.html | 2 | ||||
-rwxr-xr-x | gum/templates/piwik.html | 16 | ||||
m--------- | plumage | 0 | ||||
m--------- | voidy-bootstrap | 0 |
6 files changed, 24 insertions, 2 deletions
diff --git a/.gitmodules b/.gitmodules index 23a0024..29c6d41 100644 --- a/.gitmodules +++ b/.gitmodules @@ -87,7 +87,13 @@ url = https://github.com/fle/pelican-simplegrey [submodule "pujangga"] path = pujangga - url = git@github.com:habibillah/pujangga.git + url = https://github.com/habibillah/pujangga.git [submodule "lovers"] path = lovers url = https://github.com/chdoig/pelican-bootstrap3-lovers.git +[submodule "BT3-Flat"] + path = BT3-Flat + url = https://github.com/KenMercusLai/BT3-Flat.git +[submodule "voidy-bootstrap"] + path = voidy-bootstrap + url = https://github.com/robulouski/voidy-bootstrap.git diff --git a/BT3-Flat b/BT3-Flat new file mode 160000 +Subproject 656296ab29a76d980155427f1f1ffe1892966a2 diff --git a/gum/templates/base.html b/gum/templates/base.html index afae24d..bc0fa93 100644 --- a/gum/templates/base.html +++ b/gum/templates/base.html @@ -147,9 +147,9 @@ {% include 'disqus_script.html' %} +{% include 'piwik.html' %} <script src="{{ SITEURL }}/theme/js/libs/jquery-1.9.1.min.js"></script> <script src="{{ SITEURL }}/theme/js/libs/gumby.min.js"></script> <script src="{{ SITEURL }}/theme/js/plugins.js"></script> - </body> </html> diff --git a/gum/templates/piwik.html b/gum/templates/piwik.html new file mode 100755 index 0000000..ff459af --- /dev/null +++ b/gum/templates/piwik.html @@ -0,0 +1,16 @@ +{% if PIWIK_URL and PIWIK_SITE_ID %} + <script type="text/javascript"> + {% if PIWIK_SSL_URL %} + var pkBaseURL = (("https:" == document.location.protocol) ? "https://{{ PIWIK_SSL_URL }}/" : "http://{{ PIWIK_URL }}/"); + {% else %} + var pkBaseURL = (("https:" == document.location.protocol) ? "https://{{ PIWIK_URL }}/" : "http://{{ PIWIK_URL }}/"); + {% endif %} + document.write(unescape("%3Cscript src='" + pkBaseURL + "piwik.js' type='text/javascript'%3E%3C/script%3E")); + </script><script type="text/javascript"> + try { + var piwikTracker = Piwik.getTracker(pkBaseURL + "piwik.php", {{ PIWIK_SITE_ID }}); + piwikTracker.trackPageView(); + piwikTracker.enableLinkTracking(); + } catch( err ) {} + </script><noscript><p><img src="http://{{ PIWIK_URL }}/piwik.php?idsite={{ PIWIK_SITE_ID }}" style="border:0" alt="" /></p></noscript> +{% endif %}
\ No newline at end of file diff --git a/plumage b/plumage -Subproject e4f1d473aa17de27635732cdaab09d20c7ecbc5 +Subproject 3f0b69987f7d1839cf15a034308dbe9139127b7 diff --git a/voidy-bootstrap b/voidy-bootstrap new file mode 160000 +Subproject 7321b8c296dabccec660eaeec9c7edb54cd51d2 |