Skip to content

Remove undefined blocks/products shortcodes from generate-preview page - #80

Merged
muqarrab-aspose merged 1 commit into
masterfrom
fix/remove-foreign-shortcodes-preview
Sep 28, 2026
Merged

muqarrab-aspose merged 1 commit into
masterfrom
fix/remove-foreign-shortcodes-preview

Conversation

@adil-aspose

Copy link
Copy Markdown
Collaborator

Fixes the Hugo build failure:

failed to extract shortcode: template for shortcode "blocks/products/pf/main-wrap-class" not found

The annotation theme has no template for the blocks/products/* shortcodes. They came back on generate-preview-without-comments (all 23 languages) with the latest optimization (#79), after #78 had already removed them once.

Change: removes the 7 shortcodes from each of the 23 files: main-wrap-class, main-container and tutorial-page-section (opening and closing), plus products-backtop-button. Nothing else in the pages changes.

Checked: no blocks/products/* shortcodes remain anywhere under content/. For every changed file the non-shortcode content is identical before and after, frontmatter is intact, and code fences are balanced. The PR's Hugo build is the real test.

🤖 Generated with Claude Code

The Hugo build fails with:
  failed to extract shortcode: template for shortcode
  "blocks/products/pf/main-wrap-class" not found

The annotation theme defines no template for these shortcodes. They were
reintroduced on generate-preview-without-comments (all 23 languages) by
the latest optimization (#79), after #78 had already removed them once.
Removed the 7 shortcodes from each file: main-wrap-class, main-container
and tutorial-page-section (opening and closing), plus
products-backtop-button. Nothing else in the pages changes.
@muqarrab-aspose
muqarrab-aspose merged commit 98d2fc8 into master Sep 28, 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