From b1c67edf51d80261f6b2a6dbbc9bca1493ab39fc Mon Sep 17 00:00:00 2001 From: d3vyce Date: Sun, 18 Feb 2024 16:03:49 +0100 Subject: [PATCH] fix/feat: many things --- .../img/profil.png | Bin config/_default/languages.en.toml | 4 +- content/about/index.md | 4 +- content/categories/_index.md | 2 +- .../posts/authelia-selfhosted-sso/index.md | 3 +- .../index.md | 3 +- .../how-to-index-your-blog-on-google/index.md | 3 +- .../index.md | 3 +- .../posts/migrate-from-ghost-to-hugo/index.md | 4 +- content/posts/my-current-homelab/index.md | 3 +- content/projects/d3vyce-fr/index.md | 3 +- content/projects/homelab/index.md | 3 +- content/projects/pentools/index.md | 3 +- content/projects/teleinfo-exporter/index.md | 4 +- content/projects/url-shortener/index.md | 4 +- layouts/_default/about.html | 44 ++++++++++++++++++ .../simple.html => _default/categories.html} | 0 17 files changed, 61 insertions(+), 29 deletions(-) rename content/about/img/profil-modified.png => assets/img/profil.png (100%) create mode 100644 layouts/_default/about.html rename layouts/{categories/simple.html => _default/categories.html} (100%) diff --git a/content/about/img/profil-modified.png b/assets/img/profil.png similarity index 100% rename from content/about/img/profil-modified.png rename to assets/img/profil.png diff --git a/config/_default/languages.en.toml b/config/_default/languages.en.toml index 59bf526..b6a8d81 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's Blog" +title = "d3vyce Blog" [params] displayName = "EN" @@ -15,7 +15,7 @@ title = "d3vyce's Blog" [author] name = "d3vyce" - image = "img/author.png" + image = "img/profil.png" headline = "Hi 👋, Welcome to my Blog!" bio = "Cybersecurity, Devops, Infrastructure" links = [ diff --git a/content/about/index.md b/content/about/index.md index 3cd6b63..755b1d4 100644 --- a/content/about/index.md +++ b/content/about/index.md @@ -1,11 +1,9 @@ --- title: "About" slug: "about" -layout: "simple" +layout: "about" --- - - 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" >}} diff --git a/content/categories/_index.md b/content/categories/_index.md index 31a7ce0..7910cf4 100644 --- a/content/categories/_index.md +++ b/content/categories/_index.md @@ -1,7 +1,7 @@ --- title: "Categories" slug: "categories" -layout: "simple" +layout: "categories" --- {{< list title="Infrastructure" cardView=true limit=3 where="Type" value="infrastructure" >}} diff --git a/content/posts/authelia-selfhosted-sso/index.md b/content/posts/authelia-selfhosted-sso/index.md index 9ae8b95..72d7313 100644 --- a/content/posts/authelia-selfhosted-sso/index.md +++ b/content/posts/authelia-selfhosted-sso/index.md @@ -1,9 +1,8 @@ --- title: "Authelia : a selfhosted SSO" date: 2022-04-10 -draft: false slug: "authelia-selfhosted-sso" -tags: ["sso", "tools"] +tags: ["authentication", "docker", "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 b07f798..82e4575 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 @@ -1,9 +1,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: ["reverse proxy"] +tags: ["ddns", "docker", "network", "reverse proxy"] type: "infrastructure" --- 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 cf58a3a..53e23a9 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 @@ -1,9 +1,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: [] +tags: ["indexation", "search engine"] type: "infrastructure" --- 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 4789410..90380aa 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 @@ -1,9 +1,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", "tools"] +tags: ["backup", "docker", "storage", "tools"] type: "infrastructure" --- diff --git a/content/posts/migrate-from-ghost-to-hugo/index.md b/content/posts/migrate-from-ghost-to-hugo/index.md index 975bf9d..49059d5 100644 --- a/content/posts/migrate-from-ghost-to-hugo/index.md +++ b/content/posts/migrate-from-ghost-to-hugo/index.md @@ -1,9 +1,9 @@ --- title: "Migrate from Ghost to Hugo" date: 2024-02-17 -draft: false +draft: true slug: "migrate-from-ghost-to-hugo" -tags: [] +tags: ["ci/cd", "docker", "hugo"] type: "programming" --- diff --git a/content/posts/my-current-homelab/index.md b/content/posts/my-current-homelab/index.md index 03bfbb0..2321ec7 100644 --- a/content/posts/my-current-homelab/index.md +++ b/content/posts/my-current-homelab/index.md @@ -1,9 +1,8 @@ --- title: "My current Homelab" date: 2022-02-11 -draft: false slug: "my-current-homelab" -tags: [] +tags: ["docker", "network", "storage"] type: "infrastructure" --- diff --git a/content/projects/d3vyce-fr/index.md b/content/projects/d3vyce-fr/index.md index 8744b1d..9fc36df 100644 --- a/content/projects/d3vyce-fr/index.md +++ b/content/projects/d3vyce-fr/index.md @@ -1,14 +1,13 @@ --- title: "d3vyce.fr" date: 2022-08-06 -draft: false slug: "d3vyce-fr" showAuthor: false showWordCount: false showReadingTime: false showRelatedContent: false showPagination: false -tags: ["css3", "html5", "javascript", "bootstrap"] +tags: ["bootstrap", "css3", "html5", "javascript"] --- ## Overview diff --git a/content/projects/homelab/index.md b/content/projects/homelab/index.md index fe8d733..d4860d2 100644 --- a/content/projects/homelab/index.md +++ b/content/projects/homelab/index.md @@ -1,14 +1,13 @@ --- title: "Homelab" date: 2019-07-21 -draft: false slug: "homelab" showAuthor: false showWordCount: false showReadingTime: false showRelatedContent: false showPagination: false -tags: ["opnsense", "wireguard", "docker", "unraid", "qemu"] +tags: ["docker", "opnsense", "qemu", "unraid", "wireguard"] --- Initially, my goal was to create a media server accessible from anywhere with Plex. diff --git a/content/projects/pentools/index.md b/content/projects/pentools/index.md index 465266c..f8d50f5 100644 --- a/content/projects/pentools/index.md +++ b/content/projects/pentools/index.md @@ -1,14 +1,13 @@ --- title: "Pentools" date: 2023-01-29 -draft: false slug: "pentools" showAuthor: false showWordCount: false showReadingTime: false showRelatedContent: false showPagination: false -tags: ["bash"] +tags: ["bash", "tools"] --- ## Overview diff --git a/content/projects/teleinfo-exporter/index.md b/content/projects/teleinfo-exporter/index.md index ade883d..b6312d1 100644 --- a/content/projects/teleinfo-exporter/index.md +++ b/content/projects/teleinfo-exporter/index.md @@ -1,15 +1,13 @@ --- title: "Teleinfo Exporter" date: 2023-12-19 -draft: false slug: "teleinfo-exporter" -# summary: "Template for creating a recipe for Blowfish theme" showAuthor: false showWordCount: false showReadingTime: false showRelatedContent: false showPagination: false -tags: ["python", "prometheus", "docker", "grafana", "esp32", "mqtt"] +tags: ["docker", "esp32", "grafana", "mqtt", "prometheus", "python"] --- ## Overview diff --git a/content/projects/url-shortener/index.md b/content/projects/url-shortener/index.md index 86e8de4..32cd214 100644 --- a/content/projects/url-shortener/index.md +++ b/content/projects/url-shortener/index.md @@ -1,12 +1,12 @@ --- title: "URL Shortener" date: 2023-03-05 -draft: false +draft: true slug: "url-shortener" showAuthor: false showWordCount: false showReadingTime: false showRelatedContent: false showPagination: false -tags: ["python", "docker", "sql", "flask"] +tags: ["docker", "flask", "python", "sql"] --- diff --git a/layouts/_default/about.html b/layouts/_default/about.html new file mode 100644 index 0000000..4d74524 --- /dev/null +++ b/layouts/_default/about.html @@ -0,0 +1,44 @@ +{{ define "main" }} +{{ $disableImageOptimization := .Site.Params.disableImageOptimization | default false }} +
+
+ {{ with .Site.Author.image }} + {{ $authorImage := resources.Get . }} + {{ if $authorImage }} + {{ if not $disableImageOptimization }} + {{ $authorImage = $authorImage.Fill "288x288" }} + {{ end }} + {{ $.Site.Author.name | default + {{ end }} + {{ end }} +

+ {{ .Site.Author.name | default .Site.Title }} +

+
+ {{ partialCached "author-links.html" . }} +
+
+
+
+
+ {{ if .Params.showBreadcrumbs | default (.Site.Params.article.showBreadcrumbs | default false) }} + {{ partial "breadcrumbs.html" . }} + {{ end }} +

+ {{ .Title | emojify }} +

+
+
+ {{ .Content | emojify }} +
+ +
+{{ end }} diff --git a/layouts/categories/simple.html b/layouts/_default/categories.html similarity index 100% rename from layouts/categories/simple.html rename to layouts/_default/categories.html