This website is made with Hugo and themed by accessible minimalism.
The favicons for this site were generated from this icon over at icon-icons.com using Real FavIcon Generator. A local copy of the SVG is here:
I used LunaPic’s in-browswer circle-crop tool to make the circle-cropped headshot photo.
Generally, I like to shrink photos to 800x800 using: convert -quality 80 -geometry 800x800 image.jpg image-small.jpg
To get KaTeX to do both inline and display equations, I modified
./layout/partials/katex.md according to Kevin Cazelle’s suggestions here: https://kevcaz.github.io/notes/hugo/katex_and_goldmark/.
And now math looks like this: Inline: $\pi$ Display style: $$\int x\ dx = \frac{1}{2}x^2 + C$$
The website is compiled by Hugo locally, and I use rsync to put it on the server.
rsync -avz /home/pgadey/Hugo/pgadey/ cloudbox:/home/pgadey/public_html
The archive is setup using:
content/archive.md
themes/accessible-minimalism/layouts/partials/archive.html
themes/accessible-minimalism/layouts/_default/archive.html
Hugo supports the ability to add shortcodes, or macros, to do all sorts of things. I’ve added a couple shortcodes, but I always seem to forget how they work. And so, I’m putting some reminders to myself here.
The shortcode static makes accessing static resources easier.
{{< static "share/some-document.pdf" >}}

The shortcode private allows me to put material here which is shown locally via hugo server but doesn’t get published.
{{< private >}}
This material is private.
{{< /private >}}
The shortcode gobble just consumes whatever it is given.
It is occassionally helpful for keeping post-level to-do lists which are only
visible while editing the original source of a post.
{{< gobble >}}
This vanishes!
{{< /gobble >}}
This website supports a simple form of transclusion which allows me to gather snippets from multiple places and dump them in one spot. For example, the bookmarks page is populated with material wrapped in the following.
{{< gather dest="bookmarks" >}}
Links to things!
{{< /gather >}}
All that material gets dumped on the bookmarks page using:
{{< dump source="bookmarks" >}}
The gather and dump mechanism was introduced here Week Notes 15.
There is a link not found page. The backlinks on this page are especially interesting. They point to every page that has a missing link.
This page is enable by setting
refLinksNotFoundURL="https://pgadey.ca/link-not-found/"
in config.toml.
gather shortcode.static shortcode following the suggestion here.<details> folds following the example of Oatmeal.gobble shortcode.list.html default layout template to pass the .Content of _index.md. This means that pages now have a bit of built in content.notes.
Published: May 17, 2021 @ 22:30.
Last Modified: Apr 27, 2026 @ 22:21.
Home / Now / Archive / Office Camera / Bookmarks / Tags / Feeds / Top of Page
Thanks for reading! If you have any comments or questions about the content, please let me know. Anyone can contact me by email.