Skip to content

Shortcode templates missing after upgrade to @thulite/[email protected] #1373

@morri-son

Description

@morri-son

Summary

The callout shortcode template file (layouts/shortcodes/callout.html) is present in version @thulite/[email protected] but missing in 1.8.2 and 1.8.3 causing Hugo build errors: Error: template for shortcode "callout" not found. The documentation still lists callout as a supported shortcode.

Steps to reproduce

  1. npm install @thulite/[email protected]
  2. Check: node_modules/@thulite/doks-core/layouts/shortcodes/callout.html exists.
  3. npm install @thulite/[email protected]
  4. File is missing; Hugo fails on {{< callout >}}.

Expected behavior

  • Either the callout.html template should continue to be shipped in patch releases.
  • Or the removal should be documented in the changelog and documentation updated accordingly.

Environment

hugo v0.145.0-666444f0a52132f9fec9f71cf25b441cc6a4f355+extended darwin/arm64 BuildDate=2025-02-26T15:41:25Z VendorInfo=gohugoio
npm 11.4.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions