diff --git a/layouts/_default/index.html b/layouts/_default/index.html index 30da921..d91064e 100644 --- a/layouts/_default/index.html +++ b/layouts/_default/index.html @@ -1,29 +1,14 @@ {{ define "main" }} {{ .Content -}}
- {{ $isntDefault := not (or (eq (trim $.Site.Params.contentTypeName " ") "rambles") (eq (trim $.Site.Params.contentTypeName " ") "")) }} - {{ $contentTypeName := cond $isntDefault (string $.Site.Params.contentTypeName) "rambles" }} - - {{ $PageContext := . }} - {{ if .IsHome }} - {{ $PageContext = .Site }} - {{ end }} - - {{ $paginator := .Paginate (where $PageContext.RegularPages "Type" $contentTypeName) }} - - {{ range first 5 .Paginator.Pages }} + {{ $isntDefault := not (or (eq (trim $.Site.Params.contentTypeName " ") "rambles") (eq (trim $.Site.Params.contentTypeName " ") "")) }} {{ $contentTypeName := cond $isntDefault (string $.Site.Params.contentTypeName) "rambles" }} {{ $PageContext := . }} {{ if .IsHome }} {{ $PageContext = .Site }} {{ end }} {{ $paginator := .Paginate (where $PageContext.RegularPages "Type" $contentTypeName) }} +
{{ range first 10 .Paginator.Pages }} - - - - {{ end }} + + {{ end }}
{{ .Title | markdownify}} {{ .Params.Date.Format "2006-01-02" }} {{ .Params.Author }} {{ range .Params.tags }} #{{ . }}  {{ end }}
{{ range .Params.tags }} #{{ . }}{{ end }}

Read more

diff --git a/static/style.css b/static/style.css index a04fe68..0196edd 100644 --- a/static/style.css +++ b/static/style.css @@ -15,7 +15,7 @@ html{ background-color: var(--ansi00-hard); } body{ padding: 0; margin: 0; } -a:hover:active{ transform: translate(0, 3pt) ; background-color: var(--ansi03); } +a:hover:active{ background-color: var(--ansi03); } a{ color: var(--ansi11); } a:hover{ color: var(--ansi00-hard); background-color: var(--ansi11); text-decoration: none;} a:hover > code{ color: var(--ansi00-hard); background-color: var(--ansi11); text-decoration: none;}