website/hugo.toml

263 lines
8.4 KiB
TOML

baseURL = 'https://it-syndikat.org'
languageCode = 'de-AT'
title = 'IT-Syndikat'
theme = "roadster"
pluralizelisttitles = false # removes the automatically appended "s" on sidebar entries
enableRobotsTXT = true
timeout = 300
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.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"
[[module.mounts]]
source = "trololo"
target = "static"
[[module.mounts]]
source = "static"
target = "static"
[Params]
description = "Innsbrucks Hackerspace. Chaostreff, offene Werkstatt, Wohnzimmer mit Labormöglichkeit" # Site description. Used in meta description
keywords = ["hackerspace", "linux", "electronics", "networking"]
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
customHeadHTML = '''
<link rel="me" href="https://chaos.social/@itsyndikat">
<meta name="darkreader-lock" />
'''
imageSizes = [ 320, 640, 960, 1280, 1920 ]
tag = "{{TAG}}"
commit = "{{COMMIT}}"
show_version = false
pagerSizeIndex = 10
[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"
desc = "IT-Syndikat logo consisting of multiple fusing blobs in the vague shape of \"iTS\""
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", "sidemenu", "sensors", "social", "webring", "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
[[Params.widgets.webring.entities]]
alt = "it-syndikat"
img = "images/buttons/itsyndikat.gif"
url = "https://it-syndikat.org"
[[Params.widgets.webring.entities]]
alt = "drkhsh"
img = "images/buttons/drkhsh.gif"
url = "https://drkhsh.at"
[[Params.widgets.webring.entities]]
alt = "deneb"
img = "images/buttons/deneb.gif"
url = "https://leggi.es"
[[Params.widgets.webring.entities]]
alt = "oha"
img = "images/buttons/oha.png"
url = "https://ohaa.xyz"
[[Params.widgets.webring.entities]]
alt = "resonance bandits"
img = "images/buttons/rb.gif"
url = "https://rbss.info"
[[Params.widgets.webring.entities]]
alt = "web pentaculum"
img = "images/buttons/pentaculum.gif"
url = "https://netr.ing"
[[Params.widgets.webring.entities]]
alt = "RSS valid"
img = "images/buttons/valid-rss.png"
url = "https://validator.w3.org/feed/check.cgi?url=https%3A//it-syndikat.org/index.xml"
[[Params.widgets.webring.entities]]
alt = "Atom valid"
img = "images/buttons/valid-atom.png"
url = "https://validator.w3.org/feed/check.cgi?url=https%3A//it-syndikat.org/atom.xml"
[[Params.widgets.webring.entities]]
alt = "Powered by Hugo"
img = "images/buttons/hugo.gif"
url = "https://gohugo.io"
[outputs]
home = ['html', 'rss', 'atom']
section = ['html', 'rss', 'atom']
taxonomy = ['html', 'rss', 'atom']
term = ['html', 'rss', 'atom']
[mediaTypes."application/atom+xml"]
suffixes = ["xml"]
[outputFormats.Atom]
# https://validator.w3.org/feed/docs/atom.html#whatIsAtom
name = "Atom"
mediaType = "application/atom+xml"
baseName = "atom" # generated file = <baseName>.<mediaType."application/atom+xml".suffixes[0]> = atom.xml
isPlainText = false
rel = "alternate"
isHTML = false
noUgly = true
permalinkable = false
[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 = "doku"
url = "https://docs.it-syndikat.org/"
weight = 3
[[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 = "docs"
url = "https://docs.it-syndikat.org/"
weight = 3
[[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"
[taxonomies]
category = "categories"
tag = "tags"
author = "authors"