Skip to content

Remove undefined blocks/products shortcodes from license-url page - #80

Open
adil-aspose wants to merge 1 commit into
masterfrom
fix/remove-foreign-shortcodes-license-url
Open

adil-aspose wants to merge 1 commit into
masterfrom
fix/remove-foreign-shortcodes-license-url

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 comparison theme has no template for the blocks/products/* shortcodes. They came back on set-groupdocs-comparison-license-url-java (all 23 languages) with the latest optimization (#79).

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; the alert shortcode is left as is.

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, code fences are balanced, and line endings are unchanged. A local Hugo build was not run; the PR's build is the real check.

🤖 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 comparison theme defines no template for these shortcodes. They were
reintroduced on set-groupdocs-comparison-license-url-java (all 23
languages) by the latest optimization. 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; the "alert" shortcode is left as is.
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.

1 participant