diff --git a/layouts/_default/index.html b/layouts/_default/index.html index 1951829..3ea491e 100644 --- a/layouts/_default/index.html +++ b/layouts/_default/index.html @@ -8,45 +8,25 @@ {{ if .IsHome }} {{ $PageContext = .Site }} {{ end }} + {{ $paginator := .Paginate (where $PageContext.RegularPages "Type" $contentTypeName) }} - - {{ range $paginator.Pages }} -
-
- {{ if .Params.Date }} - - {{ .Title | markdownify }} - - -
diff --git a/layouts/_default/list.html b/layouts/_default/list.html index d512dfe..9bb4502 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -4,42 +4,22 @@ {{ .Content -}}
{{ end }} -
+
+ {{ range .Paginator.Pages }} - + + + + + + + {{ end }} + +
{{ partial "pagination.html" . }} {{ end }} diff --git a/static/style.css b/static/style.css index 9f55b57..ef238e0 100644 --- a/static/style.css +++ b/static/style.css @@ -76,10 +76,10 @@ header{text-transform: capitalize; text-align:center;border-bottom:2pt solid; fo -moz-animation: gay 8s ease-in-out infinite; -webkit-animation: gay 8s ease-in-out infinite; } -.post-meta{margin-bottom: .5em; border-bottom: solid 1pt;} -.on-list{color: var(--ansi07);} -.post-meta{color: var(--ansi07); display:flex; justify-content: space-between; } -.post-tags a{text-decoration:none; color:inherit;} +table{color: var(--ansi07); margin-bottom: .5em; } +.post-meta{ width: 100%; background-color: var(--ansi00); border-radius: 1em; padding:.5em;} +.post-meta a{text-decoration: none;} +.post-tags a{ color:inherit;} .post-tags a:hover{text-decoration:none; color:var(--ansi15); background:inherit;} .button{padding:.3em;border-radius:.3em;} .pagination__buttons{display:flex; justify-content:center;}