diff --git a/.gitmodules b/.gitmodules
index 426d936..4c0d0a3 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -1,4 +1,4 @@
[submodule "themes/blowfish"]
path = themes/blowfish
url = https://github.com/nunocoracao/blowfish.git
- branch = main
+ branch = v2.57.0
diff --git a/config/_default/languages.en.toml b/config/_default/languages.en.toml
index d27d8be..59bf526 100644
--- a/config/_default/languages.en.toml
+++ b/config/_default/languages.en.toml
@@ -1,7 +1,7 @@
languageCode = "en"
languageName = "English"
weight = 1
-title = "d3vyce"
+title = "d3vyce's Blog"
[params]
displayName = "EN"
@@ -17,9 +17,9 @@ title = "d3vyce"
name = "d3vyce"
image = "img/author.png"
headline = "Hi 👋, Welcome to my Blog!"
- bio = "test"
+ bio = "Cybersecurity, Devops, Infrastructure"
links = [
- { email = "mailto:cotnact@d3vyce.fr" },
+ { email = "mailto:contact@d3vyce.fr" },
{ link = "https://d3vyce.fr/" },
{ github = "https://github.com/d3vyce" },
{ x-twitter = "https://twitter.com/d3vyce" },
diff --git a/config/_default/menus.en.toml b/config/_default/menus.en.toml
index 83d0dd1..df4969b 100644
--- a/config/_default/menus.en.toml
+++ b/config/_default/menus.en.toml
@@ -26,9 +26,15 @@
weight = 20
[[main]]
- name = "Homelab"
+ name = "Infrastructure"
parent = "Categories"
- pageRef = "categories/homelab"
+ pageRef = "categories/infrastructure"
+ weight = 10
+
+[[main]]
+ name = "Programming"
+ parent = "Categories"
+ pageRef = "categories/programming"
weight = 10
[[main]]
diff --git a/config/_default/params.toml b/config/_default/params.toml
index f473bf2..805aa68 100644
--- a/config/_default/params.toml
+++ b/config/_default/params.toml
@@ -12,7 +12,7 @@ autoSwitchAppearance = true
enableSearch = true
enableCodeCopy = true
-mainSections = ["security", "homelab"]
+mainSections = ["infrastructure", "programming", "security"]
# robots = ""
disableImageOptimization = false
@@ -39,7 +39,7 @@ smartTOCHideUnfocusedChildren = false
layout = "custom" # valid options: page, profile, hero, card, background, custom
homepageImage = "img/ocean.jpg" # used in: hero, and card
showRecent = true
- showRecentItems = 6
+ showRecentItems = 9
showMoreLink = true
showMoreLinkDest = "/posts"
cardView = true
diff --git a/content/_index.md b/content/_index.md
index 9c02285..f5b841b 100644
--- a/content/_index.md
+++ b/content/_index.md
@@ -4,3 +4,10 @@ description: "This page was built using the Blowfish theme for Hugo."
layout: "simple"
---
+{{< list title="Latest Projects" cardView=true limit=3 where="Type" value="projects" >}}
+
+
diff --git a/content/categories/_index.md b/content/categories/_index.md
index 1fa2822..31a7ce0 100644
--- a/content/categories/_index.md
+++ b/content/categories/_index.md
@@ -4,10 +4,20 @@ slug: "categories"
layout: "simple"
---
-{{< list title="Homelab" cardView=true limit=3 where="Type" value="homelab" >}}
+{{< list title="Infrastructure" cardView=true limit=3 where="Type" value="infrastructure" >}}
+
+---
+
+{{< list title="Programming" cardView=true limit=3 where="Type" value="programming" >}}
+
+
diff --git a/content/categories/homelab/index.md b/content/categories/homelab/index.md
deleted file mode 100644
index 18aae33..0000000
--- a/content/categories/homelab/index.md
+++ /dev/null
@@ -1,11 +0,0 @@
----
-title: "Homelab"
-draft: false
-slug: "homelab"
-layout: "simple"
-showWordCount: false
-showReadingTime: false
-showDate: false
----
-
-{{< list title=" " cardView=true limit=99 where="Type" value="homelab" >}}
diff --git a/content/categories/infrastructure.md b/content/categories/infrastructure.md
new file mode 100644
index 0000000..2871ec4
--- /dev/null
+++ b/content/categories/infrastructure.md
@@ -0,0 +1,11 @@
+---
+title: "Infrastructure"
+draft: false
+slug: "infrastructure"
+layout: "simple"
+showWordCount: false
+showReadingTime: false
+showDate: false
+---
+
+{{< list title=" " cardView=true limit=99 where="Type" value="infrastructure" >}}
diff --git a/content/categories/programming.md b/content/categories/programming.md
new file mode 100644
index 0000000..bb5c352
--- /dev/null
+++ b/content/categories/programming.md
@@ -0,0 +1,11 @@
+---
+title: "Programming"
+draft: false
+slug: "programming"
+layout: "simple"
+showWordCount: false
+showReadingTime: false
+showDate: false
+---
+
+{{< list title=" " cardView=true limit=99 where="Type" value="programming" >}}
diff --git a/content/categories/security/index.md b/content/categories/security.md
similarity index 100%
rename from content/categories/security/index.md
rename to content/categories/security.md
diff --git a/content/posts/authelia-selfhosted-sso/index.md b/content/posts/authelia-selfhosted-sso/index.md
index 07435d4..9ae8b95 100644
--- a/content/posts/authelia-selfhosted-sso/index.md
+++ b/content/posts/authelia-selfhosted-sso/index.md
@@ -3,7 +3,7 @@ title: "Authelia : a selfhosted SSO"
date: 2022-04-10
draft: false
slug: "authelia-selfhosted-sso"
-tags: ["tools", "sso"]
+tags: ["sso", "tools"]
type: "security"
---
diff --git a/content/posts/how-to-host-multiple-services-on-one-public-ip/index.md b/content/posts/how-to-host-multiple-services-on-one-public-ip/index.md
index d2638f4..b07f798 100644
--- a/content/posts/how-to-host-multiple-services-on-one-public-ip/index.md
+++ b/content/posts/how-to-host-multiple-services-on-one-public-ip/index.md
@@ -4,7 +4,7 @@ date: 2022-02-28
draft: false
slug: "how-to-host-multiple-services-on-one-public-ip"
tags: ["reverse proxy"]
-type: "homelab"
+type: "infrastructure"
---
You have services that you want to make accessible from outside? A Plex, a password manager, a website, ... You use a non professional connection with a dynamic external IP ? then you must have asked yourself the question of how to host more than one service with only one external IP address !
diff --git a/content/posts/how-to-index-your-blog-on-google/index.md b/content/posts/how-to-index-your-blog-on-google/index.md
index 786b7e4..cf58a3a 100644
--- a/content/posts/how-to-index-your-blog-on-google/index.md
+++ b/content/posts/how-to-index-your-blog-on-google/index.md
@@ -4,7 +4,7 @@ date: 2022-02-01
draft: false
slug: "how-to-index-your-blog-on-google"
tags: []
-type: "homelab"
+type: "infrastructure"
---
## What's indexation ?
diff --git a/content/posts/how-to-make-daily-backups-of-your-homelab/index.md b/content/posts/how-to-make-daily-backups-of-your-homelab/index.md
index 210f6d1..4789410 100644
--- a/content/posts/how-to-make-daily-backups-of-your-homelab/index.md
+++ b/content/posts/how-to-make-daily-backups-of-your-homelab/index.md
@@ -4,7 +4,7 @@ date: 2022-07-19
draft: false
slug: "how-to-make-daily-backups-of-your-homelab"
tags: ["backup", "tools"]
-type: "homelab"
+type: "infrastructure"
---
You have your local homelab in which you store all your data. You have set up security measures to avoid data loss: parity disk, hot spare, cold spare, RAID, ... But in the event that your server burns down, a power surge fries your server and the data it contains, ... are you ready?
diff --git a/content/posts/migrate-from-ghost-to-hugo/index.md b/content/posts/migrate-from-ghost-to-hugo/index.md
new file mode 100644
index 0000000..975bf9d
--- /dev/null
+++ b/content/posts/migrate-from-ghost-to-hugo/index.md
@@ -0,0 +1,9 @@
+---
+title: "Migrate from Ghost to Hugo"
+date: 2024-02-17
+draft: false
+slug: "migrate-from-ghost-to-hugo"
+tags: []
+type: "programming"
+---
+
diff --git a/content/posts/my-current-homelab/index.md b/content/posts/my-current-homelab/index.md
index dd50898..03bfbb0 100644
--- a/content/posts/my-current-homelab/index.md
+++ b/content/posts/my-current-homelab/index.md
@@ -4,7 +4,7 @@ date: 2022-02-11
draft: false
slug: "my-current-homelab"
tags: []
-type: "homelab"
+type: "infrastructure"
---
## What's a Homelab ?
diff --git a/i18n/en.yaml b/i18n/en.yaml
new file mode 100644
index 0000000..6fe2162
--- /dev/null
+++ b/i18n/en.yaml
@@ -0,0 +1,2 @@
+shortcode:
+ recent_articles: "Recent Articles"
\ No newline at end of file
diff --git a/layouts/partials/extend-head.html b/layouts/partials/extend-head.html
new file mode 100644
index 0000000..9ba391c
--- /dev/null
+++ b/layouts/partials/extend-head.html
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/layouts/partials/home/custom.html b/layouts/partials/home/custom.html
new file mode 100644
index 0000000..f4617c8
--- /dev/null
+++ b/layouts/partials/home/custom.html
@@ -0,0 +1,40 @@
+{{ $disableImageOptimization := .Site.Params.disableImageOptimization | default false }}
+
+
+
+
+ {{ .Content | emojify }}
+ {{ partial "recent-articles/main.html" . }}
+
diff --git a/nginx/default.conf b/nginx/default.conf
index f45971e..a8077a1 100644
--- a/nginx/default.conf
+++ b/nginx/default.conf
@@ -17,10 +17,10 @@ server {
# redirect server error pages to the static page /50x.html
#
- error_page 500 502 503 504 /50x.html;
- location = /50x.html {
- root /usr/share/nginx/html;
- }
+ # error_page 500 502 503 504 /50x.html;
+ # location = /50x.html {
+ # root /usr/share/nginx/html;
+ # }
# proxy the PHP scripts to Apache listening on 127.0.0.1:80
#