Files
sthlm-mesh/hugo.yaml
2025-03-15 16:09:02 +01:00

148 lines
4.6 KiB
YAML

baseURL: https://sthlm-mesh.se
title: STHLM-MESH
# cSpell:ignore goldmark github hugo readingtime docsy subdir lastmod pygments linenos catmullrom gu
# Language settings
contentDir: content/sv
defaultContentLanguage: sv
defaultContentLanguageInSubdir: false
# Useful when translating.
enableMissingTranslationPlaceholders: true
enableRobotsTXT: true
# Will give values to .Lastmod etc.
enableGitInfo: true
# Highlighting config
pygmentsCodeFences: true
pygmentsUseClasses: false
# Use the new Chroma Go highlighter in Hugo.
pygmentsUseClassic: false
# pygmentsOptions: "linenos=table"
# See https://help.farbox.com/pygments.html
pygmentsStyle: tango
# Configure how URLs look like per section.
permalinks:
# Image processing configuration.
imaging:
resampleFilter: CatmullRom
quality: 75
anchor: smart
# Language configuration
languages:
sv:
languageName: Svenska
params:
description: Ett Community för Stockholms Mesh
markup:
goldmark:
parser:
attribute:
block: true
renderer:
unsafe: true
highlight:
# See a complete list of available styles at https://xyproto.github.io/splash/docs/all.html
style: tango
# Uncomment if you want your chosen highlight style used for code blocks without a specified language
guessSyntax: true
menu:
main:
- name: "Map"
url: "https://map.sthlm-mesh.se/?lat=59.34338409949693&lng=378.0628967285156&zoom=10"
weight: 80
# Everything below this are Site Params
params:
taxonomy:
taxonomyCloud: []
taxonomyCloudTitle: []
taxonomyPageHeader: []
privacy_policy: https://policies.google.com/privacy
# First one is picked as the Twitter card image if not set on page.
# images: [images/project-illustration.png]
# Menu title if your navbar has a versions selector to access old versions of your site.
# This menu appears only if you have at least one [params.versions] set.
version_menu: Releases
# Flag used in the "version-banner" partial to decide whether to display a
# banner on every page indicating that this is an archived version of the docs.
# Set this flag to "true" if you want to display the banner.
archived_version: false
# The version number for the version of the docs represented in this doc set.
# Used in the "version-banner" partial to display a version number for the
# current doc set.
version: 0.0
# A link to latest version of the docs. Used in the "version-banner" partial to
# point people to the main doc site.
#url_latest_version: https://example.com
# Repository configuration (URLs for in-page links to opening issues and suggesting changes)
github_repo: https://github.com/Roslund/sthlm-mesh
# An optional link to a related project repo. For example, the sibling repository where your product code lives.
#github_project_repo: https://github.com/google/docsy
# Specify a value here if your content directory is not in your repo's root directory
#github_subdir: ""
# Uncomment this if your GitHub repo does not have "main" as the default branch,
# or specify a new value if you want to reference another branch in your GitHub links
#github_branch: main
# https://www.docsy.dev/docs/adding-content/repository-links/#last-modified-page-metadata
GitInfo: true
# Enable Lunr.js offline search
offlineSearch: false
# Enable syntax highlighting and copy buttons on code blocks with Prism
prism_syntax_highlighting: false
copyright:
authors: STHLM-MESH Authors | [CC BY 4.0](https://creativecommons.org/licenses/by/4.0) |
from_year: 2025
# User interface configuration
ui:
# Set to true to disable breadcrumb navigation.
breadcrumb_disable: false
# Set to false if you don't want to display a logo (/assets/icons/logo.svg) in the top navbar
navbar_logo: true
# Set to true if you don't want the top navbar to be translucent when over a `block/cover`, like on the homepage.
navbar_translucent_over_cover_disable: true
# Enable to show the side bar menu in its compact state.
sidebar_menu_compact: true
# Set to true to hide the sidebar search box (the top nav search box will still be displayed if search is enabled)
sidebar_search_disable: true
# Adds a reading time to the top of each doc.
# If you want this feature, but occasionally need to remove the Reading time from a single page,
# add "hide_readingtime: true" to the page's front matter
readingtime:
enable: false
services:
googleAnalytics:
id: G-4LJP3Y6HMZ
module:
hugoVersion:
extended: true
min: 0.119.0
imports:
- path: github.com/google/docsy
disable: false