Skip to content

Fix Hugo build failure: remove foreign shortcode wrapper from a new tutorial - #82

Merged
muqarrab-aspose merged 1 commit into
masterfrom
fix/remove-foreign-shortcodes-multi-doc-automation
Oct 1, 2026
Merged

muqarrab-aspose merged 1 commit into
masterfrom
fix/remove-foreign-shortcodes-multi-doc-automation

Conversation

@adil-aspose

Copy link
Copy Markdown
Collaborator

content/*/net/advanced-comparison/groupdocs-comparison-net-multi-doc-automation/_index.md (23 languages) were wrapped in {{< blocks/products/pf/main-wrap-class >}} / main-container / tutorial-page-section shortcodes plus a trailing products-backtop-button call -- none of which exist in this repo's theme (zero other uses of blocks/products/pf/ anywhere in the corpus after this fix).

Hugo's build failed with template for shortcode ... not found on the Arabic copy, but the same broken wrapper was present in all 23 languages -- this would have broken every one of them in turn. Same recurring defect as the license-url page fixed in #80, and the same fix pattern as groupdocs-viewer, groupdocs-search, groupdocs-annotation, groupdocs-parser and groupdocs-merger.

Fix: strip the 4 wrapper shortcode lines (3 opening + matching closing) and the unrelated backtop-button call, collapsing the blank lines left behind -- matching this repo's real, working page structure exactly.

…utorial

content/*/net/advanced-comparison/groupdocs-comparison-net-multi-doc-automation/_index.md
(23 languages, introduced in a recent optimize pass) were wrapped in
{{< blocks/products/pf/main-wrap-class >}} / main-container /
tutorial-page-section shortcodes plus a trailing products-backtop-button
call -- none of which exist in this repo's theme (confirmed: zero other
uses of "blocks/products/pf/" anywhere in the corpus after this fix;
every other tutorial page in this repo goes straight from frontmatter to
its H1). Hugo's build failed with "template for shortcode ... not found"
trying to render the Arabic copy specifically, but the same broken
wrapper was present in all 23 languages -- this would have broken every
one of them in turn. Same recurring defect as the license-url page fixed
in #80, and the same fix pattern as the groupdocs-viewer, groupdocs-search,
groupdocs-annotation, groupdocs-parser and groupdocs-merger repos.

Fix: strip the 4 wrapper shortcode lines (3 opening + matching closing)
and the unrelated backtop-button call, collapsing the blank lines left
behind -- matching this repo's real, working page structure exactly.
@muqarrab-aspose
muqarrab-aspose merged commit 95fa3b2 into master Oct 1, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants