Hextra theme (#1)

* Adapt theme
* Update Contents to match with new theme
* chore: few updates
* adapt HomePage
* Add icons and french version
* fix fr homepage
* Fix Netlab view
* Fix Netlab articles
* devpod post
* French version of DevPod
* my_first_lab
This commit is contained in:
D. Arnodo
2025-02-19 19:46:53 +01:00
committed by GitHub
parent 33f66e242f
commit b47a267dc0
52 changed files with 2059 additions and 324 deletions

104
hugo.yaml
View File

@@ -1,65 +1,57 @@
baseURL: https://notes.arnodo.fr/
title: 🧑‍💻 Notes
pagination.pagerSize: 5
theme: PaperMod
params:
ShowReadingTime: true
ShowPostNavLinks: true
ShowBreadCrumbs: true
ShowCodeCopyButtons: true
socialIcons:
- name: github
url: "https://github.com/darnodo"
- name: linkedin
url: "https://www.linkedin.com/in/darnodo/"
baseURL: https://notebook.arnodo.fr/
title: 🧑‍💻 Notebook
theme: hextra
defaultContentLanguage: en
languages:
en:
languageName: English
contentDir: 'content/en'
params:
homeInfoParams:
enabled: true
Title: "Welcome to my Note Book! 🚀"
Content: >
Here, we dive into the world of **NetOps, networking, and system automation**—exploring tools, best practices, and hands-on tips to streamline operations.
menu:
main:
- name: Categories
url: /categories/
weight: 10
- name: Tags
url: /tags/
weight: 20
- name: Archives
url: archives/
weight: 30
weight: 1
fr:
languageName: Français
contentDir: 'content/fr'
params:
homeInfoParams:
enabled: true
Title: "Bienvenue sur mon blog ! 🚀"
Content: >
Ici, nous plongeons dans lunivers du **NetOps, du networking et de lautomatisation des systèmes**, en explorant les outils, les meilleures pratiques et des conseils pratiques pour optimiser les opérations.
weight: 2
menu:
main:
- name: Catégories
url: /categories/
weight: 10
- name: Tags
url: /tags/
weight: 20
- name: Archives
url: archives
weight: 30
menu:
main:
- name: Documentation
pageRef: /documentation
weight: 1
- name: Netlab
pageRef: /netlab
weight: 2
- name: About
pageRef: /about
weight: 3
- name: Search
weight: 4
params:
type: search
- name: GitHub
weight: 5
url: "https://github.com/darnodo"
params:
icon: github
params:
# Navbar
navbar:
displayTitle: true
displayLogo: true
# Logo
logo:
path: images/logo.svg
link: /
width: 40
height: 20
# Search
search:
enable: true
type: flexsearch
flexsearch:
# index page by: content | summary | heading | title
index: heading
markup:
goldmark:
renderer:
unsafe: true