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

Remove header javascript as now bundled with design system #23

Merged
merged 1 commit into from
Nov 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion iati_sphinx_theme/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,4 @@ def setup(app: sphinx.application.Sphinx) -> None:
app.config["html_permalinks_icon"] = "#"
app.config["html_favicon"] = "static/favicon-16x16.png"
app.config["html_context"]["language"] = app.config["language"]
app.add_js_file("header.js")
app.add_js_file("language-switcher.js")
1 change: 1 addition & 0 deletions iati_sphinx_theme/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
{% if theme_plausible_domain %}
<script defer data-domain="{{ theme_plausible_domain }}" src="https://plausible.io/js/script.js"></script>
{% endif %}
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/iati.js"></script>
<style>
.iati-brand-background {
--background-image: url("{{ pathto('marque-white.svg', 1) }}");
Expand Down
69 changes: 0 additions & 69 deletions iati_sphinx_theme/static/header.js

This file was deleted.