diff options
author | aleylara <ingirtere@gmail.com> | 2021-02-25 15:29:13 +1100 |
---|---|---|
committer | aleylara <ingirtere@gmail.com> | 2021-02-25 15:29:13 +1100 |
commit | edcc3440dde15e05f71d494798d8c0a45b9f7427 (patch) | |
tree | 03a5be7e04a1dfdec1f6699247b6da09c296fe48 /Peli-Kiera/templates | |
parent | 24dd63e2da63e1cdac7d36a6febc307682a49fc6 (diff) | |
download | pelican-themes-edcc3440dde15e05f71d494798d8c0a45b9f7427.tar.gz |
Fixed navbar title wrapping, removed Piwik script
Diffstat (limited to 'Peli-Kiera/templates')
-rw-r--r-- | Peli-Kiera/templates/analytics.html | 21 | ||||
-rw-r--r-- | Peli-Kiera/templates/article.html | 2 | ||||
-rw-r--r-- | Peli-Kiera/templates/index.html | 6 |
3 files changed, 5 insertions, 24 deletions
diff --git a/Peli-Kiera/templates/analytics.html b/Peli-Kiera/templates/analytics.html index a966c4c..1f9f029 100644 --- a/Peli-Kiera/templates/analytics.html +++ b/Peli-Kiera/templates/analytics.html @@ -5,7 +5,7 @@ m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','https://www.google-analytics.com/analytics.js','ga'); - ga('create', '{{GOOGLE_ANALYTICS}}', '{{GA_COOKIE_DOMAIN if GA_COOKIE_DOMAIN else 'auto'}}'); + ga('create', '{{GOOGLE_ANALYTICS}}', '{{GA_COOKIE_DOMAIN if GA_COOKIE_DOMAIN else "auto"}}'); ga('send', 'pageview'); </script> {% endif %} @@ -24,22 +24,3 @@ })(); </script> {% endif %} -{% if PIWIK_URL and PIWIK_SITE_ID %} - <script type="text/javascript"> - {% if PIWIK_SSL_URL %} - var pkBaseURL = "{{ PIWIK_SSL_URL }}"; - {% else %} - var pkBaseURL = "{{ PIWIK_URL }}"; - {% endif %} - var _paq = _paq || []; - _paq.push(["trackPageView"]); - _paq.push(["enableLinkTracking"]); - (function() { - var u=(("https:" == document.location.protocol) ? "https" : "http")+"://"+pkBaseURL+"/"; - _paq.push(["setTrackerUrl", u+"piwik.php"]); - _paq.push(["setSiteId", "{{ PIWIK_SITE_ID }}"]); - var d=document, g=d.createElement("script"), s=d.getElementsByTagName("script")[0]; g.type="text/javascript"; - g.defer=true; g.async=true; g.src=u+"piwik.js"; s.parentNode.insertBefore(g,s); - })(); - </script> -{% endif %} diff --git a/Peli-Kiera/templates/article.html b/Peli-Kiera/templates/article.html index c9523a2..eaf9762 100644 --- a/Peli-Kiera/templates/article.html +++ b/Peli-Kiera/templates/article.html @@ -13,7 +13,7 @@ {% block content %} <main> <article> - <h2>{{ article.title }}</h2> + <h1>{{ article.title }}</h1> {% import 'translations.html' as translations with context %} {{ translations.translations_for(article) }} <aside> diff --git a/Peli-Kiera/templates/index.html b/Peli-Kiera/templates/index.html index 8a6e379..b73fa39 100644 --- a/Peli-Kiera/templates/index.html +++ b/Peli-Kiera/templates/index.html @@ -5,8 +5,8 @@ <ul> {% for article in articles_page.object_list %} <li> - <h2><a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" - title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a></h2> + <h1><a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" + title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a></h1> <aside> <ul> <li> @@ -31,4 +31,4 @@ {% endif %} </section> </main> -{% endblock content %}
\ No newline at end of file +{% endblock content %} |