mirror of
https://github.com/dataforcanada/d4c-service-main-site.git
synced 2026-06-13 14:00:51 +02:00
126 lines
3.0 KiB
YAML
126 lines
3.0 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]
|
|
page: [html, rss, markdown]
|
|
rss: [rss]
|
|
section: [html, rss, markdown]
|
|
taxonomy: [html, rss]
|
|
term: [html, rss]
|
|
|
|
menu:
|
|
main:
|
|
- name: 🟢 Status
|
|
weight: 1
|
|
url: "https://status.dataforcanada.org"
|
|
- name: 📚 Docs
|
|
pageRef: /docs/
|
|
weight: 2
|
|
- name: Infrastructure
|
|
url: /infrastructure/
|
|
weight: 3
|
|
- name: Dissemination
|
|
url: /docs/d4c-infra-distribution/
|
|
weight: 4
|
|
- name: 📬 Contact
|
|
pageRef: /contact/
|
|
weight: 5
|
|
- name: Search
|
|
weight: 6
|
|
params:
|
|
type: search
|
|
- name: GitHub
|
|
weight: 7
|
|
url: "https://github.com/dataforcanada/d4c-service-main-site"
|
|
params:
|
|
icon: github
|
|
|
|
params:
|
|
theme:
|
|
default: light
|
|
|
|
page:
|
|
# full (100%), wide (90rem), normal (1280px)
|
|
width: full
|
|
contextMenu:
|
|
enable: true
|
|
links:
|
|
#- name: "Ask Perplexity"
|
|
# url: "https://www.perplexity.ai/search?q=Help+me+understand+this+documentation:+{url}+read+the+url+and+any+other+urls+referenced+on+the+page"
|
|
# icon: "academic-cap"
|
|
- name: "Ask ChatGPT"
|
|
url: "https://chatgpt.com/?q=Help+me+understand+this+documentation:+{url}+read+the+url+and+any+other+urls+referenced+on+the+page"
|
|
icon: "sparkles"
|
|
- name: "Ask Claude"
|
|
url: "https://claude.ai/new?q=Help+me+understand+this+documentation:+{url}+read+the+url+and+any+other+urls+referenced+on+the+page"
|
|
icon: "puzzle"
|
|
# Last because by default it does not work, you need to select a model like GPT
|
|
#- name: "DuckDuckGo AI"
|
|
# url: "https://duckduckgo.com/?q=Help+me+understand+this+documentation:+{url}+read+the+url+and+any+other+urls+referenced+on+the+page"
|
|
# icon: "shield-check"
|
|
|
|
navbar:
|
|
displayTitle: true
|
|
displayLogo: true
|
|
logo:
|
|
path: logo.svg
|
|
link: /
|
|
width: 32
|
|
height: 32
|
|
search:
|
|
flexsearch:
|
|
tokenize: forward
|
|
|
|
footer:
|
|
displayCopyright: True
|
|
displayPoweredBy: True
|
|
|
|
imageZoom:
|
|
enable: false
|
|
|
|
# Turn on when there are teams
|
|
#displayUpdatedAuthor: true
|
|
|
|
displayUpdatedDate: true
|
|
dateFormat: "Monday, January 2, 2006 at 3:04 PM MST"
|
|
#externalLinkDecoration: true
|
|
|
|
comments:
|
|
enable: true
|
|
type: giscus
|
|
|
|
giscus:
|
|
repo: dataforcanada/d4c-service-main-site
|
|
repoId: R_kgDOPAaEeA
|
|
category: General
|
|
categoryId: DIC_kwDOPAaEeM4Cr4dH
|
|
|
|
editURL:
|
|
enable: true
|
|
base: "https://github.com/dataforcanada/d4c-service-main-site/edit/main/content"
|