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

Javascript for YouTube modals loaded on every page #11

Open
varilink opened this issue Aug 5, 2022 · 0 comments
Open

Javascript for YouTube modals loaded on every page #11

varilink opened this issue Aug 5, 2022 · 0 comments

Comments

@varilink
Copy link
Owner

varilink commented Aug 5, 2022

The Javascript for YouTube modals is located towards the end of partials/layouts/footer.tt, which means that it is included on every page. We should use the mechanism whereby selected scripts are included only on the pages that they are required for by pulling in separate script blocks. This is also implemented in partials/layouts/footer.tt.

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

No branches or pull requests

1 participant