1
0
Fork 0

cleanup hugo config 🧽

This commit is contained in:
dark_hash 2025-01-21 02:27:48 +01:00
parent 6ff6a05840
commit 67f8944ef0

View file

@ -2,15 +2,17 @@ baseURL = 'https://it-syndikat.org'
languageCode = 'de-AT'
title = 'IT-syndikat'
theme = "mainroad"
pluralizelisttitles = false # removes the automatically appended "s" on sidebar entries
[module]
[[module.imports]]
path = "github.com/kaushalmodi/hugo-atom-feed"
[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
twitter_cards = false # Enable Twitter Cards if true
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
@ -24,11 +26,8 @@ pluralizelisttitles = false # removes the automatically appended "s" on sideba
landscapePhotoWidths = [2080, 1920, 1700, 1600, 1280, 1024, 768, 550, 480, 430, 360, 320]
portraitPhotoWidths = [1500, 1000, 750, 600]
# DEPRECATED PARAMS
subtitle = "" # Deprecated in favor of .Site.Params.logo.subtitle
highlightColor = "" # Deprecated in favor of .Site.Params.style.vars.highlightColor
[imaging]
quality = 75
quality = 75
[Params.style.vars]
highlightColor = "#109c11" # matrix green
@ -40,8 +39,6 @@ pluralizelisttitles = false # removes the automatically appended "s" on sideba
# Secondary font-family set responsible for pre, code, kbd, and samp tags font
fontFamilySecondary = "monospace"
# TODO ampel switch with isitopen
[Params.logo]
image = "/images/logo2013.svg" # Logo image. Path relative to "static"
title = "IT-Syndikat" # Logo title, otherwise will use site title
@ -54,6 +51,7 @@ pluralizelisttitles = false # removes the automatically appended "s" on sideba
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", "categories", "taglist"]
@ -94,12 +92,6 @@ pluralizelisttitles = false # removes the automatically appended "s" on sideba
name = "sites"
pre = ""
[server]
[[server.headers]]
for = '/**'
[server.headers.values]
Access-Control-Allow-Origin = "*"
Access-Control-Allow-Methods = "GET, PUT, POST, DELETE, HEAD, OPTIONS"
[Params.widgets.taglist]
cached = true
@ -132,15 +124,15 @@ pluralizelisttitles = false # removes the automatically appended "s" on sideba
name = "Git"
url = "https://git.it-syndikat.org"
[params.meta]
favicon = false
[module]
[[module.imports]]
path = "github.com/kaushalmodi/hugo-atom-feed"
[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"