Skip to content

Commit

Permalink
Add overrides main pages
Browse files Browse the repository at this point in the history
Signed-off-by: Toomore Chiang <toomore0929@gmail.com>
  • Loading branch information
toomore committed Jan 28, 2025
1 parent a9af0e9 commit 1158265
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
13 changes: 13 additions & 0 deletions docs/overrides/main.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{% extends "base.html" %}

{% block scripts %}
{{ super() }}
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=AW-969732922"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'AW-969732922');
</script>
{% endblock %}
13 changes: 13 additions & 0 deletions docs/overrides_en/main.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{% extends "base.html" %}

{% block scripts %}
{{ super() }}
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=AW-969732922"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'AW-969732922');
</script>
{% endblock %}

0 comments on commit 1158265

Please sign in to comment.