Fix margins disposition and size of single and home page

This commit is contained in:
nono
2022-08-17 17:17:26 +02:00
parent 65c654fede
commit c5bf0be174
6 changed files with 26 additions and 18 deletions

View File

@@ -7,7 +7,7 @@
{{ partial "nav-bar.html" . }}
<main class="content side-text-padding">
<main class="content side-text-padding side-gutter">
<article class="post {{ if ne .Params.dropcap false }}dropcase{{ end }}">
<header class="post-header">
<h1 class="post-title">{{ .Title }}</h1>
@@ -29,13 +29,16 @@
{{- end }}
{{ .Content }}
</article>
<nav class="end-nav card-container card">
{{ with .PrevInSection }}
{{ .Render "li-next" }}
{{ end }}
</nav>
{{ partial "footer.html" . }}
</main>
<nav class="end-nav card-container card">
{{ with .PrevInSection }}
{{ .Render "li-next" }}
{{ end }}
</nav>
{{ partial "footer.html" . }}
{{ partial "scripts.html" . }}
</body>
</html>