From f8d14239f69be676ef64641d622f932942e71b84 Mon Sep 17 00:00:00 2001 From: "Felipe M." Date: Mon, 31 Mar 2025 18:42:59 +0200 Subject: [PATCH 1/3] fix: show bold menu for grandchildren too --- themes/fmartingr/assets/sass/_header.sass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/fmartingr/assets/sass/_header.sass b/themes/fmartingr/assets/sass/_header.sass index 5d688f4..a66ce89 100644 --- a/themes/fmartingr/assets/sass/_header.sass +++ b/themes/fmartingr/assets/sass/_header.sass @@ -36,7 +36,7 @@ header padding-left: 16px vertical-align: middle - .active + .active, .ancestor font-weight: bold .menu-button-toggle-label From 574911e290ee43648356c603a72572a7a10cf794 Mon Sep 17 00:00:00 2001 From: "Felipe M." Date: Thu, 3 Apr 2025 18:53:50 +0200 Subject: [PATCH 2/3] added projects section --- content/projects/_index.md | 4 ++++ content/projects/games-screenshot-manager.md | 10 +++++++++ content/projects/shiori.md | 6 ++++++ content/projects/smtp2shoutrrr.md | 8 +++++++ hugo.toml | 4 ++++ themes/fmartingr/assets/sass/_blog.sass | 2 +- .../fmartingr/layouts/partials/svg/README.md | 1 + .../layouts/partials/svg/brand-git.svg | 1 + themes/fmartingr/layouts/projects/list.html | 21 +++++++++++++++++++ themes/fmartingr/layouts/projects/single.html | 17 +++++++++++++++ 10 files changed, 73 insertions(+), 1 deletion(-) create mode 100644 content/projects/_index.md create mode 100644 content/projects/games-screenshot-manager.md create mode 100644 content/projects/shiori.md create mode 100644 content/projects/smtp2shoutrrr.md create mode 100644 themes/fmartingr/layouts/partials/svg/README.md create mode 100644 themes/fmartingr/layouts/partials/svg/brand-git.svg create mode 100644 themes/fmartingr/layouts/projects/list.html create mode 100644 themes/fmartingr/layouts/projects/single.html diff --git a/content/projects/_index.md b/content/projects/_index.md new file mode 100644 index 0000000..fff1019 --- /dev/null +++ b/content/projects/_index.md @@ -0,0 +1,4 @@ ++++ +title = "Projects" +layout = "projects" ++++ diff --git a/content/projects/games-screenshot-manager.md b/content/projects/games-screenshot-manager.md new file mode 100644 index 0000000..a515945 --- /dev/null +++ b/content/projects/games-screenshot-manager.md @@ -0,0 +1,10 @@ ++++ +title = "Games Screenshot Manager" +description = "A tool for managing screenshots of games" +layout = "projects" +repository = "https://github.com/fmartingr/games-screenshot-manager" ++++ + +A tool for managing screenshots of games, it allows you to extract and organize the screenshots by platform and create a nice web gallery to display as a static site. + +It's the tool I used to build [my screenshots gallery](http://screenshots.fmartingr.com). diff --git a/content/projects/shiori.md b/content/projects/shiori.md new file mode 100644 index 0000000..3b152d2 --- /dev/null +++ b/content/projects/shiori.md @@ -0,0 +1,6 @@ ++++ +title = "Shiori" +repository = "https://github.com/go-shiori/shiori" ++++ + +A simple bookmark manager, read-later and web-archive tool. A way to store your bookmarks with both a CLI and web interface, with the option to archive the site contents and generate epub files. diff --git a/content/projects/smtp2shoutrrr.md b/content/projects/smtp2shoutrrr.md new file mode 100644 index 0000000..2f9e729 --- /dev/null +++ b/content/projects/smtp2shoutrrr.md @@ -0,0 +1,8 @@ ++++ +title = "smtp2shoutrrr" +repository = "https://git.nakama.town/fmartingr/smtp2shoutrrr" ++++ + +A SMTP server to foward incoming emails to setup shoutrrr backends. Used to send notifications from legacy systems to modern services. + +I use it for example to send the email notifications from my Proxmox nodes into my Mattermost server, or urgent things to my ntfy topics. diff --git a/hugo.toml b/hugo.toml index 50343a3..fd54106 100644 --- a/hugo.toml +++ b/hugo.toml @@ -41,6 +41,10 @@ weight = 10 name = 'Blog' pageRef = '/blog' weight = 20 +[[menus.main]] +name = 'Projects' +pageRef = '/projects' +weight = 30 # [[menus.main]] # name = 'Now' # pageRef = '/now' diff --git a/themes/fmartingr/assets/sass/_blog.sass b/themes/fmartingr/assets/sass/_blog.sass index f2f719d..0d21086 100644 --- a/themes/fmartingr/assets/sass/_blog.sass +++ b/themes/fmartingr/assets/sass/_blog.sass @@ -1,4 +1,4 @@ -div.article, main.blog +div.article, main.blog, main.projects .title margin-bottom: 0.3em diff --git a/themes/fmartingr/layouts/partials/svg/README.md b/themes/fmartingr/layouts/partials/svg/README.md new file mode 100644 index 0000000..d17a4f0 --- /dev/null +++ b/themes/fmartingr/layouts/partials/svg/README.md @@ -0,0 +1 @@ +Icons from: https://tabler.io/icons diff --git a/themes/fmartingr/layouts/partials/svg/brand-git.svg b/themes/fmartingr/layouts/partials/svg/brand-git.svg new file mode 100644 index 0000000..7035edb --- /dev/null +++ b/themes/fmartingr/layouts/partials/svg/brand-git.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/themes/fmartingr/layouts/projects/list.html b/themes/fmartingr/layouts/projects/list.html new file mode 100644 index 0000000..2c03c55 --- /dev/null +++ b/themes/fmartingr/layouts/projects/list.html @@ -0,0 +1,21 @@ +{{ define "main" }} +
+

{{ .Title }}

+ {{ .Content }} + {{ range .Pages }} +
+

{{ .LinkTitle }}

+
+ {{ partial "svg/brand-git.svg" (dict "size" 24) }} + + {{ .Param "repository" }} + +
+
{{ .Summary }}
+
+ {{ end }} +
+ {{ partial "pagination" . }} +
+
+{{ end }} diff --git a/themes/fmartingr/layouts/projects/single.html b/themes/fmartingr/layouts/projects/single.html new file mode 100644 index 0000000..213388d --- /dev/null +++ b/themes/fmartingr/layouts/projects/single.html @@ -0,0 +1,17 @@ +{{ define "main" }} +
+

{{ .Title }}

+ + {{ $dateMachine := .Date | time.Format "2006-01-02T15:04:05-07:00" }} + {{ $dateHuman := .Date | time.Format ":date_long" }} + {{ if strings.Contains .Section "blog" }} +
+ {{ partial "svg/calendar-event.svg" (dict "size" 24) }} + +
{{ partial "terms.html" (dict "taxonomy" "tags" "page" .) }}
+
+ {{ end }} + +
{{ .Content }}
+
+{{ end }} From 205a242ef4e37fe839ba8cfac26aa36abbad9c52 Mon Sep 17 00:00:00 2001 From: "Felipe M." Date: Thu, 3 Apr 2025 18:54:03 +0200 Subject: [PATCH 3/3] draft: updated arch install guide --- .../01/archlinux/install/from-zero-to-hero/index.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/content/blog/_drafts/01/archlinux/install/from-zero-to-hero/index.md b/content/blog/_drafts/01/archlinux/install/from-zero-to-hero/index.md index d73e239..3292ed7 100644 --- a/content/blog/_drafts/01/archlinux/install/from-zero-to-hero/index.md +++ b/content/blog/_drafts/01/archlinux/install/from-zero-to-hero/index.md @@ -224,3 +224,13 @@ pacman -S mako # notifications # TODO notification history? ``` + +## utils + + + + +``` +pacman -S hyprland +pacman -S neovim ghostty dolphin wofi +```