Moved and modified the appearance of the publish date to make the content more readable.
This commit is contained in:
parent
a4ca133fe9
commit
0ec23802f4
2 changed files with 8 additions and 2 deletions
|
@ -126,3 +126,9 @@ main {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
span { font-size: .8em; }
|
span { font-size: .8em; }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
p.date-published {
|
||||||
|
margin-bottom: -30px;
|
||||||
|
font-size: smaller;
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
{{- define "main" }}
|
{{- define "main" }}
|
||||||
<main>
|
<main>
|
||||||
<h1 class="title">{{ .Title }}</h1>
|
|
||||||
{{- if eq .Params.type "post" }}
|
{{- if eq .Params.type "post" }}
|
||||||
<p title="{{ .Date.Format "2. January 2006, 15:04 MST" }}">{{ .Date.Format "2. January 2006" }}</p>
|
<p class="date-published" title="{{ .Date.Format "2. January 2006, 15:04 MST" }}">{{ .Date.Format "2. January 2006" }}</p>
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
<h1 class="title">{{ .Title }}</h1>
|
||||||
{{ .Content -}}
|
{{ .Content -}}
|
||||||
<aside>
|
<aside>
|
||||||
{{- with .Params.topics }}
|
{{- with .Params.topics }}
|
||||||
|
|
Loading…
Reference in a new issue