Skip to content

Commit

Permalink
feat: remove header javascript as now bundled with design system
Browse files Browse the repository at this point in the history
  • Loading branch information
tillywoodfield committed Nov 13, 2024
1 parent f02cc65 commit 632239e
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 70 deletions.
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.

0 comments on commit 632239e

Please sign in to comment.