add support for js
This commit is contained in:
parent
47e83db3ac
commit
7bcbf18081
2
cards.py
2
cards.py
|
@ -19,6 +19,6 @@ for i in x["cards"]:
|
||||||
with open('_site/index.html') as f:
|
with open('_site/index.html') as f:
|
||||||
y = f.read()
|
y = f.read()
|
||||||
|
|
||||||
y = y.replace('<!-- JS cards here -->', text)
|
y = y.replace('<!-- Static cards -->', text)
|
||||||
with open('_site/index.html', 'w') as f:
|
with open('_site/index.html', 'w') as f:
|
||||||
f.write(y)
|
f.write(y)
|
||||||
|
|
|
@ -22,7 +22,10 @@ priority: 0.9
|
||||||
<br/>
|
<br/>
|
||||||
<div class="flex-wrapper">
|
<div class="flex-wrapper">
|
||||||
<div class="flex-cards">
|
<div class="flex-cards">
|
||||||
<!-- JS cards here -->
|
<!-- JS cards -->
|
||||||
|
<noscript>
|
||||||
|
<!-- Static cards -->
|
||||||
|
</noscript>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<center><h1><u><a href="https://git.nixnet.xyz/NixNet/" target="_blank">Technical information about NixNet</a></u></h1></center>
|
<center><h1><u><a href="https://git.nixnet.xyz/NixNet/" target="_blank">Technical information about NixNet</a></u></h1></center>
|
||||||
|
|
Loading…
Reference in New Issue