Update default.html
This commit is contained in:
parent
17bf4ff5ea
commit
734fa3d939
@ -41,17 +41,17 @@
|
||||
</p>
|
||||
<p>
|
||||
<small>Binaries</small><br>
|
||||
<a href="https://github.com/KadeDev/Kade-Engine/releases/latest">Download the <strong>Latest release</strong></a><br>
|
||||
<a href="https://ci.appveyor.com/project/KadeDev/kade-engine-windows/build/artifacts">Download a <strong>Windows</strong> development build</a><br>
|
||||
<a href="https://ci.appveyor.com/project/KadeDev/kade-engine-linux/build/artifacts">Download a <strong>Linux</strong> development build</a><br>
|
||||
<a href="https://funkin.puyo.xyz/nightly/">Play in your <strong>Web Browser</strong></a>
|
||||
<a href="https://github.com/KadeDev/Kade-Engine/releases/latest">Download the <b>Latest release</b></a><br>
|
||||
<a href="https://ci.appveyor.com/project/KadeDev/kade-engine-windows/build/artifacts">Download a <b>Windows</b> development build</a><br>
|
||||
<a href="https://ci.appveyor.com/project/KadeDev/kade-engine-linux/build/artifacts">Download a <b>Linux</b> development build</a><br>
|
||||
<a href="https://funkin.puyo.xyz/nightly/">Play in your <b>Web Browser</b></a>
|
||||
</p>
|
||||
{% endif %}
|
||||
</header>
|
||||
<section>
|
||||
<section id="content">
|
||||
|
||||
{% if page.name == "index.md" %}
|
||||
{% include {{ site.replace_index_with }} %}
|
||||
<!-- idk lol -->
|
||||
{% else %}
|
||||
{{ content }}
|
||||
{% endif %}
|
||||
@ -65,6 +65,19 @@
|
||||
</footer>
|
||||
</div>
|
||||
<script src="{{ "/assets/js/scale.fix.js" | relative_url }}"></script>
|
||||
{% if page.name == "index.md" %}
|
||||
<script src="https://cdn.jsdelivr.net/npm/marked/marked.min.js"></script>
|
||||
<script>
|
||||
function httpGet(theUrl)
|
||||
{
|
||||
var xmlHttp = new XMLHttpRequest();
|
||||
xmlHttp.open( "GET", theUrl, false ); // false for synchronous request
|
||||
xmlHttp.send( null );
|
||||
return xmlHttp.responseText;
|
||||
}
|
||||
document.getElementById('content').innerHTML = marked(httpGet("{{ site.replace_index_with }}"));
|
||||
</script>
|
||||
{% endif %}
|
||||
{% if site.google_analytics %}
|
||||
<script>
|
||||
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
||||
|
Loading…
x
Reference in New Issue
Block a user