File tree Expand file tree Collapse file tree 2 files changed +10
-3
lines changed
themes/amstrad-theme/layouts Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change 11{{ partial "header" . }}
22{{ partial "navigation" . }}
3+
4+ {{ if eq .Title "Blogs" }}
5+ {{ .Scratch.Add "pages" .Site.Pages }}
6+ {{ else }}
7+ {{ .Scratch.Add "pages" .Data.Pages }}
8+ {{ end }}
9+
310< div class ="container clearfix ">
411 < main role ="main " class ="content ">
5- {{ $paginator := .Paginate (where .Site.Pages "Type" "!= " "ignore ") }}
12+ {{ $paginator := .Paginate (where (.Scratch.Get "pages") "Type " "post ") }}
613 {{ range $paginator.Pages }}
714 {{ .Render "summary" }}
815 {{ end }}
Original file line number Diff line number Diff line change 66 < a href ="{{ .Site.BaseURL }}/{{ .Section }} "> {{ .Section }}/</ a > < a href ="{{ .Permalink }} "> {{ slicestr (.UniqueID) 0 6 }}</ a >
77 {{ end }}
88 {{ if .IsNode }}
9- {{ if .Data.Plural }}
10- {{ if eq .Data.Plural "tags " }}
9+ {{ if eq .Data.Plural "tags" }}
10+ {{ if eq .Title "Tags " }}
1111 < a href ="{{ .Site.BaseURL }}/tags "> tags/</ a >
1212 {{ else }}
1313 < a href ="{{ .Site.BaseURL }}/tags "> tags/</ a > < a href ="# "> {{ .Title | singularize | lower }}/</ a >
You can’t perform that action at this time.
0 commit comments