Adding back button to blog posts, to ease navigation.
This commit is contained in:
parent
9f3d6df16d
commit
f05e1a010f
1 changed files with 2 additions and 0 deletions
|
@ -10,6 +10,8 @@
|
||||||
<h1>{{ .Params.title }}</h1>
|
<h1>{{ .Params.title }}</h1>
|
||||||
<strong>Author:</strong> {{ .Params.author }} | <strong>Published:</strong> {{ .Date.Format "Jan 2, 2006" }} <hr/>
|
<strong>Author:</strong> {{ .Params.author }} | <strong>Published:</strong> {{ .Date.Format "Jan 2, 2006" }} <hr/>
|
||||||
{{ .Content }}
|
{{ .Content }}
|
||||||
|
<button class="btn btn-secondary" onclick="window.history.go(-1)">⇽ Go Back</button>
|
||||||
|
<br/>
|
||||||
</div>
|
</div>
|
||||||
</main>
|
</main>
|
||||||
{{- partial "footer.html" . -}}
|
{{- partial "footer.html" . -}}
|
||||||
|
|
Reference in a new issue