summaryrefslogtreecommitdiff
path: root/layouts/_default/single.html
diff options
context:
space:
mode:
authorAdam Whitlock <adam@adamwhitlock.com>2021-12-22 19:48:59 -0600
committerAdam Whitlock <adam@adamwhitlock.com>2021-12-29 23:02:47 -0600
commitb4b02a5240c5503a66072cd2725a9d6ea76f985a (patch)
tree99905036f5002062949a944beb4a38b1f6170415 /layouts/_default/single.html
Initial commit of a working Hugo theme using Bulma
Diffstat (limited to 'layouts/_default/single.html')
-rw-r--r--layouts/_default/single.html18
1 files changed, 18 insertions, 0 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
new file mode 100644
index 0000000..65d1668
--- /dev/null
+++ b/layouts/_default/single.html
@@ -0,0 +1,18 @@
+{{ define "main"}}
+ <!-- content -->
+ <div class="content is-normal">
+ <div class="level">
+ </div>
+ <!-- published date -->
+ <p class="title is-3"><i class="fas fa-file"></i> {{.Page.Title}}</p>
+ <p class="subtitle is-4">{{.Page.Description}}</p>
+ {{ $dateFormat := .Site.Params.dateFormat | default "January 2, 2006"}}
+ <p class="date">Published on {{ .PublishDate.Format $dateFormat }}{{ if ne .Lastmod .PublishDate }}, last updated on {{ .Lastmod.Format $dateFormat }}
+ {{ end }}
+ </p>
+
+
+
+ {{ .Content }}
+ </div>
+{{ end }}