Redesign home page

This commit is contained in:
Dave Gallant
2024-01-07 22:42:41 -05:00
parent 6a405662e9
commit fad71f3265
31 changed files with 28 additions and 41 deletions

View File

@@ -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/"

View File

@@ -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)

View File

@@ -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)

1
content/blog/_index.md Normal file
View File

@@ -0,0 +1 @@
[RSS Feed](https://davegallant.ca/index.xml)

View File

Before

Width:  |  Height:  |  Size: 935 KiB

After

Width:  |  Height:  |  Size: 935 KiB

View File

Before

Width:  |  Height:  |  Size: 86 KiB

After

Width:  |  Height:  |  Size: 86 KiB

View File

Before

Width:  |  Height:  |  Size: 69 KiB

After

Width:  |  Height:  |  Size: 69 KiB

View File

Before

Width:  |  Height:  |  Size: 157 KiB

After

Width:  |  Height:  |  Size: 157 KiB

View File

Before

Width:  |  Height:  |  Size: 117 KiB

After

Width:  |  Height:  |  Size: 117 KiB

View File

@@ -31,6 +31,7 @@
margin-top: 1.3rem;
}
.content-section,
.post-header,
.post-content {
& a {

View File

@@ -5,8 +5,4 @@
<div>{{ . }}</div>
{{ end }}
</div>
<!-- See https://gohugo.io/functions/where/#mainsections -->
{{ $pages := where site.RegularPages "Type" "in" site.Params.mainSections }}
{{ $paginator := .Paginate $pages }}
{{ partial "post-list.html" $paginator }}
{{ end }}