diff --git a/docs/overrides/base.html b/docs/overrides/base.html
new file mode 100644
index 0000000..2bc3adb
--- /dev/null
+++ b/docs/overrides/base.html
@@ -0,0 +1,201 @@
+
+
+
+ {%- block site_meta %}
+
+
+
+ {% if page and page.is_homepage %}{% endif %}
+ {% if config.site_author %}{% endif %}
+ {% if page and page.canonical_url %}{% endif %}
+ {% if config.site_favicon %}
+ {% else %}{% endif %}
+ {%- endblock %}
+
+ {%- block htmltitle %}
+ {% if page and page.title and not page.is_homepage %}{{ page.title }} - {% endif %}{{ config.site_name }}
+ {%- endblock %}
+
+ {%- block styles %}
+
+
+
+ {%- if config.theme.highlightjs %}
+
+ {%- endif %}
+ {%- for path in extra_css %}
+
+ {%- endfor %}
+ {%- endblock %}
+
+ {%- block libs %}
+
+
+
+ {%- if config.theme.highlightjs %}
+
+ {%- for lang in config.theme.hljs_languages %}
+
+ {%- endfor %}
+
+ {%- endif %}
+ {%- endblock %}
+
+ {%- block analytics %}
+ {%- if config.theme.analytics.gtag %}
+
+
+ {%- elif config.google_analytics %}
+
+ {%- endif %}
+ {%- endblock %}
+
+ {%- block extrahead %} {% endblock %}
+
+
+
+
+
+
+ {%- block site_name %}
+
{{ config.site_name }}
+ {%- endblock %}
+
+ {%- if nav|length>1 or (page and (page.next_page or page.previous_page)) or config.repo_url %}
+
+
+ {%- endif %}
+
+
+
+ {%- block site_nav %}
+ {%- if nav|length>1 %}
+
+
+ {%- endif %}
+ {%- endblock %}
+
+
+
+
+
+
+
+
+ {%- block content %}
+
{% include "toc.html" %}
+
{% include "content.html" %}
+ {%- endblock %}
+
+
+
+
+
+ {%- block scripts %}
+
+
+ {%- for path in extra_javascript %}
+
+ {%- endfor %}
+ {%- endblock %}
+
+ {% if 'search' in config['plugins'] %}{%- include "search-modal.html" %}{% endif %}
+ {%- include "keyboard-modal.html" %}
+
+
+
+{% if page and page.is_homepage %}
+
+{% endif %}
diff --git a/mkdocs.yml b/mkdocs.yml
index 256dc2f..f78abf7 100644
--- a/mkdocs.yml
+++ b/mkdocs.yml
@@ -9,6 +9,7 @@ repo_url: https://gitlab.haskell.org/haskell/ghcup-hs
theme:
name: mkdocs
locale: en
+ custom_dir: docs/overrides
nav:
- Home: index.md