Show news date in italics
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Luca 2020-11-28 00:57:00 +01:00
parent 8669d7199d
commit 8834ee3951
2 changed files with 5 additions and 1 deletions

View File

@ -132,3 +132,7 @@ ul {
} }
} }
} }
.date {
font-style: italic;
}

View File

@ -1,7 +1,7 @@
{{ define "main" }} {{ define "main" }}
<main> <main>
<h1>{{ .Title }}</h1> <h1>{{ .Title }}</h1>
<p>{{ .Date.Format "2006-01-02 15:04" }}</p> <p class="date">{{ .Date.Format "2006-01-02 15:04" }}</p>
{{ .Content }} {{ .Content }}
</main> </main>
{{ end }} {{ end }}