Skip to content

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

Merged
muqarrab-aspose merged 1 commit into
masterfrom
fix/remove-foreign-shortcode-tracked-changes
Sep 30, 2026
Merged

muqarrab-aspose merged 1 commit into
masterfrom
fix/remove-foreign-shortcode-tracked-changes

Conversation

@adil-aspose

Copy link
Copy Markdown
Collaborator

content/*/java/advanced-rendering/render-tracked-changes-word-docs-groupdocs-viewer-java/_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 defect and same fix as 9162e9f.

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/*/java/advanced-rendering/render-tracked-changes-word-docs-groupdocs-viewer-java/_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 defect and same fix as 9162e9f.

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 7eb9827 into master Sep 30, 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