Minimal Site & Theme

Description: Ugly, but Structure and a dynamic Navigation.
Demo Site: https://about-hugo.github.io/minimal-site/
Source Code: https://github.com/about-hugo/minimal-site
GH Actions: actions
Theme Home Page: https://github.com/about-hugo/minimal-site/tree/main/themes/minimal-theme

Minimal Site/Minimal Theme is a basic site & theme which has a minimal page structure with header, footer and navigation partials and a dynamic recursive navigation which reflects the complete content/ file tree.

This example shows

  • how a site is constructed with partials for header, footer and navigation
  • two ways to create menus/navigation:
    • dynamically from the /content folder tree structure (left site, in partials/navigation.html)
    • with .Site.Menus.main in partials/footer.html

See the Navigation for more information on how to create a menu.

Minimal-Theme is directly included in the repo.