{{ .Title }}
- -{{ .Summary }}
-diff --git a/.gitea/workflows/hugo-deploy.yml b/.gitea/workflows/hugo-deploy.yml index bd80eb0..8da89de 100644 --- a/.gitea/workflows/hugo-deploy.yml +++ b/.gitea/workflows/hugo-deploy.yml @@ -16,7 +16,7 @@ jobs: - name: Checkout repo run: | - git clone --depth 1 --branch "${GITHUB_REF_NAME}" "http://gitea:3000/${GITHUB_REPOSITORY}.git" . + git clone --depth 1 --branch "${GITHUB_REF_NAME}" --recurse-submodules --shallow-submodules "http://gitea:3000/${GITHUB_REPOSITORY}.git" . - name: Build Hugo site run: hugo --minify diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..89af1b0 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "themes/PaperMod"] + path = themes/PaperMod + url = https://github.com/adityatelange/hugo-PaperMod.git diff --git a/content/_index.md b/content/_index.md deleted file mode 100644 index 22e2061..0000000 --- a/content/_index.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -title: "Accueil" ---- - -Bienvenue sur le blog de Bojemoi Lab. diff --git a/content/posts/gitea-actions-alpine-hugo.md b/content/posts/gitea-actions-alpine-hugo.md index 5786309..ccb49f8 100644 --- a/content/posts/gitea-actions-alpine-hugo.md +++ b/content/posts/gitea-actions-alpine-hugo.md @@ -2,6 +2,8 @@ title: "CI/CD Hugo avec Gitea Actions et Alpine" date: 2026-02-06T19:00:00+00:00 draft: false +tags: ["gitea", "ci-cd", "alpine", "hugo", "devops"] +summary: "Comment ce blog se déploie tout seul en moins de 15 secondes avec un pipeline Alpine + Hugo minimaliste." --- Comment ce blog se déploie tout seul en moins de 15 secondes, avec un pipeline minimaliste. diff --git a/content/posts/premier-article.md b/content/posts/premier-article.md index e0a5708..e65e832 100644 --- a/content/posts/premier-article.md +++ b/content/posts/premier-article.md @@ -2,6 +2,8 @@ title: "Premier article" date: 2026-02-06 draft: false +tags: ["hugo", "blog"] +summary: "Bienvenue sur le blog Bojemoi Lab. Présentation de la stack technique." --- Bienvenue sur le blog Bojemoi Lab. diff --git a/content/search.md b/content/search.md new file mode 100644 index 0000000..fea5099 --- /dev/null +++ b/content/search.md @@ -0,0 +1,5 @@ +--- +title: "Recherche" +layout: "search" +placeholder: "Rechercher un article..." +--- diff --git a/hugo.toml b/hugo.toml index f89ae8a..205a4d7 100644 --- a/hugo.toml +++ b/hugo.toml @@ -1,9 +1,48 @@ baseURL = 'https://blog.bojemoi.me/' languageCode = 'fr' title = 'Bojemoi Blog' +theme = 'PaperMod' [params] + env = 'production' description = "Blog technique - Bojemoi Lab" + author = 'Bojemoi' + defaultTheme = 'auto' + ShowReadingTime = true + ShowShareButtons = false + ShowPostNavLinks = true + ShowBreadCrumbs = true + ShowCodeCopyButtons = true + ShowToc = true + + [params.homeInfoParams] + Title = "Bojemoi Lab" + Content = "Blog technique - Infrastructure, DevOps, S\u00e9curit\u00e9" + + [[params.socialIcons]] + name = 'gitea' + url = 'https://gitea.bojemoi.me' [markup.goldmark.renderer] unsafe = true + +[markup.highlight] + style = 'monokai' + +[[menu.main]] + name = 'Articles' + url = '/posts/' + weight = 10 + +[[menu.main]] + name = 'Tags' + url = '/tags/' + weight = 20 + +[[menu.main]] + name = 'Search' + url = '/search/' + weight = 30 + +[outputs] + home = ['HTML', 'RSS', 'JSON'] diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html deleted file mode 100644 index 2138a75..0000000 --- a/layouts/_default/baseof.html +++ /dev/null @@ -1,21 +0,0 @@ - - -
- - -{{ .Site.Params.description }}
-{{ .Summary }}
-{{ .Summary }}
-