We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d1d34b commit 2871437Copy full SHA for 2871437
layouts/_default/single.html
@@ -1,6 +1,8 @@
1
{{ define "main" }}
2
<main class="page">
3
- <span class="posted">{{ .Page.Date.Format "2006-01-02" }}</span>
4
- {{ .Content }}
+ {{ if .Page.Date }}
+ <span class="posted">{{ .Page.Date.Format "2006-01-02" }}</span>
5
+ {{ end }}
6
+ <article>{{ .Content }}</article>
7
</main>
-{{ end }}
8
+{{ end }}
static/style/main.css
@@ -123,6 +123,7 @@ header .nav {
123
main {
124
margin: 3rem;
125
padding: 0 1rem;
126
+ line-height: 1.6em;
127
}
128
129
.page {
0 commit comments