ezhil/layouts/partials/footer.html

38 lines
1.2 KiB
HTML
Raw Normal View History

2019-04-09 20:59:17 +00:00
<div class="footer wrapper">
<nav class="nav">
2020-04-19 06:44:00 +00:00
{{- if .Page.Lastmod }}
2020-04-18 09:47:22 +00:00
Last updated {{ .Page.Lastmod.Format "January 2, 2006" }}
2020-04-19 06:44:00 +00:00
{{- end }}
2020-04-18 09:47:22 +00:00
2020-04-19 06:44:00 +00:00
{{- if .Site.Copyright }}
2020-04-18 09:47:22 +00:00
<div>{{ with .Site.Copyright }} {{ . }} | {{ end }}
<a href="https://github.com/vividvilla/ezhil">Ezhil theme</a> | Built with <a
href="https://gohugo.io">Hugo</a></div>
2020-04-19 06:44:00 +00:00
{{- end }}
2019-04-09 20:59:17 +00:00
</nav>
</div>
2020-04-18 09:47:22 +00:00
{{ if and (isset .Site.Params "social") (isset .Site.Params "feathericonscdn") (eq .Site.Params.featherIconsCDN true) -}}
<script async src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
{{- else if (isset .Site.Params "social") -}}
<script async src="{{ .Site.BaseURL }}js/feather.min.js"></script>
{{ end }}
<script async src="{{ .Site.BaseURL }}js/main.js"></script>
{{- if isset .Site.Params "customjs" -}}
{{- range .Site.Params.customJS }}
{{- if or (hasPrefix . "http://") (hasPrefix . "https://") }}
<script async src="{{ . }}"></script>
{{- else }}
<script async src="{{ $.Site.BaseURL }}{{ . }}"></script>
{{- end }}
{{- end }}
{{- end }}
{{ if not .Site.IsServer }}
{{ template "_internal/google_analytics_async.html" . }}
{{ end }}
{{- with .Site.Params.Social -}}
2020-04-18 09:47:22 +00:00
<script>
feather.replace()
</script>
{{- end -}}