8 Hugo Modules: Plugins for everybody
This chapter covers
- Using Hugo Modules for distributing and using themes
- Adding dependencies in a theme or a website with Hugo Modules
- Embedding template plugins to get reusable Go template code
- Including plugins that provide configurable content
In this chapter, we will set up and utilize Hugo Modules—one of the most powerful, underrated, and underutilized features of Hugo. We have worked in isolation so far and have an independent website with no external dependency. That’s an incredible feat to have in modern-day software. Lots of poorly maintained dependencies make managing software difficult. That does not mean that we should always build our website as a monolith. There are immense advantages of splitting ...
Get Hugo in Action now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.