Hugo Module Mounts

Community

Unify docs into a single Hugo site.

Authortherealbill
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Hugo sites often need content from multiple repositories or subdirectories. This skill provides a pattern to mount multiple directories into Hugo's content tree, creating a unified, symlink-free filesystem view for a single site.

Core Features & Use Cases

  • Multi-directory content aggregation using Hugo's module mounts ([[module.mounts]]).
  • Replaces default mounts by mapping standard directories (content, static, layouts, data, assets, i18n, archetypes) and custom mounts.
  • Examples: monorepos with per-plugin/docs, per-service/docs, or tools/docs, resulting in a cohesive site without duplicating files.

Quick Start

Create or update hugo.toml with module.mounts entries that map source directories to targets, ensure parent sections have _index.md, and start the Hugo server to verify a unified multi-directory site.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: Hugo Module Mounts
Download link: https://github.com/therealbill/mynet/archive/main.zip#hugo-module-mounts

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.