mirror of
https://github.com/yuzu-emu/shared-bulma-theme
synced 2024-11-23 17:53:48 +00:00
Updated GoogleAnalytics. Updated wiki formatting.
This commit is contained in:
parent
6b28ab5855
commit
a492a3de7d
2 changed files with 30 additions and 15 deletions
|
@ -43,14 +43,21 @@
|
||||||
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-112443698-1"></script>
|
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-112443698-1"></script>
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
window.dataLayer = window.dataLayer || [];
|
|
||||||
function gtag(){dataLayer.push(arguments);}
|
|
||||||
gtag('js', new Date());
|
|
||||||
gtag('config', '{{ .Site.Params.GoogleAnalyticsTrackingId }}');
|
|
||||||
|
|
||||||
(adsbygoogle = window.adsbygoogle || []).push({});
|
(adsbygoogle = window.adsbygoogle || []).push({});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
<!-- Google Analytics -->
|
||||||
|
<script>
|
||||||
|
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
||||||
|
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
||||||
|
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', '{{ .Site.Params.GoogleAnalyticsTrackingId }}', 'auto');
|
||||||
|
ga('send', 'pageview');
|
||||||
|
</script>
|
||||||
|
<!-- End Google Analytics -->
|
||||||
|
|
||||||
{{- block "scripts" . }}{{- end }}
|
{{- block "scripts" . }}{{- end }}
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
|
|
|
@ -1,11 +1,19 @@
|
||||||
{{ define "main" }}
|
<section class="section">
|
||||||
|
<div class="container">
|
||||||
|
<h1 class="title">{{ .Title }}</h1>
|
||||||
|
<div class="content">
|
||||||
|
|
||||||
<article class="message is-primary">
|
<article class="message is-primary">
|
||||||
<div class="message-body">
|
<div class="message-body">
|
||||||
<p>The below wiki article is based on user submitted content.</p>
|
<p>The below wiki article is based on user submitted content.</p>
|
||||||
<p>Please verify <strong>all</strong> hyperlinks and terminal commands below!</p>
|
<p>Please verify
|
||||||
See a mistake? Want to contribute? <a href="{{ .Site.Params.GithubURL }}/wiki/{{ .File.BaseFileName }}/_edit/">Edit this article on Github</a>
|
<strong>all</strong> hyperlinks and terminal commands below!</p>
|
||||||
|
See a mistake? Want to contribute?
|
||||||
|
<a href="{{ .Site.Params.GithubURL }}/wiki/{{ .File.BaseFileName }}/_edit/">Edit this article on Github</a>
|
||||||
</div>
|
</div>
|
||||||
</article>
|
</article>
|
||||||
|
|
||||||
{{ .Content }}
|
{{ .Content }}
|
||||||
{{ end }}
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
Loading…
Reference in a new issue