Skip to content

Error: Error building site: failed to process shortcode: #54

@avvial

Description

@avvial

Anyone able to help with this error?

1. I installed Go and Hugo (binary) and checked the version:
\projects>hugo version
hugo v0.111.2-4164f8fef9d71f50ef3962897e319ab6219a1dad+extended windows/amd64 BuildDate=2023-03-05T12:32:20Z VendorInfo=gohugoio

2. Created a new site for testing
\projects>hugo new site docs
Congratulations! Your new Hugo site is created in C:\Users\Anthony\Documents\projects\docs.

3. Downloaded the ace-documentation from git
\projects\docs>cd themes
\projects\docs\themes>git clone https://github.com/vantagedesign/ace-documentation
Cloning into 'ace-documentation'...
...
Resolving deltas: 100% (268/268), done.

4. Copied the example folders
\projects\docs\themes\ace-documentation\exampleSite\content to \projects\docs\content
\projects\docs\themes\ace-documentation\exampleSite\resources to \projects\docs\resources

5. Update the configuration file
\projects\docs\config.toml now contains:
baseURL = 'Users/Anthony/Documents/projects/docs'
languageCode = 'en-us'
title = 'My New Hugo Site'
theme = "ace-documentation"

6. Ran Hugo
(Note: full path shortened for clarity)
Error: Error building site: C: ... \projects\docs\content\shortcodes\doublecode.md:23:1": failed to render shortcode "code": failed to process shortcode: "C: ... \projects\docs\themes\ace-documentation\layouts\shortcodes\code.html:23:67": execute of template failed: template: shortcodes/code.html:23:67: executing "shortcodes/code.html" at : error calling markdownify: "C: ... \projects\docs\content_index.md:3:1": failed to extract shortcode: unclosed shortcode "doublecode"

I have tried other installations, in other project locations, with the same resulting error.

What have I missed? Any help appreciated.

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