Fix layout classes on articles and main page
This commit is contained in:
@@ -4,11 +4,12 @@
|
||||
{{ partial "head.html" . }}
|
||||
|
||||
<body class="single-body">
|
||||
|
||||
|
||||
<main class="">
|
||||
<!-- -->
|
||||
{{ partial "nav-bar.html" . }}
|
||||
|
||||
<main class="content side-text-padding">
|
||||
<article class="post {{ if ne .Params.dropcap false }}dropcase{{ end }}">
|
||||
<article class="content side-text-padding {{ if ne .Params.dropcap false }}dropcase{{ end }}">
|
||||
<header class="post-header">
|
||||
<h1 class="post-title">{{ .Title }}</h1>
|
||||
{{ if isset .Params "date" }}<p class="post-date">Posted <time datetime="{{ .Date.Format "2006-01-02" }}">{{ .Date.Format "Jan 2, 2006" }}</time></p>{{ end }}
|
||||
@@ -30,7 +31,7 @@
|
||||
{{ .Content }}
|
||||
</article>
|
||||
</main>
|
||||
<nav class="end-nav side-padding card-container card content">
|
||||
<nav class="end-nav card">
|
||||
{{ with .PrevInSection }}
|
||||
{{ .Render "li-next" }}
|
||||
{{ end }}
|
||||
|
||||
Reference in New Issue
Block a user