Remove theme toggle and cleanup menu

This commit is contained in:
Dave Gallant
2024-01-07 15:00:27 -05:00
parent fdc27aad3a
commit 29a621a4c3
5 changed files with 21 additions and 40 deletions

View File

@@ -22,7 +22,7 @@ params:
issueTerm: "pathname" issueTerm: "pathname"
github: github:
username: davegallant username: davegallant
repository: davegallant.github.io repository: site
prism: prism:
languages: languages:
@@ -47,21 +47,15 @@ params:
menu: menu:
main: main:
- name: Contact
url: /contact
weight: 1
- name: Posts - name: Posts
url: / url: /
weight: 2 weight: 1
- name: About - name: About
url: /about url: /about
weight: 3 weight: 2
- name: RSS - name: RSS
url: /index.xml url: /index.xml
weight: 5 weight: 3
- name: Credits
url: /credits
weight: 6
permalinks: permalinks:
post: "/blog/:year/:month/:day/:slug/" post: "/blog/:year/:month/:day/:slug/"

View File

@@ -10,3 +10,20 @@ My primary motivation for hosting this website is to document my learnings and s
I choose to self-host this site and other tools instead of relying exclusively on larger platforms because I believe in the open web. Interopability 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. I choose to self-host this site and other tools instead of relying exclusively on larger platforms because I believe in the open web. Interopability 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/). 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 uses [utterances](https://github.com/utterance/utterances)

View File

@@ -1,13 +0,0 @@
---
title: "Contact"
draft: false
---
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>

View File

@@ -1,10 +0,0 @@
---
title: "Credits"
draft: false
---
This site is powered by open-source software.
- 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 uses [utterances](https://github.com/utterance/utterances)

View File

@@ -52,11 +52,4 @@
</div> </div>
</nav> </nav>
<button class="theme__toggle light--hidden" aria-label="Toggle light mode">
{{ partial "icons/tabler-icon.html" "sun" }}
</button>
<button class="theme__toggle dark--hidden" aria-label="Toggle dark mode">
{{ partial "icons/tabler-icon.html" "moon" }}
</button>
</header> </header>