fix indent
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
eb30a69ab6
commit
e35730d75c
|
@ -19,6 +19,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
function render(talk) {
|
function render(talk) {
|
||||||
|
// const now = new Date();
|
||||||
const now = Date.parse("2021-12-27T11:35:00+01:00");
|
const now = Date.parse("2021-12-27T11:35:00+01:00");
|
||||||
const max = talk.end - talk.start;
|
const max = talk.end - talk.start;
|
||||||
var value = 0;
|
var value = 0;
|
||||||
|
@ -82,7 +83,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
upcoming.sort((a, b) => a.end - b.end);
|
upcoming.sort((a, b) => a.end - b.end);
|
||||||
for (const talk of upcoming) {
|
for (const talk of upcoming.splice(0, 6)) {
|
||||||
content += render(talk);
|
content += render(talk);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -107,9 +108,8 @@
|
||||||
</header>
|
</header>
|
||||||
<main>
|
<main>
|
||||||
<h1>running / upcoming</h1>
|
<h1>running / upcoming</h1>
|
||||||
|
|
||||||
<ul class="box-grid" id="list">
|
<ul class="box-grid" id="list">
|
||||||
/ul>
|
</ul>
|
||||||
</main>
|
</main>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
Loading…
Reference in New Issue