Skip to content

Commit faf2849

Browse files
authored
Merge pull request #48 from hobbytp/fix/homepage-section-filtering
Fix homepage section filtering
2 parents bb11795 + 28e1ada commit faf2849

8,459 files changed

Lines changed: 28 additions & 4 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.trae/rules/project_rules.md

Lines changed: 7 additions & 1 deletion

content/zh/companies/_index.md

Lines changed: 5 additions & 0 deletions

content/zh/companies/tml/_index.md

Lines changed: 5 additions & 0 deletions

layouts/_default/list.html

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,7 @@
99
{{- /* Homepage: two-column article cards */ -}}
1010
<div class="article-grid">
1111
{{- $pages := site.RegularPages }}
12-
{{- if site.Params.mainSections }}
13-
{{- $pages = where site.RegularPages "Type" "in" site.Params.mainSections }}
14-
{{- end }}
12+
{{- /* Remove mainSections filtering to show all content on homepage */ -}}
1513

1614
{{- $paginator := .Paginate $pages }}
1715
{{- range $paginator.Pages }}

openspec/specs/blog-system/spec.md

Lines changed: 10 additions & 0 deletions
-50.6 KB
Binary file not shown.
-9.37 KB
Binary file not shown.
-23.7 KB
Binary file not shown.
-39.3 KB
Binary file not shown.
-40.7 KB
Binary file not shown.

0 commit comments

Comments
 (0)