cmod / hugo-bare-min-theme

A bare minimum theme for Hugo (https://gohugo.io) to help develop and debug Hugo sites

Home Page:https://hugo-bare-min.netlify.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The Bare Min theme is heavily inspired from the better mother-loving website.

It was designed to:

  • Get rid of all visual clutter (CSS, JS, etc.)
  • Allow easily seeing debug information (debugprint.html partial) while developing Hugo sites, where focus stays on content development.

Bare Min Theme Screenshot

This theme is being used by:

  1. The example site of this theme.
  2. The test site for ox-hugo.
  3. Unofficial Hugo Sandbox site that is used to create test cases for hugo bugs, new feature requests, and testing hugo features in general.

Configuration options

These theme provides few customization hooks.

# In the site's config.toml

[Params]
  description = "Description of the site."
  intro = """
Text here is added to the header of each page.

This can contain <b>HTML</b> and/or **Markdown**
and can be multiple lines.
"""
  footer = """
Text here is added to the footer of each page.

This can contain <b>HTML</b> and/or **Markdown**
and can be multiple lines.
"""
  [Params.source]
    url = "https://your/site/repo/url" # Mandatory, used in bare_min single.html, baseof.html
    md_dir = "content" # Used to create links from pages to the page Markdown sources
    org_dir = "content-org" # Optional, but use if using ox-hugo!

See the Params section in the config.toml of this theme's exampleSite to get an example.

About

A bare minimum theme for Hugo (https://gohugo.io) to help develop and debug Hugo sites

https://hugo-bare-min.netlify.com/

License:MIT License


Languages

Language:HTML 83.1%Language:CSS 16.9%