summaryrefslogtreecommitdiff
path: root/layouts/_default/single.html
diff options
context:
space:
mode:
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 }}