Rename subpage to page
This commit is contained in:
@@ -44,7 +44,7 @@
|
||||
{{ end }}
|
||||
|
||||
{{ $flags = delimit ($flags | uniq) " " }}
|
||||
{{ $class := delimit (slice "mb-3" "paige-subpage" "w-100" | append $flags | uniq | sort) " " }}
|
||||
{{ $class := delimit (slice "mb-3" "paige-page" "w-100" | append $flags | uniq | sort) " " }}
|
||||
|
||||
<div class="{{ $class }}">
|
||||
{{ with $title }}
|
@@ -11,7 +11,7 @@
|
||||
{{ end }}
|
||||
|
||||
{{ range $k, $v := . }}
|
||||
{{ partial "paige/subpage.html" (site.GetPage $k) }}
|
||||
{{ partial "paige/page.html" (site.GetPage $k) }}
|
||||
{{ end }}
|
||||
</div>
|
||||
{{ end }}
|
||||
@@ -23,7 +23,7 @@
|
||||
{{ end }}
|
||||
|
||||
{{ range . }}
|
||||
{{ partial "paige/subpage.html" . }}
|
||||
{{ partial "paige/page.html" . }}
|
||||
{{ end }}
|
||||
</div>
|
||||
{{ end }}
|
||||
@@ -57,7 +57,7 @@
|
||||
{{ $pinned := where . "Params.paige.pin" true }}
|
||||
|
||||
{{ range $pinned.ByPublishDate.Reverse }}
|
||||
{{ partial "paige/subpage.html" . }}
|
||||
{{ partial "paige/page.html" . }}
|
||||
{{ end }}
|
||||
|
||||
{{ $unpinned := complement $pinned . }}
|
||||
@@ -68,7 +68,7 @@
|
||||
<h3 class="h5 paige-date-header text-center">{{ .Key }}</h3>
|
||||
|
||||
{{ range .Pages }}
|
||||
{{ partial "paige/subpage.html" . }}
|
||||
{{ partial "paige/page.html" . }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</div>
|
Reference in New Issue
Block a user