From fad71f3265cce7b0e6b640c30f4e4f7034b5445c Mon Sep 17 00:00:00 2001 From: Dave Gallant Date: Sun, 7 Jan 2024 22:42:41 -0500 Subject: [PATCH] Redesign home page --- config.yaml | 9 ++---- content/_index.md | 27 +++++++++++++++--- content/about.md | 27 ------------------ content/blog/_index.md | 1 + .../appgate-sdp-on-arch-linux/index.md | 0 .../automatically-rotating-aws-keys/index.md | 0 .../backing-up-gmail-with-synology/index.md | 0 .../install-mailplus-server.png | Bin .../mail-plus-incoming-mail.png | Bin .../index.md | 0 .../running-k3s-in-lxc-on-proxmox/index.md | 0 .../gitea-runners.png | Bin .../gitea-workflow.png | Bin .../index.md | 0 .../index.md | 0 .../index.md | 0 .../netgear-port-pvid.png | Bin .../netgear-vlan-configuration.png | Bin .../netgear-vlan-membership-1.png | Bin .../netgear-vlan-membership-10.png | Bin .../pfsense-dashboard.png | Bin .../computerphile.png | Bin .../watching-youtube-in-private/index.md | 0 .../requestly-rules.png | Bin .../what-to-do-with-a-homelab/index.md | 0 .../what-to-do-with-a-homelab/netdata.png | Bin .../what-to-do-with-a-homelab/proxmox.png | Bin .../what-to-do-with-a-homelab/uptime-kuma.png | Bin .../why-i-threw-out-my-dotfiles/index.md | 0 .../assets/css/critical/40-post.css | 1 + themes/hugo-theme-gruvbox/layouts/index.html | 4 --- 31 files changed, 28 insertions(+), 41 deletions(-) delete mode 100644 content/about.md create mode 100644 content/blog/_index.md rename content/{post => blog}/appgate-sdp-on-arch-linux/index.md (100%) rename content/{post => blog}/automatically-rotating-aws-keys/index.md (100%) rename content/{post => blog}/backing-up-gmail-with-synology/index.md (100%) rename content/{post => blog}/backing-up-gmail-with-synology/install-mailplus-server.png (100%) rename content/{post => blog}/backing-up-gmail-with-synology/mail-plus-incoming-mail.png (100%) rename content/{post => blog}/replacing-docker-with-podman-on-macos/index.md (100%) rename content/{post => blog}/running-k3s-in-lxc-on-proxmox/index.md (100%) rename content/{post => blog}/setting-up-gitea-actions-with-tailscale/gitea-runners.png (100%) rename content/{post => blog}/setting-up-gitea-actions-with-tailscale/gitea-workflow.png (100%) rename content/{post => blog}/setting-up-gitea-actions-with-tailscale/index.md (100%) rename content/{post => blog}/using-aks-and-socks-to-connect-to-a-private-azure-db/index.md (100%) rename content/{post => blog}/virtualizing-a-router-with-pfsense/index.md (100%) rename content/{post => blog}/virtualizing-a-router-with-pfsense/netgear-port-pvid.png (100%) rename content/{post => blog}/virtualizing-a-router-with-pfsense/netgear-vlan-configuration.png (100%) rename content/{post => blog}/virtualizing-a-router-with-pfsense/netgear-vlan-membership-1.png (100%) rename content/{post => blog}/virtualizing-a-router-with-pfsense/netgear-vlan-membership-10.png (100%) rename content/{post => blog}/virtualizing-a-router-with-pfsense/pfsense-dashboard.png (100%) rename content/{post => blog}/watching-youtube-in-private/computerphile.png (100%) rename content/{post => blog}/watching-youtube-in-private/index.md (100%) rename content/{post => blog}/watching-youtube-in-private/requestly-rules.png (100%) rename content/{post => blog}/what-to-do-with-a-homelab/index.md (100%) rename content/{post => blog}/what-to-do-with-a-homelab/netdata.png (100%) rename content/{post => blog}/what-to-do-with-a-homelab/proxmox.png (100%) rename content/{post => blog}/what-to-do-with-a-homelab/uptime-kuma.png (100%) rename content/{post => blog}/why-i-threw-out-my-dotfiles/index.md (100%) diff --git a/config.yaml b/config.yaml index 698e61e9..99c85f19 100644 --- a/config.yaml +++ b/config.yaml @@ -47,15 +47,12 @@ params: menu: main: - - name: Posts + - name: Home url: / weight: 1 - - name: About - url: /about + - name: Blog + url: /blog weight: 2 - - name: RSS - url: /index.xml - weight: 3 permalinks: post: "/blog/:year/:month/:day/:slug/" diff --git a/content/_index.md b/content/_index.md index 471ea0df..be1784ef 100644 --- a/content/_index.md +++ b/content/_index.md @@ -1,5 +1,24 @@ ---- -title: Welcome ---- +# Hello -This is a space where I share notes about problems and solutions I've been exploring. +👋 I'm a software tinkerer with a passion for infra, security, and self-hosting. + +This is a space where I document my learnings and share them with others. I hope you find something useful here. Continuous improvement is what motivates me to keep learning. + +I choose to host this site, alongside other tools, rather than relying exclusively on larger platforms because I believe in the open web. Interoperability is often not a primary concern for popular platforms today and I find that concerning. + +## Connect + +If you would like to connect with me: + +- [Email](mailto:me@davegallant.ca) +- [LinkedIn](https://www.linkedin.com/in/dave-gallant) +- [Mastodon](https://mastodon.social/@davegallant) +- [GitHub](https://github.com/davegallant) +- [RSS Feed](https://davegallant.ca/index.xml) +- [git.davegallant.ca](https://git.davegallant.ca/explore/repos) + +## Credits + +- The site is generated with [hugo](https://gohugo.io/) +- The theme is a modified version of [hugo-theme-gruvbox](https://github.com/schnerring/hugo-theme-gruvbox) +- The comments system is powered by [utterances](https://github.com/utterance/utterances) diff --git a/content/about.md b/content/about.md deleted file mode 100644 index 60d17d4a..00000000 --- a/content/about.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: "About" -draft: false ---- - -👋 I'm a software tinkerer with a passion for infra, security and self-hosting. - -My primary motivation for hosting this website is to document my learnings and share them with others. I hope you find something useful here. Continuous improvement is what motivates me to keep learning. - -I choose to self-host this site and other tools instead of relying exclusively on larger platforms because I believe in the open web. Interoperability is often not a primary concern for popular platforms today and I find that concerning. I first got access to the internet in 1996 and have seen it evolve into what it is today. I want to do my part to keep it open and free. - -## Connect - -If you would like to connect with me: - -- [Email](mailto:me@davegallant.ca) -- [LinkedIn](https://www.linkedin.com/in/dave-gallant) -- [Mastodon](https://mastodon.social/@davegallant) -- [GitHub](https://github.com/davegallant) -- [RSS Feed](https://davegallant.ca/index.xml) -- [git.davegallant.ca](https://git.davegallant.ca/explore/repos) - -## Credits - -- The site is generated with [hugo](https://gohugo.io/) -- The theme is a modified version of [hugo-theme-gruvbox](https://github.com/schnerring/hugo-theme-gruvbox) -- The comments system is powered by [utterances](https://github.com/utterance/utterances) diff --git a/content/blog/_index.md b/content/blog/_index.md new file mode 100644 index 00000000..b1310fa2 --- /dev/null +++ b/content/blog/_index.md @@ -0,0 +1 @@ +[RSS Feed](https://davegallant.ca/index.xml) diff --git a/content/post/appgate-sdp-on-arch-linux/index.md b/content/blog/appgate-sdp-on-arch-linux/index.md similarity index 100% rename from content/post/appgate-sdp-on-arch-linux/index.md rename to content/blog/appgate-sdp-on-arch-linux/index.md diff --git a/content/post/automatically-rotating-aws-keys/index.md b/content/blog/automatically-rotating-aws-keys/index.md similarity index 100% rename from content/post/automatically-rotating-aws-keys/index.md rename to content/blog/automatically-rotating-aws-keys/index.md diff --git a/content/post/backing-up-gmail-with-synology/index.md b/content/blog/backing-up-gmail-with-synology/index.md similarity index 100% rename from content/post/backing-up-gmail-with-synology/index.md rename to content/blog/backing-up-gmail-with-synology/index.md diff --git a/content/post/backing-up-gmail-with-synology/install-mailplus-server.png b/content/blog/backing-up-gmail-with-synology/install-mailplus-server.png similarity index 100% rename from content/post/backing-up-gmail-with-synology/install-mailplus-server.png rename to content/blog/backing-up-gmail-with-synology/install-mailplus-server.png diff --git a/content/post/backing-up-gmail-with-synology/mail-plus-incoming-mail.png b/content/blog/backing-up-gmail-with-synology/mail-plus-incoming-mail.png similarity index 100% rename from content/post/backing-up-gmail-with-synology/mail-plus-incoming-mail.png rename to content/blog/backing-up-gmail-with-synology/mail-plus-incoming-mail.png diff --git a/content/post/replacing-docker-with-podman-on-macos/index.md b/content/blog/replacing-docker-with-podman-on-macos/index.md similarity index 100% rename from content/post/replacing-docker-with-podman-on-macos/index.md rename to content/blog/replacing-docker-with-podman-on-macos/index.md diff --git a/content/post/running-k3s-in-lxc-on-proxmox/index.md b/content/blog/running-k3s-in-lxc-on-proxmox/index.md similarity index 100% rename from content/post/running-k3s-in-lxc-on-proxmox/index.md rename to content/blog/running-k3s-in-lxc-on-proxmox/index.md diff --git a/content/post/setting-up-gitea-actions-with-tailscale/gitea-runners.png b/content/blog/setting-up-gitea-actions-with-tailscale/gitea-runners.png similarity index 100% rename from content/post/setting-up-gitea-actions-with-tailscale/gitea-runners.png rename to content/blog/setting-up-gitea-actions-with-tailscale/gitea-runners.png diff --git a/content/post/setting-up-gitea-actions-with-tailscale/gitea-workflow.png b/content/blog/setting-up-gitea-actions-with-tailscale/gitea-workflow.png similarity index 100% rename from content/post/setting-up-gitea-actions-with-tailscale/gitea-workflow.png rename to content/blog/setting-up-gitea-actions-with-tailscale/gitea-workflow.png diff --git a/content/post/setting-up-gitea-actions-with-tailscale/index.md b/content/blog/setting-up-gitea-actions-with-tailscale/index.md similarity index 100% rename from content/post/setting-up-gitea-actions-with-tailscale/index.md rename to content/blog/setting-up-gitea-actions-with-tailscale/index.md diff --git a/content/post/using-aks-and-socks-to-connect-to-a-private-azure-db/index.md b/content/blog/using-aks-and-socks-to-connect-to-a-private-azure-db/index.md similarity index 100% rename from content/post/using-aks-and-socks-to-connect-to-a-private-azure-db/index.md rename to content/blog/using-aks-and-socks-to-connect-to-a-private-azure-db/index.md diff --git a/content/post/virtualizing-a-router-with-pfsense/index.md b/content/blog/virtualizing-a-router-with-pfsense/index.md similarity index 100% rename from content/post/virtualizing-a-router-with-pfsense/index.md rename to content/blog/virtualizing-a-router-with-pfsense/index.md diff --git a/content/post/virtualizing-a-router-with-pfsense/netgear-port-pvid.png b/content/blog/virtualizing-a-router-with-pfsense/netgear-port-pvid.png similarity index 100% rename from content/post/virtualizing-a-router-with-pfsense/netgear-port-pvid.png rename to content/blog/virtualizing-a-router-with-pfsense/netgear-port-pvid.png diff --git a/content/post/virtualizing-a-router-with-pfsense/netgear-vlan-configuration.png b/content/blog/virtualizing-a-router-with-pfsense/netgear-vlan-configuration.png similarity index 100% rename from content/post/virtualizing-a-router-with-pfsense/netgear-vlan-configuration.png rename to content/blog/virtualizing-a-router-with-pfsense/netgear-vlan-configuration.png diff --git a/content/post/virtualizing-a-router-with-pfsense/netgear-vlan-membership-1.png b/content/blog/virtualizing-a-router-with-pfsense/netgear-vlan-membership-1.png similarity index 100% rename from content/post/virtualizing-a-router-with-pfsense/netgear-vlan-membership-1.png rename to content/blog/virtualizing-a-router-with-pfsense/netgear-vlan-membership-1.png diff --git a/content/post/virtualizing-a-router-with-pfsense/netgear-vlan-membership-10.png b/content/blog/virtualizing-a-router-with-pfsense/netgear-vlan-membership-10.png similarity index 100% rename from content/post/virtualizing-a-router-with-pfsense/netgear-vlan-membership-10.png rename to content/blog/virtualizing-a-router-with-pfsense/netgear-vlan-membership-10.png diff --git a/content/post/virtualizing-a-router-with-pfsense/pfsense-dashboard.png b/content/blog/virtualizing-a-router-with-pfsense/pfsense-dashboard.png similarity index 100% rename from content/post/virtualizing-a-router-with-pfsense/pfsense-dashboard.png rename to content/blog/virtualizing-a-router-with-pfsense/pfsense-dashboard.png diff --git a/content/post/watching-youtube-in-private/computerphile.png b/content/blog/watching-youtube-in-private/computerphile.png similarity index 100% rename from content/post/watching-youtube-in-private/computerphile.png rename to content/blog/watching-youtube-in-private/computerphile.png diff --git a/content/post/watching-youtube-in-private/index.md b/content/blog/watching-youtube-in-private/index.md similarity index 100% rename from content/post/watching-youtube-in-private/index.md rename to content/blog/watching-youtube-in-private/index.md diff --git a/content/post/watching-youtube-in-private/requestly-rules.png b/content/blog/watching-youtube-in-private/requestly-rules.png similarity index 100% rename from content/post/watching-youtube-in-private/requestly-rules.png rename to content/blog/watching-youtube-in-private/requestly-rules.png diff --git a/content/post/what-to-do-with-a-homelab/index.md b/content/blog/what-to-do-with-a-homelab/index.md similarity index 100% rename from content/post/what-to-do-with-a-homelab/index.md rename to content/blog/what-to-do-with-a-homelab/index.md diff --git a/content/post/what-to-do-with-a-homelab/netdata.png b/content/blog/what-to-do-with-a-homelab/netdata.png similarity index 100% rename from content/post/what-to-do-with-a-homelab/netdata.png rename to content/blog/what-to-do-with-a-homelab/netdata.png diff --git a/content/post/what-to-do-with-a-homelab/proxmox.png b/content/blog/what-to-do-with-a-homelab/proxmox.png similarity index 100% rename from content/post/what-to-do-with-a-homelab/proxmox.png rename to content/blog/what-to-do-with-a-homelab/proxmox.png diff --git a/content/post/what-to-do-with-a-homelab/uptime-kuma.png b/content/blog/what-to-do-with-a-homelab/uptime-kuma.png similarity index 100% rename from content/post/what-to-do-with-a-homelab/uptime-kuma.png rename to content/blog/what-to-do-with-a-homelab/uptime-kuma.png diff --git a/content/post/why-i-threw-out-my-dotfiles/index.md b/content/blog/why-i-threw-out-my-dotfiles/index.md similarity index 100% rename from content/post/why-i-threw-out-my-dotfiles/index.md rename to content/blog/why-i-threw-out-my-dotfiles/index.md diff --git a/themes/hugo-theme-gruvbox/assets/css/critical/40-post.css b/themes/hugo-theme-gruvbox/assets/css/critical/40-post.css index 69eb2da7..9977bfce 100644 --- a/themes/hugo-theme-gruvbox/assets/css/critical/40-post.css +++ b/themes/hugo-theme-gruvbox/assets/css/critical/40-post.css @@ -31,6 +31,7 @@ margin-top: 1.3rem; } +.content-section, .post-header, .post-content { & a { diff --git a/themes/hugo-theme-gruvbox/layouts/index.html b/themes/hugo-theme-gruvbox/layouts/index.html index 69b32177..02d31bac 100644 --- a/themes/hugo-theme-gruvbox/layouts/index.html +++ b/themes/hugo-theme-gruvbox/layouts/index.html @@ -5,8 +5,4 @@
{{ . }}
{{ end }} - - {{ $pages := where site.RegularPages "Type" "in" site.Params.mainSections }} - {{ $paginator := .Paginate $pages }} - {{ partial "post-list.html" $paginator }} {{ end }}