Hello, world!
I made this site based on a very minimal hugo theme. Despite the fact that this theme is only 150 lines of code, I still don’t understand it! There are two reasons for this:
- I’m not familiar with Hugo (the static site generator I’m using) or really web development
- There seem to be a lot of magic constants in hugo that I don’t like. I think this was part of an effort to make Hugo “creator-friendly” by hiding complexity from users of the tool. But hidden complexity is still there! For example, the homepage of this site renders by including some custom headers and footers (which are easily visible in the source), a list of posts (again, visible in the source), and custom content from “content/_index.md”, a filename that is completely invisible to the user. Apparently this is just hardcoded into Hugo. If you make the mistake of editing “content/index.md” instead, the page won’t render correctly and there’s nothing visible in the source or configuration files that you can use to trace the problem through the build process. Eventually, I may choose to migrate this site to another tool to avoid this problem.
In the meantime, my priority was to get MathJax working so I can do math on here:
\(x^2 = 4 \)
And it does! See you next time!