blog/config/_default/hugo.yaml
renovate[bot] 90efe6738e Init
2024-03-22 14:19:26 +01:00

70 lines
1.8 KiB
YAML

baseURL: https://theme.hbstack.dev/
title: HB Starter Theme Template
# Copyright, the {year} is the placeholder of this year.
copyright: "Copyright © 2022-{year} [Hugo Modules](https://hugomods.com/) and [HB Framework](https://hbstack.dev/). All Rights Reserved."
defaultContentLanguage: en
defaultContentLanguageInSubdir: true # disable this to remove the default language code from URL, i.e. /en/docs -> /docs.
enableRobotsTXT: true
timeout: 120s # images processing takes a long time, it's recommended to commit the resources folder for improve the build performance.
enableEmoji: true
title_sections: true # when false, remove the sections from the title.
title_sections_depth: 0 # the depth of sections on the title.
title_sections_depth_dir: end # when start, the depth is counting from the root sections.
permalinks:
blog: /blog/:year/:month/:title
outputs:
home:
- HTML
- Offline # required by PWA module for displaying the offline pages.
- RSS
- SearchIndex # required by search module.
- WebAppManifest # required by PWA module to make your site installable.
taxonomies:
authors: authors # multiple authors.
tags: tags
categories: categories
series: series
build:
writeStats: true # required by PurgeCSS.
markup:
goldmark:
renderer:
unsafe: true
highlight:
noClasses: false
lineNos: true
lineNumbersInTable: false
# see https://gohugo.io/content-management/related/#configure-related-content
related:
includeNewer: true
indices:
- name: keywords
weight: 100
- name: tags
weight: 80
- name: categories
weight: 60
- name: series
weight: 60
- name: authors
weight: 10
- name: date
weight: 10
threshold: 10 # for testing, increase it to suit your case.
toLower: false
security:
funcs:
getenv:
- ^HUGO
- CI$
- PWD