Setting Emacs Variables in Hugo Markdown
If you want to set Emacs File Variables in your Hugo markdown files but not have the Emacs variables visible in your rendered content you have a couple of options: Option 1 – use an HTML comment Include the file variables in an HTML comment – that will be stripped out, at least if you are using the default Goldmark renderer. That looks like this: <!-- Local Variables: mode: markdown-mode whitespace-line-column: 100 End: --> This will be replaced with ‘<– Raw HTML omitted –>’ in the rendered HTML, but won’t produce any user-visible display artifacts.
read more...
Tags: emacs hugo markdown
Tinyimages
Overview Tinyimages is an image render hook and gallery shortcode meant to be used with Tinyblog. I separated it out to make it easier to use with other Hugo themes. The latest version can be downloaded here. Instructions for adding Tinyimages as a Hugo module to your site are provided here in the Tinyblog instructions. Features Preferential loading of avif and webp images, with fallback to PNG/JPG/etc. Basic lightbox to display zoomed-in images (with a further click for full size link) Lightweight - as much as possible is done with CSS, and only the bare minimum amount of Javascript needed for zoom and gallery rendering is present.
read more...
Tags: hugo theme minimal images tinyblog
Tinycomments
Table of Contents Overview Features Design Goals Installation Proof of Work System TODO License Overview Tinycomments is a small self-hosted commenting engine designed to be used with Tinyblog, although it could be used with any website with some adaptation (a little if you’re just using a different Hugo theme, more if you don’t use Hugo at all.) The latest version of Tinycomments is published here. Like Tinyblog, Tinycomments is built with no externally hosted dependencies and with privacy in mind.
read more...
Tags: hugo theme minimal comments tinyblog
Tinyblog Theme for Hugo
Tinyblog is a hyper minimalist theme for Hugo. You can download it here. If you want to see what it looks like, you’re looking at it. This blog uses Tinyblog with the default theme settings. Table of Contents Overview Design Goals A Note on Accessibility Installation Customization Front Matter Deeper Customization Todo License Overview I really like the Hugo site generator. It’s fast, and doesn’t have a bunch of bloated server-side dependencies.
read more...
Tags: hugo theme minimal