From c7a2b2f4d234bc6d29bbfec122823f9e501c7228 Mon Sep 17 00:00:00 2001 From: Dave Gallant Date: Sun, 7 Jan 2024 09:45:36 -0500 Subject: [PATCH] Get rid of side panel to minimize noise in layout --- config.yaml | 20 +- content/_index.md | 2 +- content/about.md | 15 +- content/contact.md | 13 + content/credits.md | 10 + data/json_resume/en.json | 29 - .../davegallant/hugo-theme-gruvbox/README.md | 4 - .../assets/css/critical/25-layout.css | 2 +- .../config/_default/module.toml | 17 +- .../davegallant/hugo-theme-gruvbox/go.mod | 5 - .../davegallant/hugo-theme-gruvbox/go.sum | 2 - .../layouts/partials/sidebar.html | 11 - .../hugo-theme-gruvbox/package.json | 1 - .../hugo-mod-json-resume/.editorconfig | 7 - .../.github/renovate.json | 40 - .../workflows/update-hugo-dependencies.yml | 39 - .../hugo-mod-json-resume/.gitignore | 139 - .../hugo-mod-json-resume/.husky/pre-commit | 4 - .../hugo-mod-json-resume/.prettierignore | 4 - .../hugo-mod-json-resume/.prettierrc.json | 11 - .../schnerring/hugo-mod-json-resume/LICENSE | 21 - .../schnerring/hugo-mod-json-resume/README.md | 118 - .../assets/css/json-resume.css | 75 - .../data/json_resume/en.json | 161 -- .../schnerring/hugo-mod-json-resume/go.mod | 3 - .../layouts/partials/json-resume/awards.html | 15 - .../partials/json-resume/basics-image.html | 10 - .../layouts/partials/json-resume/basics.html | 72 - .../partials/json-resume/certificates.html | 22 - .../partials/json-resume/duration.html | 11 - .../partials/json-resume/education.html | 32 - .../partials/json-resume/interests.html | 13 - .../partials/json-resume/languages.html | 13 - .../partials/json-resume/projects.html | 48 - .../partials/json-resume/publications.html | 24 - .../partials/json-resume/references.html | 11 - .../layouts/partials/json-resume/skills.html | 17 - .../partials/json-resume/volunteer.html | 35 - .../layouts/partials/json-resume/work.html | 47 - .../layouts/partials/simple-icon.html | 17 - .../layouts/shortcodes/json-resume.html | 2 - .../hugo-mod-json-resume/package-lock.json | 2353 ----------------- .../hugo-mod-json-resume/package.hugo.json | 38 - .../hugo-mod-json-resume/package.json | 53 - .../example-resume-section-headers.png | Bin 75667 -> 0 bytes 45 files changed, 36 insertions(+), 3550 deletions(-) create mode 100644 content/contact.md create mode 100644 content/credits.md delete mode 100644 data/json_resume/en.json delete mode 100644 themes/github.com/davegallant/hugo-theme-gruvbox/go.mod delete mode 100644 themes/github.com/davegallant/hugo-theme-gruvbox/go.sum delete mode 100644 themes/github.com/schnerring/hugo-mod-json-resume/.editorconfig delete mode 100644 themes/github.com/schnerring/hugo-mod-json-resume/.github/renovate.json delete mode 100644 themes/github.com/schnerring/hugo-mod-json-resume/.github/workflows/update-hugo-dependencies.yml delete mode 100644 themes/github.com/schnerring/hugo-mod-json-resume/.gitignore delete mode 100644 themes/github.com/schnerring/hugo-mod-json-resume/.husky/pre-commit delete mode 100644 themes/github.com/schnerring/hugo-mod-json-resume/.prettierignore delete mode 100644 themes/github.com/schnerring/hugo-mod-json-resume/.prettierrc.json delete mode 100644 themes/github.com/schnerring/hugo-mod-json-resume/LICENSE delete mode 100644 themes/github.com/schnerring/hugo-mod-json-resume/README.md delete mode 100644 themes/github.com/schnerring/hugo-mod-json-resume/assets/css/json-resume.css delete mode 100644 themes/github.com/schnerring/hugo-mod-json-resume/data/json_resume/en.json delete mode 100644 themes/github.com/schnerring/hugo-mod-json-resume/go.mod delete mode 100644 themes/github.com/schnerring/hugo-mod-json-resume/layouts/partials/json-resume/awards.html delete mode 100644 themes/github.com/schnerring/hugo-mod-json-resume/layouts/partials/json-resume/basics-image.html delete mode 100644 themes/github.com/schnerring/hugo-mod-json-resume/layouts/partials/json-resume/basics.html delete mode 100644 themes/github.com/schnerring/hugo-mod-json-resume/layouts/partials/json-resume/certificates.html delete mode 100644 themes/github.com/schnerring/hugo-mod-json-resume/layouts/partials/json-resume/duration.html delete mode 100644 themes/github.com/schnerring/hugo-mod-json-resume/layouts/partials/json-resume/education.html delete mode 100644 themes/github.com/schnerring/hugo-mod-json-resume/layouts/partials/json-resume/interests.html delete mode 100644 themes/github.com/schnerring/hugo-mod-json-resume/layouts/partials/json-resume/languages.html delete mode 100644 themes/github.com/schnerring/hugo-mod-json-resume/layouts/partials/json-resume/projects.html delete mode 100644 themes/github.com/schnerring/hugo-mod-json-resume/layouts/partials/json-resume/publications.html delete mode 100644 themes/github.com/schnerring/hugo-mod-json-resume/layouts/partials/json-resume/references.html delete mode 100644 themes/github.com/schnerring/hugo-mod-json-resume/layouts/partials/json-resume/skills.html delete mode 100644 themes/github.com/schnerring/hugo-mod-json-resume/layouts/partials/json-resume/volunteer.html delete mode 100644 themes/github.com/schnerring/hugo-mod-json-resume/layouts/partials/json-resume/work.html delete mode 100644 themes/github.com/schnerring/hugo-mod-json-resume/layouts/partials/simple-icon.html delete mode 100644 themes/github.com/schnerring/hugo-mod-json-resume/layouts/shortcodes/json-resume.html delete mode 100644 themes/github.com/schnerring/hugo-mod-json-resume/package-lock.json delete mode 100644 themes/github.com/schnerring/hugo-mod-json-resume/package.hugo.json delete mode 100644 themes/github.com/schnerring/hugo-mod-json-resume/package.json delete mode 100644 themes/github.com/schnerring/hugo-mod-json-resume/screenshots/example-resume-section-headers.png diff --git a/config.yaml b/config.yaml index 3808c225..f16c4feb 100644 --- a/config.yaml +++ b/config.yaml @@ -48,15 +48,21 @@ params: menu: main: + - name: Contact + url: /contact + weight: 1 - name: About url: /about - weight: 1 + weight: 2 - name: Git url: https://git.davegallant.ca/explore/repos - weight: 2 + weight: 3 - name: RSS url: /index.xml - weight: 3 + weight: 4 + - name: Credits + url: /credits + weight: 5 permalinks: post: "/blog/:year/:month/:day/:slug/" @@ -69,14 +75,6 @@ markup: module: imports: - path: github.com/davegallant/hugo-theme-gruvbox - - path: github.com/schnerring/hugo-mod-json-resume - mounts: - - source: data - target: data - - source: layouts - target: layouts - - source: assets/css/json-resume.css - target: assets/css/critical/44-json-resume.css mounts: - source: node_modules/simple-icons/icons target: assets/simple-icons diff --git a/content/_index.md b/content/_index.md index eeb7657f..ca9f5fa7 100644 --- a/content/_index.md +++ b/content/_index.md @@ -2,4 +2,4 @@ title: Welcome --- -This is a space where I share notes about problems and solutions I've been exploring. Please do not hesitate to reach out by email, social media, or by commenting on the posts below. Continuous improvement is what motivates me to keep learning. +This is a space where I share notes about problems and solutions I've been exploring. You can reach out by email, social media, or by commenting on the posts below. Continuous improvement is what motivates me to keep learning. diff --git a/content/about.md b/content/about.md index 1fe3b7ce..22d9b4a5 100644 --- a/content/about.md +++ b/content/about.md @@ -3,17 +3,4 @@ title: "About" draft: false --- -Connect with me using any the following methods: - -- Email: -- LinkedIn: -- Mastodon: -- GitHub: -- RSS Feed: -- Git: - -## Credits - -- This website is generated using [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) +๐Ÿ‘‹ I'm a software tinkerer with a passion for infra, security and self-hosting. diff --git a/content/contact.md b/content/contact.md new file mode 100644 index 00000000..771288b1 --- /dev/null +++ b/content/contact.md @@ -0,0 +1,13 @@ +--- +title: "Contact" +draft: false +--- + +| Connect with me using any the following methods: | +| ------------------------------------------------ | +| [me@davegallant.ca](mailto:me@davegallant.ca) | +| | +| | +| | +| | +| | diff --git a/content/credits.md b/content/credits.md new file mode 100644 index 00000000..d7de4981 --- /dev/null +++ b/content/credits.md @@ -0,0 +1,10 @@ +--- +title: "Credits" +draft: false +--- + +This website is powered by open-source software. + +- The static site generator used is [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/data/json_resume/en.json b/data/json_resume/en.json deleted file mode 100644 index 99e1255a..00000000 --- a/data/json_resume/en.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "basics": { - "name": "Dave Gallant", - "image": "", - "email": "me@davegallant.ca", - "summary": "๐Ÿ‘‹ I'm a software tinkerer with a passion for infra, security and self-hosting.", - "location": { - "region": "From ๐Ÿ‡จ๐Ÿ‡ฆ" - }, - "profiles": [ - { - "network": "LinkTree", - "url": "https://linktr.ee/davegallant" - }, - { - "network": "GitHub", - "url": "https://github.com/davegallant" - }, - { - "network": "Mastodon", - "url": "https://mastodon.social/@davegallant" - }, - { - "network": "LinkedIn", - "url": "https://www.linkedin.com/in/dave-gallant" - } - ] - } -} diff --git a/themes/github.com/davegallant/hugo-theme-gruvbox/README.md b/themes/github.com/davegallant/hugo-theme-gruvbox/README.md index 797674b2..fa8741cf 100644 --- a/themes/github.com/davegallant/hugo-theme-gruvbox/README.md +++ b/themes/github.com/davegallant/hugo-theme-gruvbox/README.md @@ -86,10 +86,6 @@ Add the following to the `config.toml` file: [[module.imports.mounts]] source = "assets/css/json-resume.css" target = "assets/css/critical/44-json-resume.css" - [[module.mounts]] - # required by hugo-mod-json-resume - source = "node_modules/simple-icons/icons" - target = "assets/simple-icons" [[module.mounts]] source = "assets" target = "assets" diff --git a/themes/github.com/davegallant/hugo-theme-gruvbox/assets/css/critical/25-layout.css b/themes/github.com/davegallant/hugo-theme-gruvbox/assets/css/critical/25-layout.css index aa2dee14..3b6aaa5e 100644 --- a/themes/github.com/davegallant/hugo-theme-gruvbox/assets/css/critical/25-layout.css +++ b/themes/github.com/davegallant/hugo-theme-gruvbox/assets/css/critical/25-layout.css @@ -13,7 +13,7 @@ main { display: grid; grid-area: main; grid-template-areas: "empty content sidebar"; - grid-template-columns: 1fr minmax(0, 650px) 4fr; + grid-template-columns: 2fr minmax(0, 960px) 2fr; } header { diff --git a/themes/github.com/davegallant/hugo-theme-gruvbox/config/_default/module.toml b/themes/github.com/davegallant/hugo-theme-gruvbox/config/_default/module.toml index 6e9ccdba..2113deac 100644 --- a/themes/github.com/davegallant/hugo-theme-gruvbox/config/_default/module.toml +++ b/themes/github.com/davegallant/hugo-theme-gruvbox/config/_default/module.toml @@ -3,21 +3,6 @@ [hugoVersion] extended = true min = "0.84.0" -[[imports]] - path = "github.com/schnerring/hugo-mod-json-resume" - [[imports.mounts]] - source = "data" - target = "data" - [[imports.mounts]] - source = "layouts" - target = "layouts" - [[imports.mounts]] - source = "assets/css/json-resume.css" - target = "assets/css/critical/44-json-resume.css" -[[mounts]] - # required by hugo-mod-json-resume - source = "node_modules/simple-icons/icons" - target = "assets/simple-icons" [[mounts]] source = "assets" target = "assets" @@ -41,4 +26,4 @@ target = "static/fonts" [[mounts]] source = "node_modules/@tabler/icons/icons" - target = "assets/tabler-icons" \ No newline at end of file + target = "assets/tabler-icons" diff --git a/themes/github.com/davegallant/hugo-theme-gruvbox/go.mod b/themes/github.com/davegallant/hugo-theme-gruvbox/go.mod deleted file mode 100644 index 2e333e23..00000000 --- a/themes/github.com/davegallant/hugo-theme-gruvbox/go.mod +++ /dev/null @@ -1,5 +0,0 @@ -module github.com/davegallant/hugo-theme-gruvbox - -go 1.21 - -require github.com/schnerring/hugo-mod-json-resume v0.0.0-20231022202951-552402b37357 // indirect diff --git a/themes/github.com/davegallant/hugo-theme-gruvbox/go.sum b/themes/github.com/davegallant/hugo-theme-gruvbox/go.sum deleted file mode 100644 index 2ef9a7d0..00000000 --- a/themes/github.com/davegallant/hugo-theme-gruvbox/go.sum +++ /dev/null @@ -1,2 +0,0 @@ -github.com/schnerring/hugo-mod-json-resume v0.0.0-20231022202951-552402b37357 h1:FR5kIQJNpHrB+P6yb8PrDVO8FpbUxF5fdTXLQp7UUpI= -github.com/schnerring/hugo-mod-json-resume v0.0.0-20231022202951-552402b37357/go.mod h1:an+FdylzRESQ2N+NuFK+iLerxnDRWbOqkxCDUXflGF4= diff --git a/themes/github.com/davegallant/hugo-theme-gruvbox/layouts/partials/sidebar.html b/themes/github.com/davegallant/hugo-theme-gruvbox/layouts/partials/sidebar.html index c66c57f9..5e749dc7 100644 --- a/themes/github.com/davegallant/hugo-theme-gruvbox/layouts/partials/sidebar.html +++ b/themes/github.com/davegallant/hugo-theme-gruvbox/layouts/partials/sidebar.html @@ -11,17 +11,6 @@ {{ end }} {{ end }} - {{ $cv := index $.Site.Data.json_resume $.Site.Language.Lang }} - {{ if $cv.basics }} - - {{ end }} - {{ if $.Site.Params.tagCloud.enable }}