Switch to new theme/structure

This commit is contained in:
yann64
2023-11-19 21:01:17 +01:00
parent b46c12fd16
commit 84e65e8dca
40 changed files with 164 additions and 557 deletions

View File

@@ -1,52 +1,77 @@
baseURL = 'https://barbel.synology.me/'
title = "Généalogie et informatique"
author = "Yannick Barbel"
copyright = "Yannick Barbel - 2023"
baseurl = "barbel.synology.me"
title = "Mon Blog"
languageCode = "fr-fr"
theme = "hello-friend-ng"
paginate = 10
languageCode = "fr" # For the internal RSS template (and for the html lang attribute)
DefaultContentLanguage = "fr"
timeZone = 'Europe/Paris'
[params]
dateform = "2 Jan 2006"
dateformShort = "2 Jan"
dateformNum = "02-01-2006"
dateformNumTime = "02-01-2006 15:04"
# Multilingual
defaultContentLanguage = "fr"
defaultContentLanguageInSubdir = false
# Subtitle for home
homeSubtitle = "Le blog de la famille Barbel"
theme = "hugo-bootstrap-theme"
themesdir = "./themes"
# Set disableReadOtherPosts to true in order to hide the links to other posts.
disableReadOtherPosts = false
disableHugoGeneratorInject = true
enableRobotsTXT = true
enableGitInfo = true
enableEmoji = true
#sectionPagesMenu = "main"
#googleAnalytics = "UA-1511XXXX-X"
# Enable sharing buttons, if you like
enableSharingButtons = true
# Show a global language switcher in the navigation bar
enableGlobalLanguageMenu = true
[frontmatter]
date = ["date", "publishDate", "lastmod"]
lastmod = ["lastmod", ":fileModTime", ":default"]
# Metadata mostly used in document's head
description = "Yann64's Blog"
images = [""]
[taxonomies]
tag = "tags"
category = "categories"
series = 'series'
author = "authors"
category = "blog"
tag = "tags"
series = "series"
[sitemap]
changefreq = "weekly"
filename = "sitemap.xml"
priority = 0.5
[languages]
[languages.en]
title = "Les Barbel"
copyright = '<a href="https://creativecommons.org/licenses/by-nc/4.0/" target="_blank" rel="noopener">CC BY-NC 4.0</a>'
[permalinks]
# post = "/post/:title/"
[languages.en.params]
keywords = "computing, minecraft, genealogy"
subtitle = "Barbel family's blog"
readOtherPosts = "Read other posts"
[module]
[module.hugoVersion]
extended = true
min = "0.99.1"
max = ""
[[module.mounts]]
source = "assets"
target = "assets"
[[module.mounts]]
source = "static"
target = "static"
[languages.en.params.logo]
logoText = "return home"
logoHomeLink = "/en"
# or
#
# path = "/img/your-example-logo.svg"
# alt = "Your example logo alt text"
[languages.fr]
title = "Les Barbel"
copyright = '<a href="https://creativecommons.org/licenses/by-nc/4.0/" target="_blank" rel="noopener">CC BY-NC 4.0</a>'
[languages.fr.params]
keywords = "informatique, minecraft, généalogie"
subtitle = "Le blog de la famille Barbel"
readOtherPosts = "Lire d'autres publications"
[languages.fr.params.logo]
logoText = "retour à l'acceuil"
logoHomeLink = "/fr"
# And you can even create generic menu
[[menu.main]]
identifier = "blog"
name = "Blog"
url = "/posts"
[[menu.main]]
identifier = "minecraft"
name = "Minecraft"
url = "/pages/minecraft"
[[menu.main]]
identifier = "dev"
name = "Computing"
url = "/pages/computing"