Skip to content

Cannot build the site due to missing template for x shortcode #1036

Open
@AntoineSoetewey

Description

@AntoineSoetewey

Issue description

Dear,

I'm building the site directly from RStudio.

When building the site for the first time, here is the error I encountered:

> blogdown::build_site()
Start building sites … 
hugo v0.139.3-2f6864387cd31b975914e8373d4bf38bddbd47bc+extended darwin/arm64 BuildDate=2024-11-29T15:36:56Z VendorInfo=gohugoio

Total in 16 ms
Error: error building site: process: readAndProcessContent: "/Users/antoinesoetewey/Documents/GitHub/cmp/content/samples/rich-content/index.md:23:1": failed to extract shortcode: template for shortcode "x" not found

I managed to fix it by removing the x shortcode {{< x user="DesignReviewed" id="1085870671291310081" >}} in the file index.md located in content > samples > rich-content, but I just wanted to let you know.

Theme version

v2.11.0

Hugo version

0.139.3

Which browser rendering engines are you seeing the problem on?

Chromium (Google Chrome, Microsoft Edge, Brave, Vivaldi, Opera, etc.)

URL to sample repository or website

https://github.com/AntoineSoetewey/cmp

Hugo output or build error messages

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions