Skip to content

Commit

Permalink
don't have time for rust and zola; time to be pragmatic with hugo
Browse files Browse the repository at this point in the history
  • Loading branch information
highb committed Oct 23, 2024
1 parent ddcfac6 commit aca2b51
Show file tree
Hide file tree
Showing 23 changed files with 129 additions and 24 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
node_modules/
dist/

static/processed_images/
static/processed_images/
public/
6 changes: 6 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -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
3 changes: 3 additions & 0 deletions .mise.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[tools]
go = "1.21.6"
hugo = "extended_0.136.4"
138 changes: 115 additions & 23 deletions config.toml
Original file line number Diff line number Diff line change
@@ -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"
1 change: 1 addition & 0 deletions content/about/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Brandon is...?
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions themes/hugo-theme-console
Submodule hugo-theme-console added at d71f25
1 change: 1 addition & 0 deletions themes/terminal
Submodule terminal added at 6802c6

0 comments on commit aca2b51

Please sign in to comment.