Skip to content

Commit

Permalink
archetypes/collections: Follow latest Hugo doc recommendation
Browse files Browse the repository at this point in the history
  • Loading branch information
Leo3418 committed Dec 23, 2023
1 parent e9cea59 commit 7959b84
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions archetypes/collections/_index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: "{{ replace .Name `-` ` ` | title }}"
url: "collections/{{ .Name }}"
title: "{{ replace .File.ContentBaseName `-` ` ` | title }}"
url: 'collections/{{ .File.ContentBaseName }}'
---

{{- /*
Expand Down

0 comments on commit 7959b84

Please sign in to comment.