Files
d4c-service-main-site/hugo.yaml
T
2026-01-26 10:16:21 -05:00

99 lines
1.8 KiB
YAML

# Hugo configuration file
title: Data for Canada
# import hextra as module
module:
imports:
- path: github.com/imfing/hextra
markup:
# allow raw html
goldmark:
renderer:
unsafe: true
# enable hextra syntax highlight
highlight:
noClasses: false
# Do not inject generator meta tag on homepage
disableHugoGeneratorInject: true
# Parse Git commit
enableGitInfo: true
enableInlineShortcodes: true
enableEmoji: true
outputs:
home: [html, rss, llms]
page: [html, rss, llms]
section: [html, rss, llms]
menu:
main:
- identifier: datasets
name: Datasets
weight: 1
- identifier: Production
name: Production
url: https://data-01.dataforcanada.org/processed/
parent: datasets
- identifier: Development
name: Development
url: https://data-01.dev.dataforcanada.org/processed/
parent: datasets
- name: Docs
url: /docs/
weight: 2
# weight: 1
#- name: Contact
# url: /contact/
# weight: 2
#- name: Search
# weight: 2
# params:
# type: search
- name: GitHub
weight: 3
url: "https://github.com/dataforcanada"
params:
icon: github
params:
displayUpdatedDate: true
theme:
default: light
externalLinkDectoration: true
navbar:
displayTitle: true
displayLogo: true
logo:
path: logo.svg
link: /
width: 32
height: 32
page:
# full (100%), wide (90rem), normal (1280px)
width: full
footer:
displayCopyright: True
displayPoweredBy: True
comments:
enable: true
type: giscus
giscus:
repo: dataforcanada/www.dataforcanada.org
repoId: R_kgDOPAaEeA
category: General
categoryId: DIC_kwDOPAaEeM4Cr4dH
editURL:
enable: true
base: "https://github.com/dataforcanada/www.dataforcanada.org/edit/main/content"