diff --git a/themes/chosto/layouts/_default/list.html b/themes/chosto/layouts/_default/list.html index b804cfe..d1a1fe0 100644 --- a/themes/chosto/layouts/_default/list.html +++ b/themes/chosto/layouts/_default/list.html @@ -5,16 +5,19 @@
- - {{ $paginator := .Paginator }} + {{ $paginator := .Paginate + (where + (where site.RegularPages ".Type" "in" site.Params.mainSections) + ".Params.incoming" "!=" true) + }} {{ range $paginator.Pages }} - {{ if (eq .FirstSection.Section "posts")}}
{{ .Render "summary" }}
{{ end }} - {{ end }}
{{- partial "pagination.html" $paginator -}}
diff --git a/themes/chosto/layouts/_default/single.html b/themes/chosto/layouts/_default/single.html index 97f57fe..2e94e31 100644 --- a/themes/chosto/layouts/_default/single.html +++ b/themes/chosto/layouts/_default/single.html @@ -1,7 +1,7 @@ {{ define "main" }}
@@ -18,11 +18,21 @@ {{ .Params.Title }}

{{ end }} {{ end }} diff --git a/themes/chosto/static/css/custom.css b/themes/chosto/static/css/custom.css index 0a6003e..8305c0b 100644 --- a/themes/chosto/static/css/custom.css +++ b/themes/chosto/static/css/custom.css @@ -41,6 +41,12 @@ p:not(.title, .subtitle, figcaption p) { background: rgba(0, 0, 0, 0.3); } +/* Used to disable click on incoming posts in thematic series */ +a.disabled { + pointer-events: none; + cursor: default; +} + /* New font is "smaller" in feeling */ .navbar-dropdown { font-size: 1rem;