Update default.html

This commit is contained in:
Puyo 2021-05-11 20:40:41 +02:00 committed by GitHub
parent a99d25889f
commit 74f958eec1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -48,9 +48,8 @@
</p> </p>
{% endif %} {% endif %}
</header> </header>
{% include header.html %}
<section id="content"> <section id="content">
{% include header.html %}<br>
{% if page.name == "index.md" %} {% if page.name == "index.md" %}
<!-- yay i'm NOT stupid --> <!-- yay i'm NOT stupid -->
{% else %} {% else %}
@ -76,7 +75,7 @@
xmlHttp.send( null ); xmlHttp.send( null );
return xmlHttp.responseText; return xmlHttp.responseText;
} }
document.getElementById('content').innerHTML = marked(httpGet("{{ site.replace_index_with }}")); document.getElementById('content').innerHTML = document.getElementById('content').innerHTML + marked(httpGet("{{ site.replace_index_with }}"));
</script> </script>
{% endif %} {% endif %}
{% if site.google_analytics %} {% if site.google_analytics %}