work with risotto
This commit is contained in:
parent
d0dfe2b732
commit
e336313018
2 changed files with 114 additions and 144 deletions
|
@ -5,6 +5,12 @@ tags:
|
|||
- tag1
|
||||
- tag2
|
||||
- tag3
|
||||
image:
|
||||
draft: true
|
||||
author: "Colmaris"
|
||||
description: "Jour 006/100 du défi 100DaysToOffLoad."
|
||||
categories:
|
||||
- cat1
|
||||
series: serie
|
||||
aliases: alias
|
||||
toc: true
|
||||
---
|
||||
|
||||
|
|
244
hugo.toml
244
hugo.toml
|
@ -1,161 +1,125 @@
|
|||
baseURL = "https://colmaris.fr"
|
||||
theme = ["hugo-ficurinia", "hugo-shortcode-gallery"]
|
||||
theme = ["risotto", "hugo-shortcode-gallery"]
|
||||
title = "Colmaris's Blog"
|
||||
author = "Colmaris"
|
||||
copyright = "© 2025 [Colmaris](https://colmaris.fr) Ce site est sous licence [CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.fr). Les photos ne sont pas libre de droit."
|
||||
languageCode = "fr-FR"
|
||||
defaultContentLanguage = "fr"
|
||||
pygmentsstyle = "nordic"
|
||||
pygmentscodefences = true
|
||||
pygmentscodefencesguesssyntax = true
|
||||
timeout = 60000
|
||||
# this will be included in the footer after the current year the site is last
|
||||
# built, followed by the (c) symbol
|
||||
# you can use markdown inside this field
|
||||
copyright = "Colmaris - Tout le contenu est sous licence [CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.fr), sauf les photos qui ne sont pas libre de droits."
|
||||
|
||||
|
||||
summaryLength = 70 # number of words for article summaries
|
||||
enableInlineShortcodes = true
|
||||
# prevent build failures when using Hugo's Instagram shortcode due to deprecated Instagram API.
|
||||
# See https://github.com/gohugoio/hugo/issues/7228#issuecomment-714490456
|
||||
ignoreErrors = ["error-remote-getjson"]
|
||||
pluralizeListTitles = false
|
||||
|
||||
# Automatically add content sections to main menu
|
||||
sectionPagesMenu = "main"
|
||||
|
||||
[params]
|
||||
author = "Colmaris"
|
||||
description = "blog personnel" # this will be added as metadata
|
||||
noindex = false
|
||||
|
||||
posts = "posts" # content directory where to find home page posts; default searches in "posts" and "post"
|
||||
showPostsLink = false # show or hide the link to the simple post list
|
||||
extraContentDirs = ["photo","jardin"] # other content directories to render similarly to the home page
|
||||
showcaseDir = "showcase" # create a content directory that shows a special showcase section in the home page
|
||||
[params.theme]
|
||||
palette = "tender"
|
||||
|
||||
# shows a specified single page as a home page, instead of the traditional articles list
|
||||
# requires setting `homeSinglePage`
|
||||
# goes well with extraContentDirs
|
||||
showSinglePageAsHome = false
|
||||
homeSinglePage = "/home"
|
||||
# Sidebar: about/bio
|
||||
[params.about]
|
||||
title = "Colmaris"
|
||||
description = "Un geek qui a grandi avec internet."
|
||||
# unicode/emoji logo:
|
||||
#logo = "🍚"
|
||||
# or use an image:
|
||||
logo_image = "/favicon.svg"
|
||||
|
||||
# It's best to put these icons in the "static" folder of your site
|
||||
logo = "/favicon.svg"
|
||||
favicon = "/favicon-96x96.png" # 32x32
|
||||
faviconIco = "/favicon.ico" # 32x32
|
||||
appletouch = "/apple-touch-icon.png" # 180x180
|
||||
svgicon = "/favicon.svg"
|
||||
icon512 = "/web-app-manifest-512x512.png" # 512x512 png image
|
||||
# Sidebar: social links
|
||||
# Available icon sets:
|
||||
# * FontAwesome 6 <https://fontawesome.com/> ('fa-brands', 'fa-normal', or 'fa-solid' for brands)
|
||||
# * Academicons <https://jpswalsh.github.io/academicons> ('ai ai-')
|
||||
|
||||
logoRightOfTitle = false # positions the logo to the right of the title; default: false
|
||||
[[params.socialLinks]]
|
||||
icon = "fa-solid fa-house"
|
||||
title = "Accueil"
|
||||
url = "https://colmaris.fr"
|
||||
|
||||
showTags = true # show the Tags menu item; default true
|
||||
showRss = true # show the link for the RSS feed; default true
|
||||
[[params.socialLinks]]
|
||||
icon = "fa-brands fa-github"
|
||||
title = "GitHub"
|
||||
url = "https://github.com/colmaris"
|
||||
|
||||
imageInArticlePreview = true # show images in article preview; default false
|
||||
fitImageInArticlePreview = false # make article preview images fit the article preview instead of getting cropped
|
||||
articleSummary = true # show a summary in article preview; default true
|
||||
[[params.socialLinks]]
|
||||
icon = "fa-brands fa-mastodon"
|
||||
title = "Mastodon"
|
||||
url = "https://gts.colmaris.fr"
|
||||
|
||||
fontFamily = "JetBrains Mono" # changes the font, default "JetBrains Mono"
|
||||
titleFontFamily = "JetBrains Mono" # font used for titles and headings
|
||||
monospaceFontFamily = "JetBrains Mono" # changes the monospace font for code, default "JetBrains Mono"
|
||||
|
||||
# multipliers applied to font sizes, useful for custom fonts that may be too big or too small
|
||||
titleFontSizeMultiplier = 1.0
|
||||
mainFontSizeMultiplier = 1.0
|
||||
monoFontSizeMultiplier = 1.0
|
||||
|
||||
contentWidth = "1000px" # maximum width of the site content, css syntax
|
||||
|
||||
paperCards = false # enable paper card style; default false
|
||||
buttonTags = false # enable button tag style; default false
|
||||
tagsInArticlePreview = true # enable tags list in the article preview card
|
||||
gridView = false # show post list as a grid. goes well with paperCards
|
||||
bigArticleTitle = false # makes the title in the single article view bigger
|
||||
navtype = "standard" # changes the style of the pagination, available styles are: "standard", "circles"
|
||||
enableShadow = false # shows a shadow around some elements
|
||||
menuStyle = "standard" # changes the style of the main site navigation menu, available styles are: "standard", "buttons"
|
||||
inputStyle = "standard" # changes the style of inputs (like the searchbar), available styles are: "standard", "buttons"
|
||||
|
||||
enableSearch = true # enable search page
|
||||
searchbarEverywhere = true # if the searchbar should be shown in every page; requires enableSearch
|
||||
searchMenuLink = false # add a search link to the navigation menu; requires enableSearch
|
||||
mobileHamburgerNav = false # alternative hamburger menu layout for the main nav menu when screen is small
|
||||
|
||||
enableFeatured = false # enable a particular view for articles marked as featured (featured: true in the article frontmatter)
|
||||
|
||||
underlineTitleLinks = false # show an underline also for links that are titles
|
||||
|
||||
# enable comments support with commento using the script from your server
|
||||
#commento = "https://example.com/js/commento.js"
|
||||
|
||||
# enable comments support with cactus comments (cactus.chat)
|
||||
#cactusCommentsSiteName = "example.com"
|
||||
#cactusCommentsServerName = "cactus.chat"
|
||||
#cactusCommentsHomeserver = "https://matrix.cactus.chat:8448"
|
||||
|
||||
# enable analytics using Plausible
|
||||
#plausibleScriptUrl = "https://something.com/..."
|
||||
#plausibleDomain = "example.com"
|
||||
|
||||
# enable analytics using Umami
|
||||
#umamiScriptUrl = "https://something.com/..."
|
||||
#umamiWebsiteId = "example-tracking-code"
|
||||
|
||||
enableShareOnFediverse = true # enable a button at the end of an article to share it on the fediverse
|
||||
tocBeforeImage = false # show the table of contents before the main article image; default false
|
||||
|
||||
# WARNING: deprecated! Use [[menu.icons]] instead, look below
|
||||
# links = [
|
||||
# ["GitLab", "https://gitlab.com/gabmus"],
|
||||
# ["GNOME", "https://gitlab.gnome.org/gabmus"],
|
||||
# ["YouTube", "https://youtube.com/TechPillsNet"]
|
||||
# ]
|
||||
|
||||
# you can customize all of the colors in this theme
|
||||
# Colors are defined in data/colors.yml
|
||||
|
||||
# alternative sidebar layout
|
||||
enableSidebarLayout = false
|
||||
tocInSidebar = false # if the sidebar is enbabled, show the TOC in the sidebar
|
||||
|
||||
# redirect to baseURL if current URL host doesn't match
|
||||
# useful if deploying in gitlab pages with custom domain and don't want
|
||||
# the username.gitlab.io/website url to persist
|
||||
# this requires you to set baseURL (see above)
|
||||
forceRedirect = false
|
||||
|
||||
infiniteScrolling = false # activates infinite scrolling instead of regular pagination
|
||||
# NOTE: you need to enable JSON output for this to work!
|
||||
# look at the [outputs] section below
|
||||
enableFooterColumns = false # activates footer columns, as described below
|
||||
enableJumbotron = false # enables jumbotron, as described below
|
||||
# related articles will be selected randomly based on tags and shown at
|
||||
# the bottom of the article, after the comments
|
||||
enableRelatedArticles = false
|
||||
relatedArticlesNum = 2 # how many related articles to show
|
||||
randomRelated = false # sorts related articles in random order (randomized at built time)
|
||||
[[params.socialLinks]]
|
||||
icon = "fa-solid fa-play"
|
||||
title = "Peertube"
|
||||
url = "https://video.colmaris.fr"
|
||||
|
||||
[menu]
|
||||
# these links will be added to the main navigation menu, sorted by weight
|
||||
# other elements in this menu are added automatically from the "pages" folder
|
||||
# the folder it will look into can be customized with the pages variable
|
||||
# in params above
|
||||
[[menu.main]]
|
||||
identifier = "about"
|
||||
name = "About"
|
||||
url = "/about/"
|
||||
weight = 10
|
||||
# these links (menu.icons) will be added as icon links below the main nav
|
||||
[[menu.icons]]
|
||||
identifier = "github"
|
||||
name = "Github"
|
||||
url = "https://github.com/colmaris"
|
||||
weight = 10
|
||||
[[menu.icons]]
|
||||
identifier = "mastodon"
|
||||
name = "mastodon"
|
||||
url = "https://gts.colmaris.fr"
|
||||
weight = 20
|
||||
[[menu.icons]]
|
||||
identifier = "peertube"
|
||||
name = "peertube"
|
||||
url = "https://video.colmaris.fr"
|
||||
weight = 20
|
||||
identifier = "post"
|
||||
name = "Blog"
|
||||
url = "/post/"
|
||||
weight = 1
|
||||
[[menu.main]]
|
||||
identifier = "jardin"
|
||||
name = "Jardin"
|
||||
url = "/jardin/"
|
||||
weight = 2
|
||||
[[menu.main]]
|
||||
identifier = "notes"
|
||||
name = "Notes"
|
||||
url = "/notes/"
|
||||
weight = 3
|
||||
[[menu.main]]
|
||||
identifier = "photo"
|
||||
name = "photo"
|
||||
url = "/photo/"
|
||||
weight = 4
|
||||
|
||||
# this section is necessary if you want infinite scrolling
|
||||
# it allows to output the article list as paged JSON so that "pages" can be retrieved via javascript
|
||||
[outputs]
|
||||
home = ["HTML", "JSON"]
|
||||
[taxonomies]
|
||||
category = "categories"
|
||||
tag = "tags"
|
||||
series = "series"
|
||||
|
||||
# For hugo >= 0.60.0, enable inline HTML
|
||||
[markup.goldmark.renderer]
|
||||
unsafe = true
|
||||
|
||||
[markup]
|
||||
|
||||
# Table of contents
|
||||
# Add toc = true to content front matter to enable
|
||||
[markup.tableOfContents]
|
||||
startLevel = 2
|
||||
endLevel = 3
|
||||
ordered = true
|
||||
|
||||
[privacy]
|
||||
|
||||
[privacy.vimeo]
|
||||
disabled = false
|
||||
simple = true
|
||||
|
||||
[privacy.twitter]
|
||||
disabled = false
|
||||
enableDNT = true
|
||||
simple = true
|
||||
|
||||
[privacy.instagram]
|
||||
disabled = false
|
||||
simple = true
|
||||
|
||||
[privacy.youtube]
|
||||
disabled = false
|
||||
privacyEnhanced = true
|
||||
|
||||
[services]
|
||||
|
||||
[services.instagram]
|
||||
disableInlineCSS = true
|
||||
|
||||
[services.twitter]
|
||||
disableInlineCSS = true
|
Loading…
Add table
Reference in a new issue