2022-11-17 16:04:22 -08:00
2022-09-07 21:40:58 -07:00
2022-09-07 17:46:20 -07:00
2022-09-08 00:54:26 -07:00
2022-11-17 16:01:06 -08:00
2022-09-07 18:29:12 -07:00
2022-09-07 17:52:28 -07:00
2022-09-07 17:46:20 -07:00
2022-11-17 16:04:22 -08:00
2022-09-08 02:14:28 -07:00

paige

A simple Hugo theme. Try it out.

Features

  • Blog
  • Facebook sharing support
  • Google Analytics support
  • Landing page
  • Light color scheme
  • Menu navigation
  • Minimal design
  • Responsive, mobile-first layout
  • Sections for other kinds of content
  • Single column presentation
  • Social links
  • Twitter sharing support

Design

HTML metadata is embedded automatically. The HTML author is the site author. The HTML description is the page description. The HTML keywords is a sorted union of the page keywords, tags, and categories. Enhanced Facebook and Twitter sharing is enabled. Google Analytics is included at the bottom of the body, if configured. You must create favicons yourself.

The HTML title is the page title, followed by a middle dot, followed by the site title. If one is missing, the other is used without the middle dot. If both are the same, only one is used without the middle dot.

The HTML body can have a header, a body, and a footer. The header has the section menus, if any; the page title, if any; the page description, if any; and the page date, if any. The body has the content, if any. The footer has the copyright notice, if any.

The page date is the publish date, if it exists; otherwise, it's the creation date.

Everything is stacked vertically in one column and aligned to the center.

List page items are the page title with the page description underneath, grouped by month and year, and sorted in descending order. Page list length is configured in config.yaml.

The section menus in the header are activated if their section matches the current page. Pages directly under content match the section path /. The section menu names, paths, and order are configured in config.yaml.

If a page has a link parameter, it's used as the reference for an anchor around the page title, if any.

If partials/head.html exists in the site, it is included at the end of the head tag. If partials/body.html exists in the site, it is included at the end of the body tag.

The home page shows the blurb, description, greeting, and title parameters from content/_index.md, the avatar.png and cover.png images at the site root, and linked icons for all the social sites configured in config.yaml.

Taxonomy pages are an inline, unordered, sorted list of links to terms.

The 404 page has a "Not Found" header, and no body.

An empty list has a "Nothing Here" header, and no body.

Stock Bootstrap 5.2.2 and Bootstrap Icons 1.10.2 are used for style and icons. They're loaded from the Bootstrap CDN for every page.

Configuration

See the example site directory for an example configuration.

Credits

Description
My fork of the Paige theme for Hugo (https://github.com/willfaught/paige), with some modifications for my guitar website. See the 'myFork' branches for changes I made.
Readme 18 MiB
Languages
HTML 87.4%
CSS 11.4%
Python 0.9%
SCSS 0.3%