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"

View File

@@ -1,13 +0,0 @@
[fr]
languageName = "Français"
languageCode = "fr-FR"
weight = 10
[fr.params]
languageISO = "FR"
[en]
languageName = "English"
languageCode = "en-US"
weight = 20
[en.params]
languageISO = "EN"

View File

@@ -1,29 +0,0 @@
defaultMarkdownHandler = "goldmark"
[goldmark]
[goldmark.extensions]
definitionList = true
footnote = true
linkify = true
strikethrough = true
table = true
taskList = true
typographer = true
[goldmark.parser]
autoHeadingID = true
[goldmark.parser.attribute]
block = true
title = true
[goldmark.renderer]
hardWraps = false
unsafe = true
xHTML = false
[tableOfContents]
endLevel = 3
ordered = false
startLevel = 2

View File

@@ -1,50 +0,0 @@
[[main]]
name = "Acceuil"
url = ""
weight = 10
[[main]]
name = "A propos"
url = "about"
weight = 20
[[main]]
identifier = "category"
name = "Categories"
weight = 40
[[main]]
name = "All"
url = "post"
weight = 100
parent = "category"
[[main]]
name = "Généalogie"
url = "tags/genealogy"
weight = 20
parent = "category"
[[main]]
name = "Haiku"
url = "tags/haiku"
weight = 30
parent = "category"
[[main]]
identifier = "docs"
name = "Docs"
url = "page"
weight = 50
#[[social]]
#name = "GitHub"
#pre = "<svg xmlns='http://www.w3.org/2000/svg' class='feather feather-github'><use href='/hugo-bootstrap-theme/images/feather/feather-sprite.svg#github'/></svg>"
#url = "https://github.com/filipecarneiro/hugo-bootstrap-theme/"
#weight = 10
#[[social]]
#name = "Twitter"
#pre = "<svg xmlns='http://www.w3.org/2000/svg' class='feather feather-twitter'><use href='/hugo-bootstrap-theme/images/feather/feather-sprite.svg#twitter'/></svg>"
#url = "https://twitter.com/jfilipecarneiro/"
#weight = 20

View File

@@ -1,50 +0,0 @@
[[main]]
name = "Home"
url = ""
weight = 10
[[main]]
name = "About"
url = "about"
weight = 20
[[main]]
identifier = "category"
name = "Categories"
weight = 40
[[main]]
name = "All"
url = "post"
weight = 100
parent = "category"
[[main]]
name = "Genealogy"
url = "tags/genealogy"
weight = 20
parent = "category"
[[main]]
name = "Haiku"
url = "tags/haiku"
weight = 30
parent = "category"
[[main]]
identifier = "docs"
name = "Docs"
url = "page"
weight = 50
#[[social]]
#name = "GitHub"
#pre = "<svg xmlns='http://www.w3.org/2000/svg' class='feather feather-github'><use href='/hugo-bootstrap-theme/images/feather/feather-sprite.svg#github'/></svg>"
#url = "https://github.com/filipecarneiro/hugo-bootstrap-theme/"
#weight = 10
#[[social]]
#name = "Twitter"
#pre = "<svg xmlns='http://www.w3.org/2000/svg' class='feather feather-twitter'><use href='/hugo-bootstrap-theme/images/feather/feather-sprite.svg#twitter'/></svg>"
#url = "https://twitter.com/jfilipecarneiro/"
#weight = 20

View File

@@ -1,30 +0,0 @@
# Site Params
# Open Graph, Twitter Cards and schema.org Thing and Article (in posts)
# https://gohugo.io/templates/internal/#open-graph
# https://gohugo.io/templates/internal/#twitter-cards
# https://schema.org/Thing
# https://schema.org/Article
description = "Publications liées à mes sujets favorits."
images = ['images/logo.svg','images/site-feature-image.png']
mainMenuLogo = "images/logo.svg"
# For favicons
## Chrome Browser
themeColor = "#fff"
# Alert
alert = false
alertDismissable = false
alertText = "Introducing this new service! <a class=\"alert-link stretched-link\" href=\"https://salvus.site/\">Check out Total Security</a>"
# Pre-footer
footerAbout = false
footerAboutTitle = "Few Words About Us"
footerAboutText = "We protect your website so you can provide a safe environment to build trust and improve the user experience of your visitors.<br/><br/>Salvus Site is the partner that you can rely on for preventive and reactive cybersecurity."
[options]
bootStrapJs = true
breadCrumb = true
listCategoryFilter = true
listTagFilter = true