Skip to content

Commit 2550894

Browse files
committed
All view includes pages only with stubs
1 parent 8053532 commit 2550894

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

layouts/taxonomy/tag.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ <h1 class="text-2xl sm:text-3xl lg:text-4xl font-bold text-sky-990">{{ strings.F
99
<div class="flex-1">
1010
<div class="grid sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-6">
1111
{{ if in .Permalink "/all" }}
12-
{{ range (.Paginate site.RegularPages).Pages }}
12+
{{ $allTemplates := .Paginate ( where site.RegularPages "Params.stubs" "!=" nil ) }}
13+
{{ range $allTemplates.Pages }}
1314
{{ partial "card-api.html" . }}
1415
{{ end }}
1516
{{ else }}

0 commit comments

Comments
 (0)