This is a Hugo theme component with helpers to host your GoHugo generated static website on Netlify. If you don’t use Netlify, you DO NOT need this module. Features Installation and setup Configuration Redirects Per post Additional Redirects Disable internal alias creation in Hugo Headers Content Security Policy Sample Configuration Updating Extend netlification headers from other modules Notes Testing output Troubleshooting Features Redirects: Adds redirects via HTTP headers.
Posts tagged with #gohugo
Recent Posts (Page 3)
Debug everything in Hugo! This module for GoHugo adds debugging partials for everything you need to debug. Notes This is a GoHugo module to use while you are developing your theme or website. It slows down the build process. Knowledge about variables in our template and NOT speed is our main priority.
Debug everything in Hugo! This module for GoHugo adds debugging partials for everything you need to debug. Notes This is a GoHugo module to use while you are developing your theme or website. It slows down the build process. Knowledge about variables in our template and NOT speed is our main priority.
This is a GoHugo module that implements three configurable feed formats: RSS, Atom, and JSONfeed. Find out more about the RSS, Atom and JSON feed formats Configuration Limits hugo-feeds uses a cautious approach at configuring the output of the feeds. Where GoHugo’s internal RSS template prints all available pages without a configured limit, hugo-feeds will load only the 10 latest pages/posts, but you can configure at your pleasure.
This GoHugo module streamlines the addition of SVG-based icon sets to your Hugo website, utilizing the efficient method of defining icons once using <symbol> and reusing them with <use>. By default, the module includes icon sets as an example, but is designed to support any SVG icon set you wish to integrate.
Better code highlighting for Hugo with render hooks
One of GoHugo’s problems is, that the focus is mostly on speed. Simple HTML rules are prone to be ignored or freely interpreted (for instance, in the internal templates). But it offers ways to override and configure things, so not all is lost.
Hugo 0.96 update notes
Hugo 0.96.0 was published last weekend with two new features and many smaller changes and fixes under the hood. Here is a quick overview of the release. New features Vertical merging of content mounts Under this title hides a useful feature for Hugo Modules that mount content directories.
Hugo 0.95 - Update Notes
Hugo 0.95.0 brings some really useful features (next to smaller speed increases as always) and upgrades the used Golang version to 1.18. New feature: {{ break }} and {{ continue }} break and continue are keywords known to developers of any programming language.
Hugo Shortcode: Taglist
I needed a Hugo shortcode to show a list of posts that belonged to a certain</a
tag, which is quite easy. Add the following to layouts/shortcodes/taglist.html or whatever name you like to use for the shortcode.
Converting frontmatter in GoHugo
Some days ago I realised, that I keep all my configurations for GoHugo in the TOML format, while using YAML for the frontmatters in my content folder. That did not seem right ;) so I changed those too to TOML.
- 100daystooffload(100)
- automation(4)
- bash(9)
- bookmarks(3)
- cli(2)
- component(22)
- configuration(3)
- content(2)
- css(2)
- davidsneighbour(19)
- debugging(2)
- design(4)
- development(9)
- devops(3)
- documentation(2)
- git(11)
- github(5)
- gitignore(2)
- gitlab(2)
- gohugo(34)
- golang(2)
- google(2)
- howto(11)
- html(2)
- javascript(3)
- kurzschnitte(3)
- laboratory(17)
- learning(2)
- link(3)
- links(2)
- linting(2)
- logging(3)
- markdown(2)
- me-now(3)
- module(2)
- netlify(2)
- node(2)
- notes(19)
- npm(3)
- opsec(2)
- pipes(2)
- plugin(2)
- programming-music(9)
- project-management(2)
- refactoring(2)
- security(6)
- self-improvement(17)
- seo(9)
- shell(2)
- shortcode(3)
- social-media(2)
- troubleshooting(2)
- twitter(3)
- ubuntu(5)
- video(4)
- vscode(7)
- wes-anderson(2)
- wordpress(2)