diff options
Diffstat (limited to 'layouts/_default')
-rw-r--r-- | layouts/_default/baseof.html | 2 | ||||
-rw-r--r-- | layouts/_default/single.html | 21 |
2 files changed, 13 insertions, 10 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index f38999e..c4963da 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -3,9 +3,7 @@ {{- partial "head.html" . -}} <body> {{- partial "header.html" . -}} - <div id="content" class="mw7 center"> {{- block "main" . }}{{- end }} - </div> {{- partial "footer.html" . -}} </body> </html> diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 9343abd..6c10095 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -1,13 +1,18 @@ {{ define "main" }} -<article class="ph2"> - <header class="bg-green pa5"> - <h1 class="f1 black-90"> - {{ .Title }}</h1> +<article> + <div class="w-100 bg-green"> + <header class="dt pa5 mw7 center"> + <h1 class="f1 tc black-90"> + {{ .Title }}</h1> - <div class="gray tracked">{{ .Date.Format "Mon, Jan 2, 2006" }}</div> - </header> - <div class="f5 lh-copy pv4 ph2 black-80"> - {{ .Content }} + <div class="gray tracked">{{ .Date.Format "Mon, Jan 2, 2006" }}</div> + </header> + </div> + + <div id="content" class="mw7 center"> + <div class="f5 lh-copy pv4 ph2 black-80"> + {{ .Content }} + </div> </div> </article> {{ end }} |