Some cleaning and mobile support

This commit is contained in:
Nox Sluijtman 2022-09-26 19:31:12 +02:00
parent 0934cae834
commit f5c6b310c1
2 changed files with 4 additions and 4 deletions

View file

@ -1,6 +1,6 @@
{{ define "main" }}
{{ .Content -}}
<div class="posts">
<div class="posts">
{{ $isntDefault := not (or (eq (trim $.Site.Params.contentTypeName " ") "rambles") (eq (trim $.Site.Params.contentTypeName " ") "")) }}
{{ $contentTypeName := cond $isntDefault (string $.Site.Params.contentTypeName) "rambles" }}
@ -10,7 +10,6 @@
{{ end }}
{{ $paginator := .Paginate (where $PageContext.RegularPages "Type" $contentTypeName) }}
<div class="posts">
<table class="post-meta">
{{ range .Paginator.Pages }}
<tr>