OpenModels
Go and Hugo Proxy Servers

Go’s official module proxy server is blocked by GFW, so it can’t be used properly in China without VPN. However, this can be solved by setting a proxy server, and this article will list some available Go proxy servers. The same applies to the Hugo modules.

OpenModels
github.com/hugomods/search/v0.1.2
What’s Changed chore(deps): update module github.com/hugomods/icons/vendors/bootstrap to v0.4.1 by @renovate in https://github.com/hugomods/search/pull/115 fix: do not prevent default events of navigation keys by @razonyang in https://github.com/hugomods/search/pull/116 Full Changelog: https://github.com/hugomods/search/compare/v0.1.1...v0.1.2
OpenModels
YouKu

This shortcode allows embedding YouKu videos into content.

OpenModels
Asciinema

This shortcode add support for the asciinema, a CLI tool records and share terminal sessions.

OpenModels
JSRun

This shortcode add support for JSRun, a online code editor for testing your codes, such as JavaScript, CSS, HTML, Go, PHP and so on.

OpenModels
JSFiddle

This shortcode add support for JSFiddle, a online code editor for testing your JavaScript, CSS, HTML.

OpenModels
CodePen

This shortcode add support for CodePen, a online code editor for testing your JavaScript, CSS, HTML.

OpenModels
Bootstrap Ratio Shortcode

The ratio shortcode is perfect for responsively handling video or slideshow embeds based on the width of the parent.

OpenModels
Bilibili

This shortcode allows embedding the bilibili video in your content.

OpenModels
NetEase Cloud Music

The NetEase cloud music shortcode allows embedding the player in your content. Playlist, album and single song are supported.

OpenModels
github.com/hugomods/search/v0.1.1
What’s Changed fix: auto focus to search input after initialization by @razonyang in https://github.com/hugomods/search/pull/114 Full Changelog: https://github.com/hugomods/search/compare/v0.1.0...v0.1.1
Hugo Google Adsense Module
Merge Renovate's PRs via Mergify Automatically
Merge Renovate's PRs via Mergify Automatically

The other day I successfully set up Renovate (automated dependency update application) for my Hugo modules and modular sites. But I soon realized that manually merging these PRs was very tedious. So I started looking for a way to automatically merge PRs.

OpenModels
Hugo I18n JS Module

A super simple and lightweight i18n JS module for Hugo, used to render i18n stuff in JS way.

OpenModels
Hugo Snackbar Module

A super lightweight (less then 50 lines code) snackbar module for Hugo, used to show short messages to clients, such as results of actions.

Hugo Code Block Panel Module
Hugo Code Block Panel Module

A simple code block panel module for Hugo, which includes expand toggle, code copy button, line number toggle and wrap toggle.

Google Analytics
Google Analytics

This module offers support for Google Analytics. It’s built on top of Hugo internal Google Analytics template, and port it for HugoPress.

OpenModels
OpenModels
Hugo Utterances Module

This module add support for Utterances comments engine, a lightweight comments widget built on GitHub issues.

OpenModels
Hugo Giscus Module

This module add support for Giscus, a comments system powered by GitHub Discussions. Let visitors leave comments and reactions on your website via GitHub!

Hugo Mermaid Module
Hugo Mermaid Module

Mermaid lets you create diagrams and visualizations using text and code.

OpenModels
Hugo SEO Modules

This module ships with some sub modules to helps you generate SEO stuff, such as favicons, twitter cards, open graph, schema, alternatives and translations meta tags.

Set Up Renovate for Hugo Modules and Modular Sites
Set Up Renovate for Hugo Modules and Modular Sites

Renovate is a bot for automated dependency updates, it’s useful for Hugo modules and modular sites to check and update the dependencies automatically.

OpenModels
How to Use Hugo Modules

You’ll need to make some minor preparations before using the Hugo modules.

Hugo PWA Module
Hugo PWA Module

PWAs (Progressive web apps) are web apps developed using a number of specific technologies and standard patterns to allow them to take advantage of both web and native app features. The PWA module includes preliminary support for Hugo sites, see the features below.

OpenModels
Bootstrap Toggle Shortcode

The config toggle is useful, but it’s limited to generate configuration code blocks in YAML, TOML and JSON languages. The toggle* shortcodes are designed to be more versatile.

Bootstrap Alert Shortcodes
Bootstrap Alert Shortcodes

The article describe how to use the bs/alert* shortcodes to generate alert messages.

OpenModels
Bootstrap Clearfix Shortcode

Quickly and easily clear floated content within a container by wrapping the content inside the bootstrap/clearfix shortcode.

OpenModels
Bootstrap Config Toggle Shortcode

This shortcode generates the code blocks in multiple languages from one code base. It is useful for projects that support configuring in multiple languages, such as TOML, JSON and YAML.