This commit is contained in:
bel
2021-11-28 22:04:01 -07:00
commit 5aa2cbb7d7
129 changed files with 3776 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
<div id="remark42"></div>
<script>
var remark_config = {
host: "//comment-"+window.location.hostname,
site_id: 'remark',
components: ['embed'], // last-comments, counter
show_email_subscription: false,
simple_view: true,
};
</script>
<script>!function(e,n){for(var o=0;o<e.length;o++){var r=n.createElement("script"),c=".js",d=n.head||n.body;"noModule"in r?(r.type="module",c=".mjs"):r.async=!0,r.defer=!0,r.src=remark_config.host+"/web/"+e[o]+c,d.appendChild(r)}}(remark_config.components||["embed"],document);</script>

View File

@@ -0,0 +1,31 @@
{{ if .IsPage }}
<footer class="common-footer">
{{ partial "footer-comment.html" . }}
</footer>
{{ end }}
<footer class="common-footer">
{{ $languagesCount := $.Site.Home.AllTranslations }}
{{ if gt $languagesCount 1 }}
{{ partial "language-switcher.html" . }}
{{ end }}
<div class="common-footer-bottom">
{{ if .Site.Menus.footer }}
{{ $currentPage := . }}
<ul class="footer-menu">
{{ range .Site.Menus.footer }}
<li><a class="{{if or ($currentPage.IsMenuCurrent "footer" .) ($currentPage.HasMenuCurrent "footer" .) }} active{{end}}" href="{{ .URL | absLangURL }}" title="{{ .Title }}">{{ .Name }}</a></li>
{{ end }}
</ul>
{{ end }}
<div class="copyright">
<p>&copy; {{ if isset .Site.Params "author"}}{{ .Site.Params.author }}, {{end}}{{ now.Year }}<br>
{{ i18n "powered" | humanize }} <a target="_blank" rel="noopener noreferrer" href="https://gohugo.io/">Hugo</a>, {{ i18n "theme" }} <a target="_blank" rel="noopener noreferrer" href="https://github.com/mitrichius/hugo-theme-anubis">Anubis</a>.<br>
</p>
</div>
{{ partial "theme-switcher.html" . }}
</div>
{{ partial "h-card.html" . }}
</footer>

View File

@@ -0,0 +1,5 @@
{{ if gt .WordCount 500 }}
<aside>
{{ .TableOfContents }}
</aside>
{{ end }}