Volver a las plantillas
hugo icon

Mainroad Hugo Theme

Mainroad is a Hugo website theme by Vimux. This template pins it as a module and serves a small demo.

preview of Mainroad Hugo Theme

Mainroad

Demo

https://hugo-mainroad.wasmer.app

About the theme

Mainroad is a Hugo theme maintained by Vimux. This template does not copy the theme source. It imports github.com/Vimux/mainroad as a Hugo module pinned to commit 13e04b3694ea, builds it with Hugo extended, and serves the result on Wasmer Edge. The demo pages come from the theme's exampleSite folder.

Customise

Edit hugo.toml and the files under content/. Update the theme with hugo mod get -u. To change copies of the theme files, run hugo mod vendor and edit the vendored module.

Run locally

Install Hugo extended 0.167.0 and Go 1.25.5. From this folder:

hugo mod get
hugo server

Deploy to Wasmer

This folder is a Wasmer Edge template. Deploy it from the Wasmer template catalog, or with the Wasmer CLI from this directory. The build runs hugo mod get and then Hugo, and static-web-server serves the published site.

License and credits

Theme by Vimux: https://github.com/Vimux/mainroad License: GPL-2.0 Pinned commit: 13e04b3694ea2d20a68cfbfaea42a8c565079809

Frameworkhugo
Languagego
Browse all templates →
Mainroad Hugo Theme · Wasmer