First go at share buttons

This commit is contained in:
2021-01-06 18:32:43 +00:00
parent 5d2292cfb8
commit 8a8c3155fe
2 changed files with 30 additions and 3 deletions

View File

@@ -7,6 +7,10 @@
{{ end }}</p>
{{.Content}}
<small>Published on {{ .Date.Format "2006-01-02" }}</small>
<br>{{ partial "share-buttons.html" . }}
<script defer src="https://comments.aronajones.com/js/commento.js"></script>
<div id="commento" style="width: 50%"></div>
<noscript>FYI: Comments would be here, but they require Javascript.</noscript>
<div class="next-post" style="padding-top: 1em;">
{{ if .NextPage }}
Next: <a class="link-reverse" href="{{ .NextPage.Permalink }}"> {{ .NextPage.Title | truncate 50 "..." }}</a> »
@@ -17,8 +21,5 @@
« Previous: <a class="link-reverse" href="{{ .PrevPage.Permalink }}"> {{ .PrevPage.Title | truncate 50 "..."}}</a>
{{ end }}
</div>
<script defer src="https://comments.aronajones.com/js/commento.js"></script>
<div id="commento" style="width: 50%"></div>
<noscript>FYI: Comments would be here, but they require Javascript.</noscript>
</article>
{{ end }}