96 lines
4.8 KiB
HTML
96 lines
4.8 KiB
HTML
|
{{ if eq .Type "page" }}
|
||
|
{{ partial "page_meta.html" . }}
|
||
|
{{ end }}
|
||
|
<footer>
|
||
|
<div class="container">
|
||
|
<div class="row">
|
||
|
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
|
||
|
<ul class="list-inline text-center footer-links">
|
||
|
{{ range .Site.Data.beautifulhugo.social.social_icons }}
|
||
|
{{- if isset $.Site.Author .id }}
|
||
|
<li>
|
||
|
<a href="{{ printf .url (index $.Site.Author .id) }}" title="{{ .title }}">
|
||
|
<span class="fa-stack fa-lg">
|
||
|
<i class="fas fa-circle fa-stack-2x"></i>
|
||
|
<i class="{{ .icon }} fa-stack-1x fa-inverse"></i>
|
||
|
</span>
|
||
|
</a>
|
||
|
</li>
|
||
|
{{- end -}}
|
||
|
{{ end }}
|
||
|
{{ if .Site.Params.rss }}
|
||
|
<li>
|
||
|
<a href="{{ with .OutputFormats.Get "RSS" }}{{ .RelPermalink }}{{ end }}" title="RSS">
|
||
|
<span class="fa-stack fa-lg">
|
||
|
<i class="fas fa-circle fa-stack-2x"></i>
|
||
|
<i class="fas fa-rss fa-stack-1x fa-inverse"></i>
|
||
|
</span>
|
||
|
</a>
|
||
|
</li>
|
||
|
{{ end }}
|
||
|
</ul>
|
||
|
<p class="credits copyright text-muted">
|
||
|
{{ if .Site.Author.name }}
|
||
|
{{ if .Site.Author.website }}
|
||
|
<a href="{{ .Site.Author.website }}">{{ .Site.Author.name }}</a>
|
||
|
{{ else }}
|
||
|
{{ .Site.Author.name }}
|
||
|
{{ end }}
|
||
|
{{ end }}
|
||
|
|
||
|
• ©
|
||
|
{{ if .Site.Params.since }}
|
||
|
{{ .Site.Params.since }} - {{ .Site.LastChange.Format "2006" }}
|
||
|
{{ else }}
|
||
|
{{ .Site.LastChange.Format "2006" }}
|
||
|
{{ end }}
|
||
|
|
||
|
{{ if .Site.Title }}
|
||
|
•
|
||
|
<a href="{{ "" | absLangURL }}">{{ .Site.Title }}</a>
|
||
|
{{ end }}
|
||
|
</p>
|
||
|
<!-- Please don't remove this, keep my open source work credited :) -->
|
||
|
<p class="credits theme-by text-muted">
|
||
|
This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/">Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License</a>.
|
||
|
<a href="https://gohugo.io">Hugo v{{ .Site.Hugo.Version }}</a> powered • Theme is "peninsula" by me, adapted from <a href="https://github.com/halogenica/beautifulhugo">Beautiful Hugo</a>, adapted from <a href="https://deanattali.com/beautiful-jekyll/">Beautiful Jekyll</a>'
|
||
|
{{ if $.GitInfo }} • [<a href="{{ .Site.Params.commit }}{{ .GitInfo.Hash }}">{{ substr .GitInfo.Hash 0 8 }}</a>]{{ end }}
|
||
|
</p>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</footer>
|
||
|
|
||
|
{{- if .Site.Params.selfHosted -}}
|
||
|
<script src="{{ "js/katex.min.js" | absURL }}"></script>
|
||
|
<script src="{{ "js/auto-render.min.js" | absURL }}"></script>
|
||
|
<script src="{{ "js/jquery.min.js" | absURL }}"></script>
|
||
|
<script src="{{ "js/bootstrap.min.js" | absURL }}"></script>
|
||
|
{{- else -}}
|
||
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.10.0/katex.min.js" integrity="sha384-K3vbOmF2BtaVai+Qk37uypf7VrgBubhQreNQe9aGsz9lB63dIFiQVlJbr92dw2Lx" crossorigin="anonymous"></script>
|
||
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.10.0/contrib/auto-render.min.js" integrity="sha384-kmZOZB5ObwgQnS/DuDg6TScgOiWWBiVt0plIRkZCmE6rDZGrEOQeHM5PcHi+nyqe" crossorigin="anonymous"></script>
|
||
|
<script src="https://code.jquery.com/jquery-1.12.4.min.js" integrity="sha256-ZosEbRLbNQzLpnKIkEdrPv7lOy9C27hHQ+Xp8a4MxAQ=" crossorigin="anonymous"></script>
|
||
|
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
|
||
|
{{- end }}
|
||
|
|
||
|
<script src="{{ "js/main.js" | absURL }}"></script>
|
||
|
{{- if .Site.Params.staticman }}
|
||
|
<script src="{{ "js/staticman.js" | absURL }}"></script>
|
||
|
{{- end }}
|
||
|
{{- if .Site.Params.useHLJS }}
|
||
|
<script src="{{ "js/highlight.min.js" | absURL }}"></script>
|
||
|
<script> hljs.initHighlightingOnLoad(); </script>
|
||
|
<script> $(document).ready(function() {$("pre.chroma").css("padding","0");}); </script>
|
||
|
{{- end -}}
|
||
|
<script> renderMathInElement(document.body); </script>
|
||
|
|
||
|
{{- if .Site.Params.selfHosted -}}
|
||
|
<script src="{{ "js/photoswipe.min.js" | absURL }}"></script>
|
||
|
<script src="{{ "js/photoswipe-ui-default.min.js" | absURL }}"></script>
|
||
|
{{- else -}}
|
||
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/photoswipe/4.1.2/photoswipe.min.js" integrity="sha384-QELNnmcmU8IR9ZAykt67vGr9/rZJdHbiWi64V88fCPaOohUlHCqUD/unNN0BXSqy" crossorigin="anonymous"></script>
|
||
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/photoswipe/4.1.2/photoswipe-ui-default.min.js" integrity="sha384-m67o7SkQ1ALzKZIFh4CiTA8tmadaujiTa9Vu+nqPSwDOqHrDmxLezTdFln8077+q" crossorigin="anonymous"></script>
|
||
|
{{- end -}}
|
||
|
<script src="{{ "js/load-photoswipe.js" | absURL }}"></script>
|
||
|
|
||
|
{{- partial "footer_custom.html" . }}
|