1
0
Fork 0
website/hugo.toml
2025-01-26 14:13:12 +01:00

185 lines
6.1 KiB
TOML

baseURL = 'https://it-syndikat.org'
languageCode = 'de-AT'
title = 'IT-Syndikat'
theme = "mainroad"
pluralizelisttitles = false # removes the automatically appended "s" on sidebar entries
enableRobotsTXT = true
defaultContentLanguage = 'de'
defaultContentLanguageInSubdir = false
# Explanation of the below mounts:
# With these mounts you may create sites/posts in german only, and, if you want
# to, override them with english versions. For that you just need to give both
# files the same name.
[module]
[[module.imports]]
path = "github.com/kaushalmodi/hugo-atom-feed"
[[module.mounts]]
source = "content/de"
target = "content"
lang = "de"
[[module.mounts]]
source = "content/en"
target = "content"
lang = "en"
[[module.mounts]]
source = "content/de"
target = "content"
lang = "en"
[Params]
description = "Innsbrucks Hackerspace. Chaostreff, offene Werkstatt, Wohnzimmer mit Labormöglichkeit" # Site description. Used in meta description
copyright = "IT-Syndikat - ZVR Nr. 553029636" # Footer copyright holder, otherwise will use site title
opengraph = true # Enable OpenGraph if true
schema = true # Enable Schema
readmore = true # Show "Read more" button in list if true
authorbox = false # Show authorbox at bottom of pages if true
toc = true # Enable Table of Contents
pager = true # Show pager navigation (prev/next links) at the bottom of pages if true
post_meta = ["author", "date", "categories"] # Order of post meta information
mainSections = ["posts"] # Specify section pages to show on home page and the "Recent articles" widget
dateformat = "2006-01-02" # Change the format of dates
mathjax = false # Enable MathJax
customCSS = ["css/its.css"] # Include custom CSS files
customJS = ["js/its.js"] # Include custom JS files
imageSizes = [ 320, 640, 960, 1280, 1600, 1920 ]
[Params.style.vars]
highlightColor = "#109c11" # matrix green
# Override font-family sets
# Take care of different quotes OR escaping symbols in these params if necessary
#fontFamilyPrimary = "'Open Sans', Helvetica, Arial, sans-serif"
fontFamilyPrimary = "IBM Plex Mono Regular, monospace, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'"
# Secondary font-family set responsible for pre, code, kbd, and samp tags font
fontFamilySecondary = "Greybeard, monospace"
[Params.logo]
image = "/images/logo2013.svg" # Logo image. Path relative to "static"
title = "IT-Syndikat" # Logo title, otherwise will use site title
subtitle = "Innsbrucks Hackerspace" # Logo subtitle
[Params.thumbnail]
visibility = ["list", "post"] # Control thumbnail visibility
[Params.sidebar]
home = "right" # Configure layout for home page
list = "left" # Configure layout for list pages
single = false # Configure layout for single pages
# Enable widgets in given order
widgets = ["search", "languages", "sidemenu", "sensors", "social", "categories", "taglist"]
[Params.widgets]
recent_num = 5 # Set the number of articles in the "Recent articles" widget
categories_counter = true # Enable counter for each category in "Categories" widget
tags_counter = true # Enable counter for each tag in "Tags" widget
[Params.widgets.social]
cached = true # activate cache if true
email = "wir@it-syndikat.org"
[[Params.widgets.social.custom]]
title = "Mastodon"
url = "https://chaos.social/@itsyndikat"
icon = "svg/mastodon.svg" # Optional. Path relative to "layouts/partials"
rel = "noopener noreferrer" # Set to false to remove the rel attribute
[[Params.widgets.social.custom]]
title = "RSS Feed"
url = "/index.xml"
icon = "svg/rss.svg" # Optional. Path relative to "layouts/partials"
rel = false
[[Params.widgets.social.custom]]
title = "Atom Feed"
url = "/atom.xml"
icon = "svg/rss.svg" # Optional. Path relative to "layouts/partials"
rel = false
[Params.widgets.sensors]
enabled = true
[Params.widgets.search]
cached = true
url = "https://duckduckgo.com/"
[Params.widgets.search.input]
name = "sites"
pre = ""
[Params.widgets.taglist]
cached = true
[outputs]
home = ['html', 'rss', 'atom']
section = ['html', 'rss', 'atom']
taxonomy = ['html', 'rss', 'atom']
term = ['html', 'rss', 'atom']
[server]
[[server.headers]]
for = '/**'
[server.headers.values]
Access-Control-Allow-Origin = "*"
Access-Control-Allow-Methods = "GET, PUT, POST, DELETE, HEAD, OPTIONS"
[languages]
[languages.de]
contentDir = 'content/de'
disabled = false
languageCode = 'de-AT'
languageDirection = 'ltr'
languageName = 'Deutsch'
weight = 1
[languages.de.menus]
[[languages.de.menus.main]]
name = "home"
pageRef = "/"
weight = 1
[[languages.de.menus.main]]
name = "projekte"
pageRef = "/tags/projekte/"
weight = 2
[[languages.de.menus.main]]
name = "tor"
url = "http://q2iswo6k4cgs7kyxls3gt53duxbsxu6u6udawtwudadjljq4s4nfruqd.onion"
weight = 99
[[languages.de.menus.footer]]
name = "Source code"
url = "https://git.it-syndikat.org/IT-Syndikat/website"
[[languages.de.menus.side]]
name = "Forum"
url = "https://meta.it-syndikat.org"
[[languages.de.menus.side]]
name = "Git"
url = "https://git.it-syndikat.org"
[languages.en]
contentDir = 'content/en'
disabled = false
languageCode = 'en-US'
languageDirection = 'ltr'
languageName = 'English'
weight = 2
[languages.en.menus]
[[languages.en.menus.main]]
name = "home"
pageRef = "/"
weight = 1
[[languages.en.menus.main]]
name = "projects"
pageRef = "/tags/projekte/"
weight = 2
[[languages.en.menus.main]]
name = "tor"
url = "http://q2iswo6k4cgs7kyxls3gt53duxbsxu6u6udawtwudadjljq4s4nfruqd.onion"
weight = 99
[[languages.en.menus.footer]]
name = "Source code"
url = "https://git.it-syndikat.org/IT-Syndikat/website"
[[languages.en.menus.side]]
name = "Forum"
url = "https://meta.it-syndikat.org"
[[languages.en.menus.side]]
name = "Git"
url = "https://git.it-syndikat.org"