mirror of
https://github.com/Brandon-Rozek/website-theme.git
synced 2025-10-09 18:21:15 +00:00
🐹 Add date format option
This commit is contained in:
parent
af2b170429
commit
a49f7bd2db
3 changed files with 4 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
{{ define "main"}}
|
||||
<div>
|
||||
<h1>{{ .Title }}</h1>
|
||||
<p class="date">{{ .Date.Format "January 2, 2006" }}</p>
|
||||
<p class="date">{{ .Date.Format .Site.Params.singlePageDateFormat }}</p>
|
||||
<div class="markdown-body">
|
||||
{{ .Content }}
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue