Below you will find pages that utilize the taxonomy term “hugo”
Hugo Shortcodes
Hugo shortcodes are useful when you need to output HTML from your markdown that is incompatible with the goldmark or black friday parser. When the markdown parser encounters an HTML element, it skips processing until that element is closed. The div
custom shortcode included below is an example of how to workaround this issue.
Hugo + Node.js Koa App Connected to MongoDB Part II
In part 2 of the series, we’re adding the site content to a search.json
file when the Hugo static site is built and importing it into a MongoDB collection. Then in the Node.js Koa app, we create an API endpoint that returns search results from the collection in MongoDB.
Hugo + Node.js Koa App Connected to MongoDB
This project demonstrates how to create a development environment utilizing a Docker stack of Nginx to serve the static website, Nodejs for the api applications, MongoDB for the api data and Traefik for reverse proxy. This stack is suitable for deployment to staging and production environments.
Hugo Content with Pages and Navigation
While converting my WordPress content into markdown files for Hugo, I wanted to keep my permalinks exactly the same. For my existing content that spans more than a single page, I created a way to do this without server rewrite rules or Hugo aliases that use meta refresh
which is sub-optimal for SEO performance.
Hugo Static Site Generator Blank Starter Theme
I’m in the process of converting my WordPress site into a static site compiled from markdown files using the Hugo static site generator. For this task, I created a blank Hugo starter theme that uses Webpack and optional webpack-plugin-serve for UI development build live reload.