mirror of
https://gitlab.com/EternalWanderer/vugo.git
synced 2025-06-08 06:14:26 +02:00
Some cleaning and mobile support
This commit is contained in:
parent
0934cae834
commit
f5c6b310c1
2 changed files with 4 additions and 4 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue