3 Commits

Author SHA1 Message Date
Dave Gallant
f7469798f3 Redesign home page 2024-01-07 23:10:19 -05:00
Dave Gallant
6a405662e9 Fix favicon and menu css 2024-01-07 21:20:18 -05:00
Dave Gallant
c9bd65f2b9 Update publish.yml 2024-01-07 19:25:50 -05:00
35 changed files with 34 additions and 47 deletions

View File

@@ -41,3 +41,4 @@ jobs:
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_branch: generated

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,25 @@
---
title: Welcome
---
This is a space where I share notes about problems and solutions I've been exploring. Check out the links in the menu bar for more information on how to connect with me.
# Hello
👋 I'm a software tinkerer with a passion for infra, security and self-hosting.
My primary motivation for hosting this site 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)

View File

@@ -1,29 +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.
If you would like to reach out, find out how to contact me [here](/contact/).
## Contact
Connect with me by using any of the following methods:
- [me@davegallant.ca](mailto:me@davegallant.ca)
- <https://www.linkedin.com/in/dave-gallant>
- <https://mastodon.social/@davegallant>
- <https://github.com/davegallant>
- <https://davegallant.ca/index.xml>
- <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

BIN
static/favicon-16x16.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

BIN
static/favicon-32x32.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

View File

@@ -194,7 +194,7 @@ nav#menu {
}
& ul.menu--vertical {
background: var(--fg0);
background: var(--bg1);
bottom: 0;
margin: 0;
padding: 3rem;
@@ -207,10 +207,10 @@ nav#menu {
z-index: 10;
& .menu__item {
color: var(--bg1);
color: var(--fg1);
&:hover {
color: var(--bg4);
color: var(--fg3);
}
}
}
@@ -260,7 +260,7 @@ nav#menu {
}
& ~ svg {
stroke: var(--bg1);
stroke: var(--fg1);
& line:nth-of-type(1) {
transform: translate(0, 6px) rotate(45deg);

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 }}