Adding back button to blog posts, to ease navigation.

This commit is contained in:
Timothy Rogers 2022-02-03 11:00:08 -05:00
parent 9f3d6df16d
commit f05e1a010f

View file

@ -10,6 +10,8 @@
<h1>{{ .Params.title }}</h1>
<strong>Author:</strong> {{ .Params.author }} | <strong>Published:</strong> {{ .Date.Format "Jan 2, 2006" }} <hr/>
{{ .Content }}
<button class="btn btn-secondary" onclick="window.history.go(-1)">&#8701; Go Back</button>
<br/>
</div>
</main>
{{- partial "footer.html" . -}}