From 4a16837cbefa1f075ad61da1ac3822a7c79992c0 Mon Sep 17 00:00:00 2001 From: d3vyce Date: Thu, 15 Feb 2024 20:22:49 +0100 Subject: [PATCH] feat: many updates/fixes --- config/_default/menus.en.toml | 6 +-- config/_default/params.toml | 12 +++--- content/_index.md | 6 ++- content/about.md | 0 content/about/img/profil-modified.png | 3 ++ content/about/index.md | 34 ++++++++++++++++ content/categories.md | 12 ------ content/categories/_index.md | 23 +++++++++++ content/categories/homelab/index.md | 11 +++++ content/categories/security/index.md | 11 +++++ content/posts/_index.md | 9 +---- .../posts/authelia-selfhosted-sso/index.md | 1 + .../index.md | 3 +- .../how-to-index-your-blog-on-google/index.md | 3 +- .../index.md | 3 +- content/posts/my-current-homelab/index.md | 3 +- content/projects/_index.md | 4 +- content/projects/d3vyce-fr/index.md | 6 +++ content/projects/homelab/index.md | 7 ++++ content/projects/pentools/index.md | 1 + content/projects/teleinfo-exporter/index.md | 1 + content/projects/url-shortener/index.md | 1 + layouts/categories/simple.html | 18 +++++++++ static/.well-known/security.txt | 5 +++ static/pgp-key.txt | 40 +++++++++++++++++++ static/robots.txt | 2 + 26 files changed, 190 insertions(+), 35 deletions(-) delete mode 100644 content/about.md create mode 100644 content/about/img/profil-modified.png create mode 100644 content/about/index.md delete mode 100644 content/categories.md create mode 100644 content/categories/_index.md create mode 100644 content/categories/homelab/index.md create mode 100644 content/categories/security/index.md create mode 100644 layouts/categories/simple.html create mode 100644 static/.well-known/security.txt create mode 100644 static/pgp-key.txt create mode 100644 static/robots.txt diff --git a/config/_default/menus.en.toml b/config/_default/menus.en.toml index 1e744fd..83d0dd1 100644 --- a/config/_default/menus.en.toml +++ b/config/_default/menus.en.toml @@ -28,13 +28,13 @@ [[main]] name = "Homelab" parent = "Categories" - pageRef = "tags/homelab" + pageRef = "categories/homelab" weight = 10 [[main]] - name = "Tools" + name = "Security" parent = "Categories" - pageRef = "tags/tools" + pageRef = "categories/security" weight = 10 [[main]] diff --git a/config/_default/params.toml b/config/_default/params.toml index ee3cd8a..f473bf2 100644 --- a/config/_default/params.toml +++ b/config/_default/params.toml @@ -12,7 +12,7 @@ autoSwitchAppearance = true enableSearch = true enableCodeCopy = true -mainSections = ["posts"] +mainSections = ["security", "homelab"] # robots = "" disableImageOptimization = false @@ -36,10 +36,10 @@ smartTOCHideUnfocusedChildren = false showScrollToTop = true [homepage] - layout = "background " # valid options: page, profile, hero, card, background, custom + layout = "custom" # valid options: page, profile, hero, card, background, custom homepageImage = "img/ocean.jpg" # used in: hero, and card showRecent = true - showRecentItems = 12 + showRecentItems = 6 showMoreLink = true showMoreLinkDest = "/posts" cardView = true @@ -53,8 +53,8 @@ smartTOCHideUnfocusedChildren = false showDateOnlyInArticle = false showDateUpdated = false showAuthor = true - showHero = false - # heroStyle = "basic" # valid options: basic, big, background, thumbAndBackground + showHero = true + heroStyle = "background" # valid options: basic, big, background, thumbAndBackground layoutBackgroundBlur = true # only used when heroStyle equals background or thumbAndBackground layoutBackgroundHeaderSpace = true # only used when heroStyle equals background showBreadcrumbs = true @@ -137,7 +137,7 @@ smartTOCHideUnfocusedChildren = false # globalWidgetPosition = "Right" [verification] - # google = "" + google = "tCR7tQ5g7ZL3HYnTZA4QSOgz2XmndbzJOay7FaPfNh4" # bing = "" # pinterest = "" # yandex = "" diff --git a/content/_index.md b/content/_index.md index 443ed9f..9c02285 100644 --- a/content/_index.md +++ b/content/_index.md @@ -1,2 +1,6 @@ +--- +title: "d3vyce Blog's" +description: "This page was built using the Blowfish theme for Hugo." +layout: "simple" +--- - \ No newline at end of file diff --git a/content/about.md b/content/about.md deleted file mode 100644 index e69de29..0000000 diff --git a/content/about/img/profil-modified.png b/content/about/img/profil-modified.png new file mode 100644 index 0000000..c92d9bb --- /dev/null +++ b/content/about/img/profil-modified.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a02ce495c807a4e068294e52b364f0ce1a702527b0ecf33862b183065c111e0a +size 66259 diff --git a/content/about/index.md b/content/about/index.md new file mode 100644 index 0000000..3cd6b63 --- /dev/null +++ b/content/about/index.md @@ -0,0 +1,34 @@ +--- +title: "About" +slug: "about" +layout: "simple" +--- + + + +Hi, I'm Nicolas S aka d3vyce. I am a network and cybersecurity engineer living in France. I've always been passionate about computer science and technology, and over the years I've developed my skills in various fields such as programming, cybersecurity, infrastructure, networks, ... In addition to my master degree in networks and security, I love CTF and I have a homelab at home to continue my learning and experiment new things. + +{{< alert icon="circle-info" >}} +If you want to send me an email, you can secure it by using my [PGP key](https://blog.d3vyce.fr/pgp-key.txt). +This site uses the [security.txt](https://blog.d3vyce.fr/.well-known/security.txt) standard for bug reporting. +{{< /alert >}} + +--- + +{{< timeline >}} + +{{< timelineItem icon="globe" header="Engineering internship: Network Design Architect" badge="2019/2022" subheader="" >}} +Multi-technology collection capacity planning. Study and management of network evolution (collection, xDSL, Fiber, Backbone). Technical deliverables, pre-sales and OSM technical support. +{{< /timelineItem >}} + +{{< timelineItem icon="graduation-cap" header="Master's degree in Networks and Cybersecurity" badge="2019/2022" subheader="" >}} +{{< /timelineItem >}} + +{{< timelineItem icon="globe" header="Optimization and Monitoring of an enterprise network" badge="2019" subheader="" >}} +Upgrade and documentation of network equipment, implementation of a monitoring and automatic alert solution. +{{< /timelineItem >}} + +{{< timelineItem icon="graduation-cap" header="Two-year University degree in Networks and Telecommunications" badge="2017/2019" subheader="" >}} +{{< /timelineItem >}} + +{{< /timeline >}} diff --git a/content/categories.md b/content/categories.md deleted file mode 100644 index 2958479..0000000 --- a/content/categories.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -title: "Categories" -draft: false -slug: "categories" -showAuthor: false -showDate: false -showZenMode: false -showWordCount: false -showReadingTime: false ---- - - diff --git a/content/categories/_index.md b/content/categories/_index.md new file mode 100644 index 0000000..1fa2822 --- /dev/null +++ b/content/categories/_index.md @@ -0,0 +1,23 @@ +--- +title: "Categories" +slug: "categories" +layout: "simple" +--- + +{{< list title="Homelab" cardView=true limit=3 where="Type" value="homelab" >}} + +
+ + + +
+ +--- + +{{< list title="Security" cardView=true limit=3 where="Type" value="security" >}} + +
+ + + +
diff --git a/content/categories/homelab/index.md b/content/categories/homelab/index.md new file mode 100644 index 0000000..18aae33 --- /dev/null +++ b/content/categories/homelab/index.md @@ -0,0 +1,11 @@ +--- +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/security/index.md b/content/categories/security/index.md new file mode 100644 index 0000000..51028b7 --- /dev/null +++ b/content/categories/security/index.md @@ -0,0 +1,11 @@ +--- +title: "Security" +draft: false +slug: "security" +layout: "simple" +showWordCount: false +showReadingTime: false +showDate: false +--- + +{{< list title=" " cardView=true limit=99 where="Type" value="security" >}} diff --git a/content/posts/_index.md b/content/posts/_index.md index 08376a6..33e27b1 100644 --- a/content/posts/_index.md +++ b/content/posts/_index.md @@ -1,9 +1,4 @@ --- title: "Articles" -# description: "Learn how to use Blowfish and its features." - -# cascade: -# showDate: false -# showAuthor: false -# invertPagination: true ---- \ No newline at end of file +slug: "articles" +--- diff --git a/content/posts/authelia-selfhosted-sso/index.md b/content/posts/authelia-selfhosted-sso/index.md index 651b6b3..07435d4 100644 --- a/content/posts/authelia-selfhosted-sso/index.md +++ b/content/posts/authelia-selfhosted-sso/index.md @@ -4,6 +4,7 @@ date: 2022-04-10 draft: false slug: "authelia-selfhosted-sso" tags: ["tools", "sso"] +type: "security" --- ## What's an SSO ? 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 416fb38..d2638f4 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 @@ -3,7 +3,8 @@ title: "How to host multiple services on one public IP ?" date: 2022-02-28 draft: false slug: "how-to-host-multiple-services-on-one-public-ip" -tags: ["homelab", "reverse proxy"] +tags: ["reverse proxy"] +type: "homelab" --- 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 ef7d531..786b7e4 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 @@ -3,7 +3,8 @@ title: "How to index your Blog on Google Search" date: 2022-02-01 draft: false slug: "how-to-index-your-blog-on-google" -tags: ["indexing"] +tags: [] +type: "homelab" --- ## 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 a33fd44..210f6d1 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 @@ -3,7 +3,8 @@ title: "How to make daily backups of your HomeLab with Rclone?" date: 2022-07-19 draft: false slug: "how-to-make-daily-backups-of-your-homelab" -tags: ["backup", "homelab", "tools"] +tags: ["backup", "tools"] +type: "homelab" --- 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/my-current-homelab/index.md b/content/posts/my-current-homelab/index.md index 47bfd31..dd50898 100644 --- a/content/posts/my-current-homelab/index.md +++ b/content/posts/my-current-homelab/index.md @@ -3,7 +3,8 @@ title: "My current Homelab" date: 2022-02-11 draft: false slug: "my-current-homelab" -tags: ["homelab"] +tags: [] +type: "homelab" --- ## What's a Homelab ? diff --git a/content/projects/_index.md b/content/projects/_index.md index 9445862..e53c998 100644 --- a/content/projects/_index.md +++ b/content/projects/_index.md @@ -1,4 +1,4 @@ --- title: "Projects" -# groupByYear: true ---- \ No newline at end of file +slug: "projects" +--- diff --git a/content/projects/d3vyce-fr/index.md b/content/projects/d3vyce-fr/index.md index 9ee9557..8744b1d 100644 --- a/content/projects/d3vyce-fr/index.md +++ b/content/projects/d3vyce-fr/index.md @@ -7,6 +7,7 @@ showAuthor: false showWordCount: false showReadingTime: false showRelatedContent: false +showPagination: false tags: ["css3", "html5", "javascript", "bootstrap"] --- @@ -15,3 +16,8 @@ tags: ["css3", "html5", "javascript", "bootstrap"] {{< github repo="d3vyce/d3vyce.fr" >}} +Development of my personal website in addition to my Blog. + +The goal was to gather in one place a showcase of my skills, my trainings/certifications and my current and past projects. + +For this site I used Bootstrap 5 to see what was possible with this library. diff --git a/content/projects/homelab/index.md b/content/projects/homelab/index.md index 3d820d4..fe8d733 100644 --- a/content/projects/homelab/index.md +++ b/content/projects/homelab/index.md @@ -7,5 +7,12 @@ showAuthor: false showWordCount: false showReadingTime: false showRelatedContent: false +showPagination: false tags: ["opnsense", "wireguard", "docker", "unraid", "qemu"] --- + +Initially, my goal was to create a media server accessible from anywhere with Plex. + +That was the initial objective, but you will see that today my homelab is much more extensive than that. + +I have over 20 selfhosted services ranging from password manager, web hosting, game server, etc. diff --git a/content/projects/pentools/index.md b/content/projects/pentools/index.md index 722ac05..465266c 100644 --- a/content/projects/pentools/index.md +++ b/content/projects/pentools/index.md @@ -7,6 +7,7 @@ showAuthor: false showWordCount: false showReadingTime: false showRelatedContent: false +showPagination: false tags: ["bash"] --- diff --git a/content/projects/teleinfo-exporter/index.md b/content/projects/teleinfo-exporter/index.md index baa2399..ade883d 100644 --- a/content/projects/teleinfo-exporter/index.md +++ b/content/projects/teleinfo-exporter/index.md @@ -8,6 +8,7 @@ showAuthor: false showWordCount: false showReadingTime: false showRelatedContent: false +showPagination: false tags: ["python", "prometheus", "docker", "grafana", "esp32", "mqtt"] --- diff --git a/content/projects/url-shortener/index.md b/content/projects/url-shortener/index.md index f67d1a2..86e8de4 100644 --- a/content/projects/url-shortener/index.md +++ b/content/projects/url-shortener/index.md @@ -7,5 +7,6 @@ showAuthor: false showWordCount: false showReadingTime: false showRelatedContent: false +showPagination: false tags: ["python", "docker", "sql", "flask"] --- diff --git a/layouts/categories/simple.html b/layouts/categories/simple.html new file mode 100644 index 0000000..cc88479 --- /dev/null +++ b/layouts/categories/simple.html @@ -0,0 +1,18 @@ +{{ define "main" }} +
+
+ {{ if .Params.showBreadcrumbs | default (.Site.Params.article.showBreadcrumbs | default false) }} + {{ partial "breadcrumbs.html" . }} + {{ end }} +

+ {{ .Title | emojify }} +

+
+
+ {{ .Content | emojify }} +
+ +
+{{ end }} diff --git a/static/.well-known/security.txt b/static/.well-known/security.txt new file mode 100644 index 0000000..2cace1c --- /dev/null +++ b/static/.well-known/security.txt @@ -0,0 +1,5 @@ +Contact: mailto:contact@d3vyce.fr +Expires: 2024-12-31T23:00:00.000Z +Encryption: https://www.d3vyce.fr/pgp-key.txt +Preferred-Languages: en +Canonical: https://www.d3vyce.fr/.well-known/security.txt diff --git a/static/pgp-key.txt b/static/pgp-key.txt new file mode 100644 index 0000000..384fdfa --- /dev/null +++ b/static/pgp-key.txt @@ -0,0 +1,40 @@ +-----BEGIN PGP PUBLIC KEY BLOCK----- +mQGNBGKAxqsBDADyZEykOeFgijqIgV5+0In6P06DTGFMlVm1U5bmmDd6Qf3ONcNL +/yCc11YxIkeaQbSLgYvYXT/WR0sWsc3GtkcrOtmI5ERdDsANMtV1popwsFPYfxvm +YngcFwnrAl48/ea6PhV2DkmRh4xSyRfF/nu1jVxoDL3I8cycuKL92iy++BHlywDw +6BHZLw8zHh7wW5mYOmFMMarKZe5lgeSfVfxXHT/UScFNUy1vVEsEhwmFn1syKZFD +A9mhbR93rFrM8wl0iU7IAsqX1NUS5MJDdAi/x4y9+7vbuEKoJoDEOko+/PCrClGn +ex5LL687Egof2j7I9gGO1Kivx35tpzlobT3vmIwK4NxM2ZaOgSTFCFxGg+5ZXkv+ +1Rx2/bubElxDaeEbcZamGOj60cYxZQ1j1Z8hBeD66Vt+Ylc4OoiwyTwKQ7nEthOt +jXLVhdaSPLH+muCvOTrnJ8wB7STq6W7LKOB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iAfPWh+3Z3Xtoj7X6J2Hz8MSO2fqs6myGwZ2SDP1JWmk+Ds/I12piS +dvX5kPyqfzEk1kWpNrlDHzb4qqyUSRCt3LAVC1z5ppFb7S1X42VR/CQSLBiEW3++ +L8BUZaT6DkoQPe5bYyvU9n2wIuGe58o5JazVPHqGBln1iGPkqtphFIZ+CQARAQAB +iQG2BBgBCAAgFiEEA1faAs4WkTN4Y4W85/+kehDYlpoFAmKAxqsCGwwACgkQ5/+k +ehDYlppM9Qv/bg5RVtvk4FEYREbT5qk3r52AdqgP323O7KpsZ6DE1i4GHYB+XKUm +Ds8+5lVxNBwbLK0+sIMtyp0ivfud8wWojTz2fdjzPrhLxIMmSrYrAcJaP2Xt6OuE +YG0HX9tRQJsE3UGiw2YIrpR55HN2yXBvjdSsm4fgtHA5HimLYGIlP3mtx0y6/c+9 +EAahjIWvctYZUf25mI/gelaf5G2RUhQfT55Cboh0sVLHJ4u67RAAGHftvTmutYBp +Zfw/amoyZMg8irn/LM2WA2K4A+5NVxCaEw4Rd0XqCTKi3o4AXqQ5LBveNgJKJG4h +TFR3fWFDcCYAJ2bMG2Pd1O3SvMxmVMQUkgBr9Dvz52om73UMtI1EmEnKVtwPiwNe +A2ZPpaloEm+0Ng4nbfBz7xgWqfwFUaMAKtJLww+wWDususlaR4nZse+BU3C0Q/iR +xCxl6+reyaualNHE+dVBcvgWNS7KrsjnDGQuYcDFHDptrp9NkQ2QBX46LxyGh2IU ++MXMnd7qxuEK +=c2bB +-----END PGP PUBLIC KEY BLOCK----- diff --git a/static/robots.txt b/static/robots.txt new file mode 100644 index 0000000..d921fe4 --- /dev/null +++ b/static/robots.txt @@ -0,0 +1,2 @@ +User-agent: * +Sitemap: https://blog.d3vyce.fr/sitemap.xml