Files
d4c-service-main-site/hugo.yaml
T

127 lines
2.2 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
rss:
- rss
section:
- html
- rss
taxonomy:
- html
- rss
term:
- html
- rss
menu:
main:
- name: Status
weight: 1
url: "https://status.dataforcanada.org"
- identifier: datasets
name: Datasets
weight: 2
- identifier: Production
name: Production
url: https://data-01.dataforcanada.org/processed/
parent: datasets
- identifier: Labs
name: Labs
url: https://data-01.labs.dataforcanada.org/processed/
parent: datasets
- name: Docs
pageRef: /docs/
weight: 3
- name: Contact
pageRef: /contact/
weight: 4
- name: Infrastructure
url: /infrastructure/
weight: 5
- name: Contact
pageRef: /contact/
weight: 6
- name: Search
weight: 7
params:
type: search
- name: GitHub
weight: 8
url: "https://github.com/dataforcanada"
params:
icon: github
params:
theme:
default: light
page:
# full (100%), wide (90rem), normal (1280px)
width: full
navbar:
displayTitle: true
displayLogo: true
logo:
path: logo.svg
link: /
width: 32
height: 32
search:
flexsearch:
tokenize: forward
footer:
displayCopyright: True
displayPoweredBy: True
displayUpdatedDate: true
dateFormat: "Monday, January 2, 2006 at 3:04 PM MST"
#externalLinkDecoration: 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"