Another option is to adapt this script to your use case:
Related Topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Set frontmatter params in list template? | 10 | 1893 | September 11, 2020 | |
Set weight and title by filename | 4 | 512 | September 6, 2018 | |
Posts without frontmatter? | 5 | 1620 | July 31, 2020 | |
Generating url from front matter in hugo template | 5 | 361 | July 11, 2019 | |
How to set default frontmatter (without using the new parameter) | 8 | 1318 | October 23, 2018 |