Overview#
I want to move away from webflow and build a simpler, static site for my articles and stuff.
Lessons Learned#
Hugo archetypes are templates for different content types. They allow you to configure different frontmatter. - Hugo Archetypes
Each directory within the content/ directory defines a different content section (like tutorials, articles, etc.), and this is used to determine a content’s content type.
- Hugo Project Architecture
Page Bundles are a way to organize pages. Branch bundles are used for a home page, section page, taxonomy terms, etc. (these are list pages) and must contain at least an _index.md file. Leaf bundles contain at least an index.md file and define a regular page. These aren’t required organization methods, however. This all occurs within the content/ directory.
To set up a menu section with Terminal, set it up in config.toml like so:
languages.en.menu.main
identifier = "showcase"
name = "Showcase"
url = "/showcase"
A shortcode is a repeatable snippet for content, while a partial is the same thing for templates. - Source
Resources#
Terminal theme URL: erisianrite.com
Project Plan#
Build out the rough structure of tasks to do for this project. These should be decomposed into intermediate and, ultimately, atomic tasks, the latter of which (previously referred to as “daily tasks”) should be dated and added to Todoist, then linked to in the project notes.
- Select site generator
- Hugo
- Netlify or Github pages for hosting
{
"name": "Personal Site Redesign",
"filter": "#Personal Site Rebuild"
}
Designs#
Theme choices#
Going to go with Terminal. Others I like include Shell and Risotto.
Navigation Header#
- About
- Posts
- An alphabetical list of posts by title?
- Outside writings
- Links to articles I’ve written elsewhere
- Projects
- Public projects
- Notes
Questions#
How do you define a single page section? - Use a content directory with just an index.md
Journal#
2023-07-16#
Today I discovered that URLs don’t work quite right, and this may be a hugo thing? kylestratis.com is the alias for erisianrite.com and as such all links should come through kylestratis.com when accessed that way. The codex doesn’t because Obsidian only supports 1 URL for Obsidian Publish, but internal post links all resolve to erisianrite.com while navigation links do not.
2022-08-30#
Created a shortcode > __Disclosure__: This article uses affiliate links. Items I recommend may generate a small commission for me if you purchase them via my link. for affiliate disclosure, started porting pt 2 of information operating sysetm over.
2022-08-21#
Finally figured out the domain settings for the non-www URL in Namecheap. The ALIAS record’s host has to be @, and then you can point it to the Netlify load balancer.
I also moved kylestratis.com and erisianrite.com both to Cloudflare’s nameservers. This made setting up SSL much easier and once everything propagated, https just worked for my Obsidian notes and for the main site.
2022-08-20#
I deployed the site to Netlify today! It was pretty easy. I had trouble getting the theme to work, but updating the baseUrl to http://www.erisianrite.com/ got it to work. The www was needed because the DNS alias for erisianrite.com without the www hasn’t propagated yet.
2022-07-18#
Beginning Obsidian to Hugo Linter
2022-07-06#
Going to try and build out links to my external writing.
2022-06-04#
Alternative URL: erisianrite.com, title Rites of Eris (or keep Principia Programmatica)
- Forming order from chaos, and chaos from order
2022-05-27#
Read docs, did initialization of site, and selected a theme.