mirror of
https://github.com/nairobilug/pelican-alchemy.git
synced 2024-12-30 12:15:06 +01:00
Not adding another newline to every page
Using jinja2 whitespace control.
This commit is contained in:
parent
6e9f1e602e
commit
94e078c72b
1 changed files with 2 additions and 3 deletions
|
|
@ -16,8 +16,7 @@
|
|||
</script>
|
||||
{% endif %}
|
||||
|
||||
{% if GOOGLE_ANALYTICS_GTAG %}
|
||||
<!-- Google tag (gtag.js) -->
|
||||
{%- if GOOGLE_ANALYTICS_GTAG %}
|
||||
<script async src="https://www.googletagmanager.com/gtag/js?id={{ GOOGLE_ANALYTICS_GTAG }}"></script>
|
||||
<script>
|
||||
window.dataLayer = window.dataLayer || [];
|
||||
|
|
@ -26,7 +25,7 @@
|
|||
|
||||
gtag('config', '{{ GOOGLE_ANALYTICS_GTAG }}');
|
||||
</script>
|
||||
{% endif %}
|
||||
{%- endif %}
|
||||
|
||||
{% if GAUGES %}
|
||||
<script>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue