Files
HugoBlox-kit/modules
George Cushen 26c336eb6d feat(publications): improve structure + awards/funding/license metadata
Restructure `publication` frontmatter from a flat Markdown string into a
structured object (name, short_name, volume, issue, pages, publisher),
resolved through a new `functions/resolve_publication.html` partial that
also emits a per-page warning pointing legacy sites at `hugoblox migrate
publications`. APA/MLA citation rendering and the publication metadata
row both consume the resolver - no parsing of conventional Markdown
strings at render time.

Add work-level metadata fields surfaced via a new reusable
`components/award_badge.html` partial (variants: pill, card-corner,
inline, row; level-driven icon + colour tokens; pagefind filter):

- `awards[]` - name, level (winner/runner_up/honorable_mention/nominee/
  selected/featured), issuer, date, note, url; skim-row pills above the
  featured image, full row in the metadata grid, corner badges on card
  and slides-gallery views, inline marker on citation views, pill on
  date-title-summary
- `funding[]` - funder + grant + url, rendered as a metadata grid row
- `license` - SPDX-friendly string, metadata grid row
- `peer_reviewed`, `open_access` - status pills, decoupled from
  the publication block so preprints can surface them

Demo content updated in academic-cv (and the same shape in research-lab).
2026-05-27 03:53:21 +01:00
..
2026-01-02 22:01:47 +00:00
2026-01-02 22:19:16 +00:00

HugoBlox Kit Modules

Install HugoBlox features as Hugo Modules.

Quick start (most sites)

Add HugoBlox Kit core to config/_default/module.yaml (or hugo.yaml):

module:
  imports:
    - path: github.com/HugoBlox/kit/modules/blox

That’s it — analytics is already included when you use modules/blox.

Module map

  • Core framework: github.com/HugoBlox/kit/modules/blox
    • Layouts, blocks (Blox), Tailwind pipeline, shortcodes, defaults
    • Includes: github.com/HugoBlox/kit/modules/analytics
  • Slides (content type): github.com/HugoBlox/kit/modules/slides
    • Markdown slide decks (powered by Reveal.js)
  • Integrations: github.com/HugoBlox/kit/modules/integrations/*
    • Netlify: github.com/HugoBlox/kit/modules/integrations/netlify

Optional installs

Slides

module:
  imports:
    - path: github.com/HugoBlox/kit/modules/blox
    - path: github.com/HugoBlox/kit/modules/slides

Netlify integration (security headers + redirects outputs)

module:
  imports:
    - path: github.com/HugoBlox/kit/modules/blox
    - path: github.com/HugoBlox/kit/modules/integrations/netlify

Then enable Hugo outputs for Netlify:

outputs:
  home: [HTML, RSS, headers, redirects]

Updating

hugo mod get -u github.com/HugoBlox/kit/modules/blox@main
hugo mod tidy