This example shows how to build a Hugo site and deploy the generated HTML to Wasmer Edge.
https://wasmer-edge-hugo-sample.wasmer.app/
hugo.tomldefines the site title, base URL, and theme (ananke).- Content lives under
content/; runhugo newto add more pages or posts. - The bundled
themes/ananketheme provides layouts and styling. hugobuilds everything into thepublic/directory—exactly what Wasmer Edge serves.
hugo serverThe development server watches your files and serves the site at http://127.0.0.1:1313/ with live reload.
- Generate the static site:
hugo(outputs topublic/). - Configure Wasmer Edge to publish the
public/directory. - Deploy and open
https://<your-subdomain>.wasmer.app/to view the site.