peruna/layouts/partials/footer.html

42 lines
1.2 KiB
HTML
Raw Normal View History

2018-04-03 09:51:11 +00:00
</main>
{{ partial "menu.html" . }}
<footer class="l-footer">
{{ partial "link.html" . }}
<p class="p-copyright">
{{ with .Site.Copyright | safeHTML }}
{{ . }}
{{ else }}
{{ if .Site.Params.author }}
{{ if .Site.Params.authorwebsite }}
<a href="{{ .Site.Params.authorwebsite }}">{{ .Site.Params.author }}</a>
{{ else }}
{{ .Site.Params.author }}
{{ end }}
{{ end }}
&nbsp;&bull;&nbsp;
{{ .Site.LastChange.Format "2006" }}
{{ if .Site.Title }}
&nbsp;&bull;&nbsp;
<a href="{{ "" | absLangURL }}">{{ .Site.Title }}</a>
{{ end }}
{{ end }}
</p>
</footer>
{{ with .Site.Params.ga_api_key }}
<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','//www.google-analytics.com/analytics.js','ga');
ga('create', '{{ . }}', 'auto');
ga('send', 'pageview');
</script>
{{ end }}
{{- partial "footer_custom.html" . }}
</body>
</html>