summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--layouts/_default/single.html8
-rw-r--r--layouts/index.html3
2 files changed, 6 insertions, 5 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 4ac5d36..0947162 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -13,11 +13,11 @@
<div class="columns">
<div class="column">
<div class="content">
- <p class="title is-3">{{.Page.Title | title }}</p>
+ <h1 class="title is-3">{{.Page.Title | title }}</h1>
+ <h2 class="subtitle is-5"><time>{{ .Date.Format "Jan 2, 2006" }}</time></h2>
+ {{ $dateFormat := .Site.Params.dateFormat | default "January 2, 2006"}}{{ if ne .Lastmod .PublishDate }}, last updated on {{ .Lastmod.Format $dateFormat }}{{ end }}
<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 class="date">Published on {{ .PublishDate.Format $dateFormat }}
</p>
{{ .Content }}
</div>
diff --git a/layouts/index.html b/layouts/index.html
index 5f5b88d..e2888db 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -32,8 +32,9 @@
<div class="columns">
<div class="column">
<div class="content">
- <h1 class="title"><a class="" href="{{ .RelPermalink }}"> {{ .Title | title }}</a></h1>
+ <h1 class="title is-3"><a class="" href="{{ .RelPermalink }}"> {{ .Title | title }}</a></h1>
<h2 class="subtitle is-5"><time>{{ .Date.Format "Jan 2, 2006" }}</time></h2>
+ <p class="subtitle is-4">{{.Page.Description}}</p>
<p>{{ .Summary }}</p>
{{ if .Truncated }}
<div>