add support for js

This commit is contained in:
Amolith 2019-03-23 14:05:23 -04:00
parent 47e83db3ac
commit 7bcbf18081
Signed by: Amolith
GPG Key ID: 51FD40936DB0065B
2 changed files with 5 additions and 2 deletions

View File

@ -19,6 +19,6 @@ for i in x["cards"]:
with open('_site/index.html') as f:
y = f.read()
y = y.replace('<!-- JS cards here -->', text)
y = y.replace('<!-- Static cards -->', text)
with open('_site/index.html', 'w') as f:
f.write(y)

View File

@ -22,7 +22,10 @@ priority: 0.9
<br/>
<div class="flex-wrapper">
<div class="flex-cards">
<!-- JS cards here -->
<!-- JS cards -->
<noscript>
<!-- Static cards -->
</noscript>
</div>
</div>
<center><h1><u><a href="https://git.nixnet.xyz/NixNet/" target="_blank">Technical information about NixNet</a></u></h1></center>