Skip to content
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

✨ feat(HTML): introduce rel attribute macro and remove hardcoded values #126

Merged
merged 1 commit into from
Aug 29, 2023

Conversation

welpo
Copy link
Owner

@welpo welpo commented Aug 29, 2023

Summary

This PR introduces a new HTML macro to assemble rel attributes dynamically based on config values. It also removes all hardcoded noopener, noreferrer, and target=_blank values from the project.

Description:

This PR introduces a macro to assemble rel attributes dynamically based on config values, eliminating all hardcoded noopener, noreferrer, and target=_blank values.

Changes:

  • Removed hardcoded noopener, noreferrer, and target=_blank from HTML templates.
  • Created a macro for assembling rel attributes based on config values.
  • Sorted imports in base.html.

@welpo welpo added the enhancement New feature or request label Aug 29, 2023
@welpo welpo merged commit b73f7f5 into main Aug 29, 2023
@welpo welpo deleted the fix/follow-config-rel-options branch August 29, 2023 23:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant