mirror of
https://github.com/msfjarvis/msfjarvis.dev.git
synced 2024-06-03 04:18:56 +05:30
45 lines
2.2 KiB
HTML
45 lines
2.2 KiB
HTML
<footer class="footer">
|
|
<div class="footer__inner">
|
|
<div class="footer__content">
|
|
<span>© {{ now.Format "2006" }}</span>
|
|
{{ if .Site.Author.name }}
|
|
<span><a href="{{ .Site.BaseURL }}">{{ .Site.Author.name }}</a></span>
|
|
{{ end }}
|
|
<span>{{ .Site.Copyright| safeHTML }}</span>
|
|
<span>{{- with (not (in (.Site.Language.Get "disableKinds") "RSS")) }} <a href="{{ "posts/index.xml" | absURL }}" target="_blank" title="rss"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-rss"><path d="M4 11a9 9 0 0 1 9 9"></path><path d="M4 4a16 16 0 0 1 16 16"></path><circle cx="5" cy="19" r="1"></circle></svg></a>{{ end }}</span>
|
|
</div>
|
|
</div>
|
|
<div class="footer__inner">
|
|
<div class="footer__content">
|
|
|
|
</div>
|
|
</div>
|
|
<div class="footer__inner">
|
|
<div class="footer__content">
|
|
<span>Powered by <a href="http://gohugo.io">Hugo</a></span>
|
|
<span>Made with ❤ by <a href="https://github.com/rhazdon">rhazdon</a></span>
|
|
</div>
|
|
</div>
|
|
</footer>
|
|
|
|
|
|
<!-- JavaScript -->
|
|
{{ $main := resources.Get "js/main.js" }}
|
|
{{ $menu := resources.Get "js/menu.js" }}
|
|
{{ $prism := resources.Get "js/prism.js" }}
|
|
{{ $theme := resources.Get "js/theme.js" }}
|
|
{{ $js := slice $main $menu $prism $theme | resources.Concat "js/bundle.js" }}
|
|
{{ $secureJS := $js | resources.Fingerprint "sha512" }}
|
|
<script type="text/javascript" src="{{ $secureJS.Permalink }}" integrity="{{ $secureJS.Data.Integrity }}"></script>
|
|
|
|
{{- if .Site.GoogleAnalytics }}
|
|
<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', '{{.Site.GoogleAnalytics}}', 'auto');
|
|
ga('send', 'pageview');
|
|
</script>
|
|
{{- end}}
|