Hugo

From IndieWeb
Jump to: navigation, search

Hugo is a static site generator written in Go. It is designed to build a site based on markdown files with header information in YAML or TOML. It uses Go templates and compiles a full site very rapidly. No built-in IndieWeb support, but adding microformats to templates is relatively straightforward.

Contents

IndieWeb Examples

People currently using Hugo as their primary site:

Micropub Implemetation

Daniel Goldsmith wrote the nanopub micropub-endpoint specifically for use with Hugo. Provides implementation for notes, articles, check-ins, bookmarks and replies.

Migrating to Hugo

From WordPress

There is a small nifty wordpress-to-hugo-exporter plugin for Wordpress, which exports Posts and Pages from a WordPress site into a files and directories hierarchy ready to be used with Hugo (one would still need to configure/create a theme, etc. before being able to actually compile the site).

Tested at IndieWebCamp Brighton 2016 by hotzeplotz on WordPress 4.6.1, worked perfectly (exporting around 7MB of post/pages and media to a zip file in <1 second, with content then compiled by Hugo in 150ms!)

See Also

Retrieved from "https://indieweb.org/Hugo"
Personal tools
Namespaces
Variants
Actions
Recent & Upcoming
Resources
Toolbox