bagarrons-nous/hugo.yml

115 lines
3.0 KiB
YAML

# Documentation: https://gohugo.io/getting-started/configuration
# Don't remove _merge, which imports default config
theme: hugo-theme-yue
baseURL: 'https://www.bagarrons-nous.org'
defaultContentLanguage: fr
defaultContentLanguageInSubdir: true
enableGitInfo: false # Set lastmod from git history, this may increase build time
enableEmoji: true # Emoji list: https://gohugo.io/quick-reference/emojis/
enableRobotsTXT: true
params:
_merge: deep # Import default config
rssFullContent: true
homePagerSize: 5
sectionPagerSize: 10000 # Default: 10, set this to a large number to remove pagination
images:
# Default image used in Open Graph, see https://gohugo.io/templates/embedded/#configure-open-graph
- favicon.ico # /static/favicon.ico
frontmatter:
lastmod: ['lastmod', ':default'] # lastmod in front matter has highest precedence
markup:
_merge: deep # Import default config
goldmark:
renderer:
unsafe: true # Allow HTML code in Markdown, see https://gohugo.io/getting-started/configuration-markup/#rendererunsafe
# Any key not defined under a languages will fall back to the global value in the root of configuration
languages:
fr:
contentDir: content/fr
languageCode: fr-FR
languageDirection: ltr
languageName: Français
title: Bagarrons Nous
weight: 10
menus:
main:
- name: Accueil
pageRef: /
weight: 10
- name: Articles
pageRef: /posts
weight: 20
- name: Tags
pageRef: /tags
weight: 30
- name: À propos
pageRef: /about
weight: 50
params:
dateFormat: Jan 02, 2006
author: Bagarrons Nous
footer:
copyright:
yearStart: 2024 # Optional
author: Bagarrons Nous
en:
contentDir: content/en
languageCode: en-US
languageDirection: ltr
languageName: English
title: Let's fight
weight: 10
menus:
main:
- name: Home
pageRef: /
weight: 10
- name: Posts
pageRef: /posts
weight: 20
- name: Tags
pageRef: /tags
weight: 30
- name: About
pageRef: /about
weight: 50
params:
dateFormat: Jan 02, 2006
author: Bagarrons Nous
footer:
copyright:
yearStart: 2024 # Optional
author: Bagarrons Nous
es:
contentDir: content/es
languageCode: es-ES
languageDirection: ltr
languageName: Español
title: Luchemos
weight: 10
menus:
main:
- name: Inicio
pageRef: /
weight: 10
- name: Publicaciones
pageRef: /posts
weight: 20
- name: Etiquetas
pageRef: /tags
weight: 30
- name: Acerca de
pageRef: /about
weight: 50
params:
dateFormat: Jan 02, 2006
author: Bagarrons Nous
footer:
copyright:
yearStart: 2024 # Optional
author: Bagarrons Nous