migrate to decoupled Blowfish layout, fix TOC scrollspy, and update docs
- Theme Decoupling & Cleanup:
- Fully decoupled and vendored the Blowfish theme directly into root directories (layouts/,
assets/, static/, data/, i18n/).
- De-registered and cleaned up legacy Git submodules (themes/blowfish, themes/hugo-admonitions)
from the Git index to protect the build from upstream breakages.
- Configured .gitignore to ignore development preview symlinks (content, static,
config/_default/menus.en.toml), build folders (public/, resources/), and locks.
- TOC & Layout Fixes:
- Replaced the custom layouts/_default/single.html template with the Blowfish default to restore
native container widths and the side-by-side flex layout.
- Restored TOC to float on the right sidebar on desktop viewports and render inline on mobile
viewports.
- Fixed a parameter resolution bug in layouts/partials/toc.html by checking both .Site.Params.
smartTOC and .Site.Params.article.smartTOC (where it is defined in params.toml).
- Upgraded the TOC scrollspy JavaScript to target all '#TableOfContents' containers on the page,
enabling highlight tracking on both desktop and mobile layouts.
- Documentation Updates (README.md):
- Restored YAML front matter metadata block at the top.
- Added detailed notes on the CI/CD build process and Gitea runner deployment targets
(/srv/www/docs-public and /srv/www/docs-private).
- Added a categorized and sorted "Shortcodes Quick Reference" table at the top of the shortcodes
section (ordered by Custom, Hugo Default, and Blowfish).
- Documented custom shortcodes (Include, Screenshot, Raw HTML) and missing Hugo default
shortcodes (Highlight, Instagram, Param, Ref, Relref, Twitter, Vimeo, Youtube).
- Restructured headings to ensure all sub-shortcodes are H3, removed block break tags (<br/>),
and appended horizontal separators (---) after H2 sections.
This commit is contained in:
78
i18n/fr.yaml
Normal file
78
i18n/fr.yaml
Normal file
@@ -0,0 +1,78 @@
|
||||
global:
|
||||
language: "FR"
|
||||
|
||||
article:
|
||||
anchor_label: "Ancre"
|
||||
date: "{{ .Date }}"
|
||||
date_updated: "Mis à jour : {{ .Date }}"
|
||||
draft: "Brouillon"
|
||||
edit_title: "Modifier"
|
||||
reading_time:
|
||||
one: "{{ .Count }} min"
|
||||
other: "{{ .Count }} mins"
|
||||
reading_time_title: "Temps de lecture"
|
||||
table_of_contents: "Sommaire"
|
||||
word_count:
|
||||
one: "{{ .Count }} mot"
|
||||
other: "{{ .Count }} mots"
|
||||
part_of_series: "Cet article fait partie d'une série."
|
||||
part: "Partie"
|
||||
this_article: "Cet article"
|
||||
related_articles: "Articles connexes"
|
||||
reply_by_email: "Répondre par email"
|
||||
reply_to: "Réponse à {{ .Title }}"
|
||||
zen_mode_title:
|
||||
enable: "Activer le mode zen"
|
||||
disable: "Désactiver le mode zen"
|
||||
|
||||
a11y:
|
||||
title: "Paramètres d'accessibilité"
|
||||
disable_blur: "Désactiver le flou"
|
||||
disable_images: "Désactiver les images"
|
||||
show_link_underline: "Afficher le soulignement des liens"
|
||||
font_size: "Taille de la police"
|
||||
|
||||
author:
|
||||
byline_title: "Auteur"
|
||||
|
||||
code:
|
||||
copy: "Copier"
|
||||
copied: "Copié"
|
||||
|
||||
error:
|
||||
404_title: "Cette page n'existe pas :confused:"
|
||||
404_error: "Erreur 404"
|
||||
404_description: "Il semble que la page que vous cherchez n'existe pas."
|
||||
|
||||
footer:
|
||||
dark_appearance: "Passer au thème sombre"
|
||||
light_appearance: "Passer au thème clair"
|
||||
powered_by: "Propulsé par {{ .Hugo }} & {{ .Theme }}"
|
||||
|
||||
list:
|
||||
externalurl_title: "Lien d'article externe."
|
||||
no_articles: "Il n'y a pas encore d'article ici."
|
||||
|
||||
nav:
|
||||
scroll_to_top_title: "Faire défiler jusqu'au bas de la page"
|
||||
skip_to_main: "Aller au contenu"
|
||||
|
||||
search:
|
||||
open_button_title: "Rechercher (/)"
|
||||
close_button_title: "Fermer (Esc)"
|
||||
input_placeholder: "Rechercher"
|
||||
|
||||
sharing:
|
||||
email: "Envoyer par email"
|
||||
facebook: "Poster sur Facebook"
|
||||
line: "Partager sur LINE"
|
||||
linkedin: "Poster sur LinkedIn"
|
||||
pinterest: "Poster sur Pinterest"
|
||||
reddit: "Poster sur Reddit"
|
||||
twitter: "Tweeter"
|
||||
|
||||
shortcode:
|
||||
recent_articles: "Articles récents"
|
||||
|
||||
recent:
|
||||
show_more: "Voir plus"
|
||||
Reference in New Issue
Block a user