diff options
author | Mark Powers <mark@marks.kitchen> | 2024-10-28 20:16:15 -0500 |
---|---|---|
committer | Mark Powers <mark@marks.kitchen> | 2024-10-28 20:16:15 -0500 |
commit | cfa56ed5ca165a3a2e2b4bedf2076cd101935fe4 (patch) | |
tree | 3502ba5b04e4ba9479c3cf3d6ff0855256a96b80 /layouts/_default | |
parent | 2533c0fbbea6f3bf52cf54861fce1f43a529c60f (diff) |
Update layout
Diffstat (limited to 'layouts/_default')
-rw-r--r-- | layouts/_default/list.html | 2 | ||||
-rw-r--r-- | layouts/_default/single.html | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 45c8631..b33da49 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -13,7 +13,7 @@ <ul> {{ range .Pages }} <li> - <a class="link" href="{{ .RelPermalink }}">{{ .Title }} <i class="item-date"> --- {{ .PublishDate.Format "January 2, 2006"}}</i></a> + <a href="{{ .RelPermalink }}">{{ .Title }}</a> - <i class="item-date">{{ .PublishDate.Format "January 2, 2006"}}</i> </li> {{ end }} </ul> diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 52e9c13..50810e9 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -4,8 +4,9 @@ {{ define "main" }} <main id="main" class="post"> - <h1>{{ .Title }}</h1> + <h1 class="title">{{ .Title }}</h1> <div><i>{{ .PublishDate.Format "January 2, 2006"}}</i></div> + <hr> <article class="content"> {{ .Content }} </article> @@ -13,7 +14,7 @@ <div> <b>Keywords: </b> {{ range .Params.tags }} - <a class="link" href='{{ "tags" | absURL }}/{{ . | urlize }}'>#{{ . }}</a> + <a href='{{ "tags" | absURL }}/{{ . | urlize }}'>#{{ . }}</a> {{ end }} </div> {{ end }} |