Migrated config to yaml syntax.

This commit is contained in:
Emiliano Vavassori 2023-11-30 22:43:14 +01:00
parent 7ab654f87e
commit 2420fceb44
3 changed files with 123 additions and 16 deletions

View File

@ -46,22 +46,22 @@ style = "github-dark"
# customJS = ["js/custom.js"] # customJS = ["js/custom.js"]
# Emiliano: tentativi di multilingua # Emiliano: tentativi di multilingua
#[languages] [languages]
# [languages.en.params] [languages.en.params]
# disabled = false disabled = false
# languageCode = 'en-US' languageCode = 'en-US'
# languageDirection = 'ltr' languageDirection = 'ltr'
# languageName = "English" languageName = "English"
# weight = 1 weight = 1
# read_more_copy = "Read more" read_more_copy = "Read more"
#
# [languages.it.params] [languages.it.params]
# disabled = false disabled = false
# languageCode = 'it-IT' languageCode = 'it-IT'
# languageDirection = 'ltr' languageDirection = 'ltr'
# languageName = "Italiano" languageName = "Italiano"
# weight = 2 weight = 2
# read_more_copy = "Leggi di più" read_more_copy = "Leggi di più"
[[params.ananke_socials]] [[params.ananke_socials]]
name = "twitter" name = "twitter"

107
config.yml Normal file
View File

@ -0,0 +1,107 @@
---
baseURL: https://www.libreschool.org
languageCode: en-US
title: La bella epoca
author: Dio
# theme: hugo-universal-theme
theme: ananke
# theme: hugo-clarity
# theme: hugo-vitae
# theme: hugo-PaperMod
# theme: hugo-coder
paginate: 20
params:
author: The LibreSchool project
info: The LibreSchool project
description: The LibreSchool project website
keywords:
- blog
- project
- foss
- linux
- libreoffice
- training
avatarurl: /images/avatar.jpg
site_logo: /images/logo_libreschool.svg
faviconSVG: /images/favicon.svg
favicon_16: /images/favicon-16x16.png
favicon_32: /images/favicon-32x32.png
since: 2015
enableTwemoji: true
colorScheme: auto
hidecolorschemetoggle: false
# customCSS:
# - css/custom.css
# customSCSS:
# - scss/custom.scss
# customJS:
# - js/custom.js
ananke_socials:
- name: twitter
url: https://www.twitter.com/bglug_it
- name: github
url: https://git.libreschool.org
taxonomies:
categories: categories
series: series
tag: tags
author: authors
defaultcontentlanguage: en
languages:
en:
params:
disabled: false
languageCode: en-US
languageDirection: ltr
languageName: English
weight: 1
read_more_copy: Read more
menu:
main:
- identifier: blog
name: Blog
weight: 1
url: /en/posts/
- identifier: project
name: Project
weight: 2
url: /en/project/
- identifier: about
name: About
weight: 3
url: /en/about/
it:
params:
disable: false
languageCode: it-IT
languageDirection: ltr
languageName: Italiano
weight: 2
read_more_copy: Leggi di più
menu:
main:
- identifier: blog
name: Blog
weight: 1
url: /it/posts/
- identifier: project
name: Progetto
weight: 2
url: /it/project/
- identifier: about
name: Info
weight: 3
url: /it/about/
services:
disqus:
shortname: bglug.it
markup:
highlight:
style: github-dark