diff --git a/.gitignore b/.gitignore index 6ce1804..8522a50 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ node_modules/ dist/ -static/processed_images/ \ No newline at end of file +static/processed_images/ +public/ diff --git a/.gitmodules b/.gitmodules index fdc1c2f..09d7012 100644 --- a/.gitmodules +++ b/.gitmodules @@ -4,3 +4,9 @@ [submodule "themes/hyde"] path = themes/hyde url = https://github.com/getzola/hyde.git +[submodule "hugo-theme-console"] + path = themes/hugo-theme-console + url = https://github.com/mrmierzejewski/hugo-theme-console.git +[submodule "themes/terminal"] + path = themes/terminal + url = https://github.com/panr/hugo-theme-terminal.git diff --git a/.mise.toml b/.mise.toml new file mode 100644 index 0000000..1cb333a --- /dev/null +++ b/.mise.toml @@ -0,0 +1,3 @@ +[tools] +go = "1.21.6" +hugo = "extended_0.136.4" diff --git a/config.toml b/config.toml index 37fb7d4..07cf42d 100644 --- a/config.toml +++ b/config.toml @@ -1,33 +1,125 @@ -# The URL the site will be built for +# # The URL the site will be built for base_url = "https://blog.bmh.io" -# The site title and description; used in feeds by default. +# # The site title and description; used in feeds by default. title = "Brandon High" description = "Just another nerd blog" -# Whether to automatically compile all Sass files in the sass directory -compile_sass = true +languageCode = "en-us" -# Generate RSS feed -generate_feed = true +theme = "terminal" -# Whether to build a search index to be used later on by a JavaScript library -build_search_index = true +pagination.pagerSize = 3 -theme = "hyde" +[params] + # dir name of your main content (default is `content/posts`). + # the list of set content will show up on your index page (baseurl). + contentTypeName = "posts" -[markdown] -# Whether to do syntax highlighting -# Theme can be customised by setting the `highlight_theme` variable to a theme supported by Zola -highlight_code = true + # if you set this to 0, only submenu trigger will be visible + showMenuItems = 6 -[extra] -# Put all your custom variables here -hyde_links = [ - {url = "https://bmh.io/wishlist", name = "Wishlist of Shiny Things", rel="me"}, - {url = "https://github.com/highb/bmh", name = "Source on GitHub", rel="me"}, - {url = "https://www.getzola.org/", name = "Generated with Zola", rel=""}, - {url = "https://pdx.sh/@bh", name = "Social on Portlandish (Mastodon)", rel="me"}, - {url = "https://blog.bmh.io/atom.xml", name = "Atom (XML Feed)", rel=""} -] -hyde_theme = "theme-base-0b" + # show selector to switch language + showLanguageSelector = false + + # set theme to full screen width + fullWidthTheme = false + + # center theme with default width + centerTheme = false + + # if your resource directory contains an image called `cover.(jpg|png|webp)`, + # then the file will be used as a cover automatically. + # With this option you don't have to put the `cover` param in a front-matter. + autoCover = true + + # set post to show the last updated + # If you use git, you can set `enableGitInfo` to `true` and then post will automatically get the last updated + showLastUpdated = false + + # Provide a string as a prefix for the last update date. By default, it looks like this: 2020-xx-xx [Updated: 2020-xx-xx] :: Author + # updatedDatePrefix = "Updated" + + # whether to show a page's estimated reading time + readingTime = false # default + + # whether to show a table of contents + # can be overridden in a page's front-matter + Toc = false # default + + # set title for the table of contents + # can be overridden in a page's front-matter + # TocTitle = "Table of Contents" # default + + +[params.twitter] + # set Twitter handles for Twitter cards + # see https://developer.twitter.com/en/docs/tweets/optimize-with-cards/guides/getting-started#card-and-content-attribution + # do not include @ + creator = "" + site = "" + +[languages] + [languages.en] + languageName = "English" + title = "Brandon's Blog" + + [languages.en.params] + subtitle = "Old Man Yells at The Cloud" + owner = "" + keywords = "" + copyright = "" + menuMore = "Show more" + readMore = "Read more" + readOtherPosts = "Read other posts" + newerPosts = "Newer posts" + olderPosts = "Older posts" + missingContentMessage = "Page not found..." + missingBackButtonLabel = "Back to home page" + minuteReadingTime = "min read" + words = "words" + + [languages.en.params.logo] + logoText = "bmh" + logoHomeLink = "/" + + [languages.en.menu] + [[languages.en.menu.main]] + identifier = "about" + name = "about" + url = "/about" + # [[languages.en.menu.main]] + # identifier = "showcase" + # name = "showcase" + # url = "/showcase" + [[languages.en.menu.main]] + identifier = "source" + name = "source (github)" + url = "https://github.com/highb/bmh" + [[languages.en.menu.main]] + identifier = "generator" + name = "generator (hugo)" + url = "https://gohugo.io" + [[languages.en.menu.main]] + identifier = "mastodon" + name = "mastodon" + url = "https://pdx.sh/@bh" + [[languages.en.menu.main]] + identifier = "rss" + name = "rss" + url = "https://blog.bmh.io/atom.xml" +# [markdown] +# # Whether to do syntax highlighting +# # Theme can be customised by setting the `highlight_theme` variable to a theme supported by Zola +# highlight_code = true + +# [extra] +# # Put all your custom variables here +# hyde_links = [ +# {url = "https://bmh.io/wishlist", name = "Wishlist of Shiny Things", rel="me"}, +# {url = "https://github.com/highb/bmh", name = "Source on GitHub", rel="me"}, +# {url = "https://www.getzola.org/", name = "Generated with Zola", rel=""}, +# {url = "https://pdx.sh/@bh", name = "Social on Portlandish (Mastodon)", rel="me"}, +# {url = "https://blog.bmh.io/atom.xml", name = "Atom (XML Feed)", rel=""} +# ] +# hyde_theme = "theme-base-0b" diff --git a/content/about/index.md b/content/about/index.md new file mode 100644 index 0000000..d7a61fe --- /dev/null +++ b/content/about/index.md @@ -0,0 +1 @@ +Brandon is...? diff --git a/content/2020-01-14-New-Year-New-Blog.md b/content/posts/2020-01-14-New-Year-New-Blog.md similarity index 100% rename from content/2020-01-14-New-Year-New-Blog.md rename to content/posts/2020-01-14-New-Year-New-Blog.md diff --git a/content/2020-04-01-Social-Network-Roundup.md b/content/posts/2020-04-01-Social-Network-Roundup.md similarity index 100% rename from content/2020-04-01-Social-Network-Roundup.md rename to content/posts/2020-04-01-Social-Network-Roundup.md diff --git a/content/2021-02-18-pleroma-setup-writeup.md b/content/posts/2021-02-18-pleroma-setup-writeup.md similarity index 100% rename from content/2021-02-18-pleroma-setup-writeup.md rename to content/posts/2021-02-18-pleroma-setup-writeup.md diff --git a/content/2022-03-20-converted-to-zola.md b/content/posts/2022-03-20-converted-to-zola.md similarity index 100% rename from content/2022-03-20-converted-to-zola.md rename to content/posts/2022-03-20-converted-to-zola.md diff --git a/content/2022-08-26-k3s-cluster.md b/content/posts/2022-08-26-k3s-cluster.md similarity index 100% rename from content/2022-08-26-k3s-cluster.md rename to content/posts/2022-08-26-k3s-cluster.md diff --git a/content/2022-09-08-how-terraform-implicit-dependencies-work.md b/content/posts/2022-09-08-how-terraform-implicit-dependencies-work.md similarity index 100% rename from content/2022-09-08-how-terraform-implicit-dependencies-work.md rename to content/posts/2022-09-08-how-terraform-implicit-dependencies-work.md diff --git a/content/2023-02-22-short-story-submit.md b/content/posts/2023-02-22-short-story-submit.md similarity index 100% rename from content/2023-02-22-short-story-submit.md rename to content/posts/2023-02-22-short-story-submit.md diff --git a/content/2023-04-28-llm-blogging.md b/content/posts/2023-04-28-llm-blogging.md similarity index 100% rename from content/2023-04-28-llm-blogging.md rename to content/posts/2023-04-28-llm-blogging.md diff --git a/content/2023-11-29-one-year-of-portlandish.md b/content/posts/2023-11-29-one-year-of-portlandish.md similarity index 100% rename from content/2023-11-29-one-year-of-portlandish.md rename to content/posts/2023-11-29-one-year-of-portlandish.md diff --git a/content/New-Year-New-Blog/namecheap-screenshot.png b/content/posts/New-Year-New-Blog/namecheap-screenshot.png similarity index 100% rename from content/New-Year-New-Blog/namecheap-screenshot.png rename to content/posts/New-Year-New-Blog/namecheap-screenshot.png diff --git a/content/_index.md b/content/posts/_index.md similarity index 100% rename from content/_index.md rename to content/posts/_index.md diff --git "a/content/how-terraform-implicit-dependencies-work/DALL\302\267E 2022-08-29 00.03.54.jpg" "b/content/posts/how-terraform-implicit-dependencies-work/DALL\302\267E 2022-08-29 00.03.54.jpg" similarity index 100% rename from "content/how-terraform-implicit-dependencies-work/DALL\302\267E 2022-08-29 00.03.54.jpg" rename to "content/posts/how-terraform-implicit-dependencies-work/DALL\302\267E 2022-08-29 00.03.54.jpg" diff --git "a/content/how-terraform-implicit-dependencies-work/DALL\302\267E 2022-08-29 00.03.54.webp" "b/content/posts/how-terraform-implicit-dependencies-work/DALL\302\267E 2022-08-29 00.03.54.webp" similarity index 100% rename from "content/how-terraform-implicit-dependencies-work/DALL\302\267E 2022-08-29 00.03.54.webp" rename to "content/posts/how-terraform-implicit-dependencies-work/DALL\302\267E 2022-08-29 00.03.54.webp" diff --git a/content/llm-blogging/Screenshot-2023-04-28-205243.jpg b/content/posts/llm-blogging/Screenshot-2023-04-28-205243.jpg similarity index 100% rename from content/llm-blogging/Screenshot-2023-04-28-205243.jpg rename to content/posts/llm-blogging/Screenshot-2023-04-28-205243.jpg diff --git a/content/llm-blogging/Screenshot-2023-04-28-205354.jpg b/content/posts/llm-blogging/Screenshot-2023-04-28-205354.jpg similarity index 100% rename from content/llm-blogging/Screenshot-2023-04-28-205354.jpg rename to content/posts/llm-blogging/Screenshot-2023-04-28-205354.jpg diff --git a/content/llm-blogging/Screenshot-2023-04-28-231042.jpg b/content/posts/llm-blogging/Screenshot-2023-04-28-231042.jpg similarity index 100% rename from content/llm-blogging/Screenshot-2023-04-28-231042.jpg rename to content/posts/llm-blogging/Screenshot-2023-04-28-231042.jpg diff --git a/themes/hugo-theme-console b/themes/hugo-theme-console new file mode 160000 index 0000000..d71f251 --- /dev/null +++ b/themes/hugo-theme-console @@ -0,0 +1 @@ +Subproject commit d71f2511f56f3a87a5fb2f7c2c4ebc8809393a2d diff --git a/themes/terminal b/themes/terminal new file mode 160000 index 0000000..6802c6e --- /dev/null +++ b/themes/terminal @@ -0,0 +1 @@ +Subproject commit 6802c6eebf830e4f57f4903a2692b7888841ce22