diff --git a/custom_theme/main.html b/custom_theme/main.html
deleted file mode 100644
index 90ca5c3..0000000
--- a/custom_theme/main.html
+++ /dev/null
@@ -1,8 +0,0 @@
-{% extends "base.html" %}
-
-{% block scripts %}
- {{ super() }} {# Call super to load the parent version of this #}
-
- {# Then add our part of the script to the end of it #}
-
-{% endblock %}
\ No newline at end of file
diff --git a/custom_theme/partials/header.html b/custom_theme/partials/header.html
index 222917d..738ba8d 100644
--- a/custom_theme/partials/header.html
+++ b/custom_theme/partials/header.html
@@ -1,84 +1,71 @@
-
-
-
+{#-
+ This file was automatically generated - do not edit
+-#}
+{% set site_url = config.site_url | d(nav.homepage.url, true) | url %}
+{% if not config.use_directory_urls and site_url[0] == site_url[-1] == "." %}
+ {% set site_url = site_url ~ "/index.html" %}
+{% endif %}