Skip to content

Remove redundant script tags #3358

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 15, 2025

Conversation

scrhartley
Copy link
Contributor

@scrhartley scrhartley commented Jun 29, 2025

Description

The custom model example page has script tags for htmx and hyperscript in both the head and the body. Remove the redundant tags from the body.

Additionally removed extra hyperscript script tags from the UIKit example page and the JavaScript tabs example page. For the former this actually fixes a problem with its behavior.

Testing

I checked the examples still worked when running locally using Zola.

Checklist

  • I have read the contribution guidelines
  • I have targeted this PR against the correct branch (master for website changes, dev for
    source changes)
  • This is either a bugfix, a documentation update, or a new feature that has been explicitly
    approved via an issue
  • I ran the test suite locally (npm run test) and verified that it succeeded

@MichaelWest22
Copy link
Collaborator

seems modal-uikit.md and tabs-javascript.md also have the same issue

@scrhartley
Copy link
Contributor Author

scrhartley commented Jun 30, 2025

Removing the redundant hyperscript tag from modal-uikit.md seems to actually fix duplicate confirm modals followed by console errors.

@scrhartley scrhartley mentioned this pull request Jul 9, 2025
4 tasks
Copy link
Contributor

@yawaramin yawaramin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@MichaelWest22 MichaelWest22 added the website Non-documentation website issues label Jul 11, 2025
@1cg 1cg merged commit 9c5a646 into bigskysoftware:master Jul 15, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
website Non-documentation website issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants