diff --git a/assets/static/css/bcarlin.css b/assets/static/css/bcarlin.css index daf7192..b00a9f7 100644 --- a/assets/static/css/bcarlin.css +++ b/assets/static/css/bcarlin.css @@ -236,9 +236,7 @@ body { main { .translations { text-align: end; - margin-block-end: 0.3em; - padding-inline-end: 2em; - font-size: 0.9em; + margin-bottom: 0.3em; a { text-decoration: none; @@ -268,48 +266,7 @@ main { } } - section.table-of-contents { - font-size: 0.9em; - margin-block-end: 2em; - margin-inline-start: 1em; - padding-inline-start: 1em; - border-inline-start: 1px solid var(--pico-muted-color); - - - p { - margin-bottom: 0; /* reset pico styles */ - margin-block-end: 0.2em; - font-weight: bold; - } - - nav { - ol { - &:last-of-type { - margin-right: initial; /* reset pico styles */ - } - - &:first-of-type { - margin-left: initial; /* reset pico styles */ - } - - li { - display: list-item; /* reset pico styles */ - padding: initial; /* reset pico styles */ - list-style-type: none; - - ol { - margin-inline-start: 1em !important; - } - } - } - } - } - - :where(ol,ul) li { - margin-bottom: 0;; - } - - ul li { + ul > li { list-style-type: disc; } diff --git a/config/_default/hugo.yaml b/config/_default/hugo.yaml index 5d615c3..3427092 100644 --- a/config/_default/hugo.yaml +++ b/config/_default/hugo.yaml @@ -7,7 +7,7 @@ copyright: '© 2025 Bruno Carlin' summaryLength: 15 params: author: - email: blog@mail.bcarlin.net + email: mail@bcarlin.net name: Bruno Carlin languages: @@ -41,5 +41,3 @@ markup: goldmark: parser: wrapStandAloneImageWithinParagraph: false - tableOfContents: - ordered: true diff --git a/config/_default/menus.en.yaml b/config/_default/menus.en.yaml index b93efae..627d8d0 100644 --- a/config/_default/menus.en.yaml +++ b/config/_default/menus.en.yaml @@ -10,16 +10,9 @@ weight: 20 secondary: - - name: 'Projects' - url: 'https://code.bcarlin.net' - weight: 10 - params: - iconName: "git-pull-request-fill" - iconTitle: "My software forge" - - name: '@bcarlin@hachyderm.io' url: 'https://hachyderm.io/@bcarlin' - weight: 20 + weight: 10 params: rel: "me" iconName: "mastodon-fill" @@ -27,7 +20,7 @@ - name: 'LinkedIn' url: 'https://www.linkedin.com/in/brunocarlin' - weight: 30 + weight: 20 params: rel: "me" iconName: "linkedin-fill" @@ -35,7 +28,7 @@ - name: 'GPG Key' url: '/bcarlin.gpg' - weight: 40 + weight: 30 params: class: "u-key" iconName: "key-fill" diff --git a/config/_default/menus.fr.yaml b/config/_default/menus.fr.yaml index ccddedd..69fcffa 100644 --- a/config/_default/menus.fr.yaml +++ b/config/_default/menus.fr.yaml @@ -10,16 +10,9 @@ weight: 20 secondary: - - name: 'Projets' - url: 'https://code.bcarlin.net' - weight: 10 - params: - iconName: "git-pull-request-fill" - iconTitle: "Ma forge logicielle" - - name: '@bcarlin@hachyderm.io' url: 'https://hachyderm.io/@bcarlin' - weight: 20 + weight: 10 params: rel: "me" iconName: "mastodon-fill" @@ -27,7 +20,7 @@ - name: 'LinkedIn' url: 'https://www.linkedin.com/in/brunocarlin' - weight: 30 + weight: 20 params: rel: "me" iconName: "linkedin-fill" @@ -35,7 +28,7 @@ - name: 'Clef GPG' url: '/bcarlin.gpg' - weight: 40 + weight: 30 params: class: "u-key" iconName: "key-fill" diff --git a/content/blog/008-embracing-modern-css/index.en.md b/content/blog/008-embracing-modern-css/index.en.md index b1ed39f..ca1537b 100644 --- a/content/blog/008-embracing-modern-css/index.en.md +++ b/content/blog/008-embracing-modern-css/index.en.md @@ -9,7 +9,7 @@ categories: tags: - CSS summary: | - Where I write about my discoveries of recent CSS I was unaware of. + entrer le résumé description: | The article explores recent developments in CSS, such as nested rules, CSS variables, and classless CSS, which allow for cleaner and more efficient diff --git a/i18n/en.yaml b/i18n/en.yaml index 23c648a..e886410 100644 --- a/i18n/en.yaml +++ b/i18n/en.yaml @@ -17,9 +17,4 @@ permalink_section: "Permalink to this section" tags: Tags information_icon: Information icon warning_icon: Warning icon -translations: Translations also_available_in: "Also available in:" -table_of_contents: "Contents:" -source_code: | - The source of this site is available on - my software forge. diff --git a/i18n/fr.yaml b/i18n/fr.yaml index 9e3fd1b..acb8a4d 100644 --- a/i18n/fr.yaml +++ b/i18n/fr.yaml @@ -17,9 +17,4 @@ permalink_section: Permalien vers cette partie tags: Tags information_icon: Icône information warning_icon: Icône attention -translations: Traductions also_available_in: "Également disponible en :" -table_of_contents: "Contenu :" -source_code: | - Les sources de ce site sont disponibles sur - ma forge logicielle. diff --git a/layouts/_partials/footer.html b/layouts/_partials/footer.html index 903a587..a0f4b73 100644 --- a/layouts/_partials/footer.html +++ b/layouts/_partials/footer.html @@ -11,6 +11,4 @@ {{partial "icon.html" (dict "icon" "creative-commons-nc-fill" "label" "Creative Commons Non Commercial Logo")}}
{{ T "generated_with_hugo" | safeHTML }} -
- {{ T "source_code" | safeHTML }}

diff --git a/layouts/baseof.html b/layouts/baseof.html index efe3805..6db0687 100644 --- a/layouts/baseof.html +++ b/layouts/baseof.html @@ -38,12 +38,12 @@
{{- if .IsTranslated }} {{- range .Translations }} - + {{- end }} {{- end }} diff --git a/layouts/blog/single.html b/layouts/blog/single.html index 25beffa..e7933c4 100644 --- a/layouts/blog/single.html +++ b/layouts/blog/single.html @@ -23,22 +23,8 @@ - - {{ with .TableOfContents }} - {{- if ne . `` }} -
-

{{ T "table_of_contents" }}

- {{ . }} -
- {{- end }} - {{- end }} -
{{ .Content }}
- - {{ end }}