From 6b9342443199726aa9018bcaf125779dc140a852 Mon Sep 17 00:00:00 2001 From: Dominik Date: Thu, 30 Oct 2025 03:15:39 +0100 Subject: [PATCH] Fixed list --- blog/content/blog/bruteforce.md | 2 +- blog/content/blog/test.md | 7 ------- blog/layouts/list.html | 7 ++++--- blog/public/blog/index.html | 16 +++------------- blog/public/blog/index.xml | 7 ------- blog/public/categories/index.html | 2 +- blog/public/css/style.css | 20 ++++++++++++++++---- blog/public/de/categories/index.html | 2 +- blog/public/de/tags/index.html | 2 +- blog/public/index.xml | 7 ------- blog/public/tags/index.html | 2 +- blog/static/css/style.css | 20 ++++++++++++++++---- 12 files changed, 44 insertions(+), 50 deletions(-) delete mode 100644 blog/content/blog/test.md diff --git a/blog/content/blog/bruteforce.md b/blog/content/blog/bruteforce.md index d1f723c..12142fd 100644 --- a/blog/content/blog/bruteforce.md +++ b/blog/content/blog/bruteforce.md @@ -2,7 +2,7 @@ title: "Bruteforce Analysis" draft: true date: "2025-10-25" -description: "Desc" +description: "Writing a parser for and analysing my VPS servers fail2ban logs." --- # Introduction diff --git a/blog/content/blog/test.md b/blog/content/blog/test.md deleted file mode 100644 index d84e026..0000000 --- a/blog/content/blog/test.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "Test" -draft: true -date: '2025-10-24' ---- - -Help Me diff --git a/blog/layouts/list.html b/blog/layouts/list.html index a416fca..031aa36 100644 --- a/blog/layouts/list.html +++ b/blog/layouts/list.html @@ -6,10 +6,11 @@ {{ range .Pages }}
- {{ .Title }} - {{ .Date | time.Format "January 2, 2006" }} + {{ .Title }} + {{ .Date | time.Format "January 2, 2006" }}
-
+ +
{{ .Description }}
diff --git a/blog/public/blog/index.html b/blog/public/blog/index.html index 91f2108..b1be606 100644 --- a/blog/public/blog/index.html +++ b/blog/public/blog/index.html @@ -35,22 +35,12 @@
- Bruteforce Analysis - October 25, 2025 -
-
- Desc + Bruteforce Analysis + October 25, 2025
-
- -
- Test - October 24, 2025 -
-
- + Writing a parser for and analysing my VPS servers fail2ban logs.
diff --git a/blog/public/blog/index.xml b/blog/public/blog/index.xml index 651886a..b7a75a7 100644 --- a/blog/public/blog/index.xml +++ b/blog/public/blog/index.xml @@ -15,12 +15,5 @@ http://localhost:1313/blog/bruteforce/ <h1 id="introduction">Introduction</h1> <p>Recently I set up this Website as a small side Project in order to learn a little bit of HTML, CSS and the use of static site generators. In order to host this website I used my VPS I own on <a href="https://www.ionos.de/">IONOS</a>. As someone who has spent a lot of time in the Cybersecurity world, I gave my best to secure the VPS as well as possible. Login via SSH is enabled only via Private/Public Key Authentification and <a href="https://github.com/fail2ban/fail2ban">Fail2Ban</a> is setup to ban anyone who tries to login more than 5 Times. Once this was setup I created a way to &ldquo;pull&rdquo; the logs from nginx and fail2ban onto my private ProxMox server and Process these into Grafana. As I was doing this, I noticed that the fail2ban logfile has over 31.000 rows. Nothing suspicious for a public IP Adress, yet a interesting amount of data.</p> - - Test - http://localhost:1313/blog/test/ - Fri, 24 Oct 2025 00:00:00 +0000 - http://localhost:1313/blog/test/ - <p>Help Me</p> - diff --git a/blog/public/categories/index.html b/blog/public/categories/index.html index 3915fae..dd27fd5 100644 --- a/blog/public/categories/index.html +++ b/blog/public/categories/index.html @@ -29,7 +29,7 @@
-Categories +

Categories

    diff --git a/blog/public/css/style.css b/blog/public/css/style.css index 32c3149..a9d5013 100644 --- a/blog/public/css/style.css +++ b/blog/public/css/style.css @@ -192,7 +192,7 @@ img { .blogpost { margin-top: 1rem; - margin-bottom: 1rem; + margin-bottom: 2rem; padding: 1rem; padding-left: 15px; background-color: var(--color-accent); @@ -203,10 +203,22 @@ img { .blogpost-content { display: flex; + justify-content: space-between; margin: 10px 0; - display: grid; - grid-template-columns: 450px 1fr; - row-gap: 8px; + padding-left: 5px; + padding-right: 5px; +} + +.blogpost-title { + font-weight: bold; + font-size: 14pt; + margin-right: 10px; +} + +.blogpost-date { + font-style: italic; + font-size: 12pt; + margin-right: 10px; } diff --git a/blog/public/de/categories/index.html b/blog/public/de/categories/index.html index 3915fae..dd27fd5 100644 --- a/blog/public/de/categories/index.html +++ b/blog/public/de/categories/index.html @@ -29,7 +29,7 @@
    -Categories +

    Categories

      diff --git a/blog/public/de/tags/index.html b/blog/public/de/tags/index.html index 88dec10..be18c86 100644 --- a/blog/public/de/tags/index.html +++ b/blog/public/de/tags/index.html @@ -29,7 +29,7 @@
      -Tags +

      Tags

        diff --git a/blog/public/index.xml b/blog/public/index.xml index f611f88..123e482 100644 --- a/blog/public/index.xml +++ b/blog/public/index.xml @@ -15,13 +15,6 @@ http://localhost:1313/blog/bruteforce/ <h1 id="introduction">Introduction</h1> <p>Recently I set up this Website as a small side Project in order to learn a little bit of HTML, CSS and the use of static site generators. In order to host this website I used my VPS I own on <a href="https://www.ionos.de/">IONOS</a>. As someone who has spent a lot of time in the Cybersecurity world, I gave my best to secure the VPS as well as possible. Login via SSH is enabled only via Private/Public Key Authentification and <a href="https://github.com/fail2ban/fail2ban">Fail2Ban</a> is setup to ban anyone who tries to login more than 5 Times. Once this was setup I created a way to &ldquo;pull&rdquo; the logs from nginx and fail2ban onto my private ProxMox server and Process these into Grafana. As I was doing this, I noticed that the fail2ban logfile has over 31.000 rows. Nothing suspicious for a public IP Adress, yet a interesting amount of data.</p> - - Test - http://localhost:1313/blog/test/ - Fri, 24 Oct 2025 00:00:00 +0000 - http://localhost:1313/blog/test/ - <p>Help Me</p> - Datenschutz http://localhost:1313/datenschutz/ diff --git a/blog/public/tags/index.html b/blog/public/tags/index.html index 88dec10..be18c86 100644 --- a/blog/public/tags/index.html +++ b/blog/public/tags/index.html @@ -29,7 +29,7 @@
        -Tags +

        Tags

          diff --git a/blog/static/css/style.css b/blog/static/css/style.css index 32c3149..a9d5013 100644 --- a/blog/static/css/style.css +++ b/blog/static/css/style.css @@ -192,7 +192,7 @@ img { .blogpost { margin-top: 1rem; - margin-bottom: 1rem; + margin-bottom: 2rem; padding: 1rem; padding-left: 15px; background-color: var(--color-accent); @@ -203,10 +203,22 @@ img { .blogpost-content { display: flex; + justify-content: space-between; margin: 10px 0; - display: grid; - grid-template-columns: 450px 1fr; - row-gap: 8px; + padding-left: 5px; + padding-right: 5px; +} + +.blogpost-title { + font-weight: bold; + font-size: 14pt; + margin-right: 10px; +} + +.blogpost-date { + font-style: italic; + font-size: 12pt; + margin-right: 10px; }