Recent Posts (Page 4)

Netlification

Netlification

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. Add this module [[module.imports]] path = "github.com/davidsneighbour/hugo-netlification" disable = false ignoreConfig = false ignoreImports = false Latest Version v1.

Head

Head

This is a GoHugo theme component that solves the old question “What tags belong into the <head> tag of my website?” Set it up, configure it, forget it’s there. This component adds a multitude of tags and is extensively configurable.

Hooks

Hooks

Hooks for GoHugo layouts. An easy way for theme developers to let users add partials and blocks at pre-defined safe places to their themes. We often want to add locations and places in our templates and layouts where it’s users can add something on their own.

Feeds

Feeds

This is a GoHugo theme component that implements various configurable feed formats. Currently implemented formats are RSS, Atom and JSONfeed. Find out more about the RSS, Atom and JSON feed formats Add this module [[module.imports]] path = "github.com/davidsneighbour/hugo-feeds" disable = false ignoreConfig = false ignoreImports = false Latest Version v1.

Icons

Icons

This is a Hugo theme component that adds several icon sets to your Hugo website. Add this module [[module.imports]] path = "github.com/davidsneighbour/hugo-icons" disable = false ignoreConfig = false ignoreImports = false Latest Version (--) Fix to this version hugo mod get github.

Photo by Mikhail Vasilyev via Unsplash

.gitignore for GoHugo

This is a slight update on my previous post about the perfect .gitignore file for GoHugo. TLDR: The current optimum .gitignore content for a GoHugo project is the following (in addition to your own ignored files and folders): ini 1/public/ 2/resources/_gen/ 3/assets/jsconfig.

Robots

Robots

This component for GoHugo adds a customisable robots.txt to your website. Add this module [[module.imports]] path = "github.com/davidsneighbour/hugo-robots" disable = false ignoreConfig = false ignoreImports = false Latest Version v1.2.5 (2022-08-08) Fix to this version hugo mod get github.com/davidsneighbour/[email protected] Usage This component can be used as drop-in without much configuration.

Sitemap

Sitemap

This is a Hugo theme component with layouts to add a configurable sitemap to your website. Hugo itself has internal templates that add sitemaps, but this component has additional setup options per page. Add this module [[module.imports]] path = "github.com/davidsneighbour/hugo-sitemap" disable = false ignoreConfig = false ignoreImports = false Latest Version v1.

Photo by Chuttersnap via Unsplash

Less Clutter in Vscode

I am one of these kind of people that install plenty of extensions and tools and experiment around in VSCode (or any other code editor I am working with). Some time ago I realised, that this lead to a slow program and many of these plugins are only useful for a limited number of projects.