How to Serve Your Hugo Site on a Local Network

You can serve your Hugo site on a local network with hugo server --bind 0.0.0.0 --baseURL <local-IP-address>. Then other devices on the same network can reach the site.

 · 2 min · 331 words

How to Install a Specific Version of a Homebrew Package with brew extract

Use brew extract to install a specific version of a homebrew package.

Proper Hugo Template Syntax Highlighting with go-html-template

Improve Hugo template code highlighting using go-html-template Markdown code blocks.

 · Updated  · 2 min · 280 words

A Trick To Remove Unwanted Whitespace After Links in Hugo

Use this template syntax to remove unwanted whitespace after links in Hugo.

 · Updated  · 3 min · 610 words

Remove Unnecessary Hugo Meta Tag to Keep HTML Lean

Remove an unnecessary and auto-generated Hugo meta tag by setting disableHugoGeneratorInject to true.

 · Updated  · 1 min · 124 words

How to Generate and Format the Current Date and Time in Hugo with dateFormat

Several examples of dateFormat including date only, date + 12-hour time, date + 24-hour time, date + timezone, and date + UTC offset.