Posts for: #Hugo

Updating this website (again)

Updating this website (again)

I’ve done it! Finally got my website all sorted.

TLDR:

  • RTFM. The config section of the docs had the answer the whole time; needed to set config to point to my subdirectory instead of the root.
  • Clear your cache, and the web server’s cache. Band-aid is to open your browser’s network section of the dev tools and disable cache, which apparently also has the effect of requesting fresh content from the web server as well.

I found a php photo gallery at novaGallery. It’s a very pleasant-looking design that uses PHP to serve images from a folder on the server. It handles caching and thumbnails, and can present full-screen lightboxes for the individual images. It’s reasonably quick once the cache is built.

Updating this website

Updating this website

Finally got around to updating this dang website.

I’m using straight Hugo, built on a WSL Ubuntu, and rsync’d over to my website (why is rsync on Windows so hard?). I might use quarto going forward to render any notebooks I have. For R and python I’m using micromamba to manage installation and environments.

Formerly I’d relied on the R package blogdown to create the website; however, I felt that it abstracted just a bit too much of the process away, I wanted to be more involved in maintaining hugo settings and understanding the system a little better. Don’t get me wrong, I think for those who don’t want to know about hugo or jekyll or whatever, blogdown is a great way to get up-and-running very quickly. I just had a terrible system for managing things that got in the way and lowered motivation to update the website, so I wanted to simplify.