1
1
mirror of https://github.com/privacyguides/privacyguides.org.git synced 2026-05-14 15:41:17 +00:00
Files
privacyguides.org/hugo.yaml
T

109 lines
2.1 KiB
YAML

# Hugo configuration file
title: Privacy Guides
# import hextra as module
module:
imports:
- path: github.com/imfing/hextra
# mounts:
# - source: content
# target: content
# - source: prebuild/public/articles
# target: content/articles
# - source: prebuild/public/livestreams
# target: content/livestreams
# - source: prebuild/public/news
# target: content/news
# - source: prebuild/public/videos
# target: content/videos
markup:
# allow raw html
goldmark:
renderHooks:
link:
useEmbedded: always
renderer:
unsafe: true
parser:
attribute:
block: true
title: true
# enable hextra syntax highlight
highlight:
noClasses: false
menu:
main:
- name: Tools
pageRef: /tools
weight: 1
- name: Wiki
pageRef: /wiki
weight: 2
- name: Activism
pageRef: /activism
weight: 3
- identifier: updates
name: Updates
weight: 4
pageRef: /news
- name: Forum
url: "https://discuss.privacyguides.net"
weight: 5
- identifier: about
name: About
pageRef: /about
weight: 6
- name: Search
weight: 7
params:
type: search
- name: Donate
weight: 8
pageRef: donate
params:
icon: heart
params:
navbar:
displayTitle: false
displayLogo: true
logo:
path: "brand/logos/svg/logo/privacy-guides-logo.svg"
dark: "brand/logos/svg/logo/privacy-guides-logo-dark.svg"
link: "/"
width: 185
height: 24
# Display the last modification date
displayUpdatedDate: true
dateFormat: "January 2, 2006"
# Display the author of the last modification
displayUpdatedAuthor: false
footer:
displayCopyright: false
displayPoweredBy: false
editURL:
enable: true
base: "https://github.com/privacyguides/privacyguides.org/edit/main/content"
rss:
sections:
- docs
enableGitInfo: true
outputs:
home: [HTML, RSS]
page: [HTML, markdown, RSS]
section: [HTML, RSS]
defaultContentLanguage: en
languages:
en:
languageName: English
weight: 1