May 17, 2024
Pages from data in Hugo
The latest release from Hugo (the static site generator) brings a long-awaited Hugo feature that has had many names. This feature allows you to create pages from data.
You can read all about it in the documentation where it’s titled Content Adapters.
Also worth mentioning in this release are the new Extras Goldmark Extensions, which allows you to enable Markdown syntax for inserted text, mark text, subscript and superscript. You can now write stuff like ‘H2O and 1st’ without using HTML tags.
The markdown:
H~2~O and 1^st^
The required config:
markup:
goldmark:
extensions:
extras:
insert:
enable: true
mark:
enable: true
subscript:
enable: true
superscript:
enable: true
My upgrade commands:
wget https://github.com/gohugoio/hugo/releases/download/v0.126.0/hugo_extended_0.126.0_linux-amd64.deb
sudo dpkg -i hugo_extended_0.126.0_linux-amd64.deb
Check out this new v0.126.0 release! Don’t forget to download the extended version for webp support.
() Joost van der Schee