From d0d2d4f93230b432cb9829e3f62f8d8b2d287d93 Mon Sep 17 00:00:00 2001 From: tree Date: Wed, 11 Oct 2023 22:01:44 +0200 Subject: [PATCH] fix table --- README.md | 2 +- README.tpl.eta | 2 +- index.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index a06d32d..4d4fbf3 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ Calendar with all events and links: ### Meetups | # id | date | location | 👥 | coincidence | dri | -| --- | --- | --- --- | --- | --- | +| --- | --- | --- | --- | --- | --- | | [#1](https://lu.ma/web3privacynow_rome) → `w3pm-rom-1` | 2023-10-05 | 🇮🇹 Rome | - | [ETHRome](https://ethrome.org/) | PG | | #2 → `w3pm-ist-1` | 2023-11-?? | 🇹🇷 Istanbul | - | [Devconnect Istanbul](https://devconnect.org/) | TBD | | #3 → `w3pm-ams-1` | 2024/Q2 | 🇳🇱 Amsterdam | - | [ETHDam 2024](https://www.ethdam.com/) | TBD | diff --git a/README.tpl.eta b/README.tpl.eta index 1fadac3..119cb41 100644 --- a/README.tpl.eta +++ b/README.tpl.eta @@ -35,7 +35,7 @@ Calendar with all events and links: ### Meetups | # id | date | location | 👥 | coincidence | dri | -| --- | --- | --- --- | --- | --- | +| --- | --- | --- | --- | --- | --- | <% it.events.meetups.forEach(function(event, i){ %> | <% if (event.links?.web) { %>[#<%= i+1 %>](<%= event.links.web %>)<% } else { %>#<%= i+1%><% } %> → <% if (event.links?.git) { %>[`<%= event.id %>`](<%= event.links.git %>)<% } else { %>`<%= event.id %>`<% } %> | <%= event.date %> | <%= it.getFlagEmoji(event.country) %> <%= event.city %> | <%= event.visitors || '-' %> | <%= event.coincidence %> | <%= event.lead %> | <% }) %> diff --git a/index.js b/index.js index 801ef7a..ff79bf3 100644 --- a/index.js +++ b/index.js @@ -47,7 +47,7 @@ async function build() { const readmeFn = "./README.md" const eta = new Eta({ views: "./" }) - console.log(output) + //console.log(output) await Deno.writeTextFile(readmeFn, eta.render("./README.tpl.eta", { events: output, getFlagEmoji })) console.log(`File saved: `, readmeFn); }