Fix margins disposition and size of single and home page
This commit is contained in:
@@ -5,8 +5,9 @@
|
||||
|
||||
<body class="list-body">
|
||||
|
||||
{{ partial "nav-bar.html" . }}
|
||||
|
||||
<main class="card-container side-gutter">
|
||||
{{ partial "nav-bar.html" . }}
|
||||
|
||||
{{ if or (not (eq .Description "")) (not (eq .Title "")) -}}
|
||||
{{- end }}
|
||||
@@ -23,13 +24,15 @@
|
||||
{{- range $paginator.Pages -}}
|
||||
{{ .Render "li" }}
|
||||
{{- end }}
|
||||
</main>
|
||||
|
||||
{{ if or ($paginator.HasPrev) ($paginator.HasNext) -}}
|
||||
<nav class="pagination-nav side-padding">
|
||||
<nav class="blog-card blog-card-feed">
|
||||
{{ if $paginator.HasPrev }}<a href="{{ $paginator.Prev.URL }}" class="pagination-newer pagination-text">< Newer Posts</a>{{ end }}
|
||||
{{ if $paginator.HasNext }}<a href="{{ $paginator.Next.URL }}" class="pagination-older pagination-text">Older Posts ></a>{{ end }}
|
||||
</nav>
|
||||
{{- end }}
|
||||
</main>
|
||||
|
||||
{{ partial "scripts.html" . }}
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user