Remove undefined blocks/products shortcodes from generate-preview page - #80
Open
adil-aspose wants to merge 1 commit into
Open
adil-aspose wants to merge 1 commit into
adil-aspose wants to merge 1 commit into
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes the Hugo build failure:
The annotation theme has no template for the
blocks/products/*shortcodes. They came back ongenerate-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-containerandtutorial-page-section(opening and closing), plusproducts-backtop-button. Nothing else in the pages changes.Checked: no
blocks/products/*shortcodes remain anywhere undercontent/. 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