Redesign home page
@@ -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/"
|
||||
|
@@ -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)
|
||||
|
@@ -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
@@ -0,0 +1 @@
|
||||
[RSS Feed](https://davegallant.ca/index.xml)
|
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 30 KiB |
Before Width: | Height: | Size: 52 KiB After Width: | Height: | Size: 52 KiB |
Before Width: | Height: | Size: 72 KiB After Width: | Height: | Size: 72 KiB |
Before Width: | Height: | Size: 45 KiB After Width: | Height: | Size: 45 KiB |
Before Width: | Height: | Size: 33 KiB After Width: | Height: | Size: 33 KiB |
Before Width: | Height: | Size: 42 KiB After Width: | Height: | Size: 42 KiB |
Before Width: | Height: | Size: 36 KiB After Width: | Height: | Size: 36 KiB |
Before Width: | Height: | Size: 36 KiB After Width: | Height: | Size: 36 KiB |
Before Width: | Height: | Size: 90 KiB After Width: | Height: | Size: 90 KiB |
Before Width: | Height: | Size: 935 KiB After Width: | Height: | Size: 935 KiB |
Before Width: | Height: | Size: 86 KiB After Width: | Height: | Size: 86 KiB |
Before Width: | Height: | Size: 69 KiB After Width: | Height: | Size: 69 KiB |
Before Width: | Height: | Size: 157 KiB After Width: | Height: | Size: 157 KiB |
Before Width: | Height: | Size: 117 KiB After Width: | Height: | Size: 117 KiB |
@@ -31,6 +31,7 @@
|
||||
margin-top: 1.3rem;
|
||||
}
|
||||
|
||||
.content-section,
|
||||
.post-header,
|
||||
.post-content {
|
||||
& a {
|
||||
|
@@ -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 }}
|
||||
|