Skip to content

Error message: Failed to extract shortcode: template for shortcode "cite" not found #3226

@ferenci-tamas

Description

@ferenci-tamas

Preliminary Checks

Description

I download the Academic CV theme, and -- without modifying anything else -- I add line containing a cite shortcode (as described in https://docs.hugoblox.com/reference/markdown/#cite). Yet, when trying to build the site, I get an error message saying that the "cite" shortcode is not found.

Reproduction Link

https://github.com/HugoBlox/theme-academic-cv

Steps to Reproduce

  1. Download the academic-CV theme (https://github.com/HugoBlox/theme-academic-cv)
  2. Add the following line to (say) \content\teaching\python\index.md: {{< cite page="/publication/preprint" view="citation" >}} (as in https://docs.hugoblox.com/reference/markdown/#cite)
  3. Run hugo server

Expected Result

Site is built with no errors or warnings.

Actual Result

I receive the following error message:

Error: error building site: process: readAndProcessContent: "C:\Users<path>\content\teaching\python\index.md:142:1": failed to extract shortcode: template for shortcode "cite" not found

What Hugo Module versions does your site use?

module github.com/HugoBlox/hugo-blox-builder/starters/academic-cv

go 1.19

require (
github.com/HugoBlox/hugo-blox-builder/modules/blox-plugin-netlify v1.1.2-0.20231209203044-d31adfedd40b
github.com/HugoBlox/hugo-blox-builder/modules/blox-tailwind v0.3.1
)

What operating system(s) are you seeing the problem on?

Windows

What browser(s) are you seeing the problem on?

Firefox

Which Hugo Blox template are you using?

Academic CV

What version of Hugo are you using?

Hugo Extended v0.145.0

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions