aboutsummaryrefslogtreecommitdiff
path: root/layouts/_default
diff options
context:
space:
mode:
authorCaio Lente <7017340+clente@users.noreply.github.com>2023-10-17 23:34:17 -0300
committerCaio Lente <7017340+clente@users.noreply.github.com>2023-10-17 23:34:17 -0300
commitfc8583e4458ee8675b5a982fbdcf523d4f05373e (patch)
treefd09f0d410509fd9242a204237191e6343dfbdf7 /layouts/_default
parent88edea7e8ab507cb2f48d0a3cb64b6c9fad8409e (diff)
downloadhugo-bearcub-fc8583e4458ee8675b5a982fbdcf523d4f05373e.tar.gz
hugo-bearcub-fc8583e4458ee8675b5a982fbdcf523d4f05373e.tar.bz2
Create byline class
Diffstat (limited to 'layouts/_default')
-rw-r--r--layouts/_default/single.html12
1 files changed, 5 insertions, 7 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 371a382..89b58d5 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -1,13 +1,11 @@
{{ define "main" }}
{{ if not .Params.menu }}
<h1>{{ .Title }}</h1>
-<p>
- <i>
- <time datetime='{{ .Date.Format "2006-01-02" }}' pubdate>
- {{ .Date.Format (default "2006-01-02" .Site.Params.dateFormat) }}
- </time>
- {{ with .Params.author }}· {{.}}{{ end }}
- </i>
+<p class="byline">
+ <time datetime='{{ .Date.Format "2006-01-02" }}' pubdate>
+ {{ .Date.Format (default "2006-01-02" .Site.Params.dateFormat) }}
+ </time>
+ {{ with .Params.author }}· {{.}}{{ end }}
</p>
{{ end }}
<content>