-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding script necessary for analytics
- Loading branch information
1 parent
3a4ccca
commit d6f8a7a
Showing
1 changed file
with
36 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-58935435-2"></script> | ||
<script> | ||
window.dataLayer = window.dataLayer || []; | ||
function gtag(){dataLayer.push(arguments)}; | ||
gtag('js', new Date()); | ||
|
||
gtag('config', '{{site.google_analytics}}'); | ||
</script> | ||
|
||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
|
||
{% seo %} | ||
<link href="{{ '/assets/css/style.css?v=' | append: site.github.build_revision | relative_url }}" rel="stylesheet"> | ||
</head> | ||
<body> | ||
<div class="container-lg px-3 my-5 markdown-body"> | ||
{% if site.title and site.title != page.title %} | ||
<h1><a href="{{ "/" | absolute_url }}">{{ site.title }}</a></h1> | ||
{% endif %} | ||
|
||
{{ content }} | ||
|
||
{% if site.github.private != true and site.github.license %} | ||
<div class="footer border-top border-gray-light mt-5 pt-3 text-right text-gray"> | ||
This site is open source. {% github_edit_link "Improve this page" %}. | ||
</div> | ||
{% endif %} | ||
</div> | ||
<script src="{{ "assets/javascript/anchor-js/anchor.min.js" | relative_url }}"></script> | ||
<script>anchors.add();</script> | ||
</body> | ||
</html> |