From 6cd8a6c0e1996e0379565730c64cbe91742742e6 Mon Sep 17 00:00:00 2001 From: tree Date: Sun, 15 Oct 2023 08:43:37 +0200 Subject: [PATCH] update --- README.md | 15 ++++++++++----- README.tpl.eta | 2 +- index.js | 9 ++++++++- 3 files changed, 19 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 15c71b7..ebab845 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,9 @@ -``` +``` ____ ____ ____ ____ ||W |||3 |||P |||E || ||__|||__|||__|||__|| @@ -34,10 +39,10 @@ Calendar with all events and links: | # id | date | location | 👥 | coincidence | dri | | --- | --- | --- | --- | --- | --- | -| [#1](https://lu.ma/web3privacynow_rome) → `w3pm-rom-1` | 2023-10-05 | 🇮🇹 Rome | 139 | [ETHRome](https://ethrome.org/) | PG | -| #2 → `w3pm-ist-1` | 2023/Nov | 🇹🇷 Istanbul | - | [Devconnect Istanbul](https://devconnect.org/) | - | -| #3 → `w3pm-ams-1` | 2024/May | 🇳🇱 Amsterdam | - | [ETHDam 2024](https://www.ethdam.com/) | - | -| #4 → `w3pm-ber-1` | 2024/May | 🇩🇪 Berlin | - | ETHBerlin 5 | - | +| `w3pm-rom-1` | 2023-10-05 | 🇮🇹 Rome | 139 | [ETHRome](https://ethrome.org/) | PG | +| `w3pm-ist-1` | 2023/Nov | 🇹🇷 Istanbul | - | [Devconnect Istanbul](https://devconnect.org/) | - | +| `w3pm-ams-1` | 2024/May | 🇳🇱 Amsterdam | - | [ETHDam 2024](https://www.ethdam.com/) | - | +| `w3pm-ber-1` | 2024/May | 🇩🇪 Berlin | - | ETHBerlin 5 | - | ## Events maintaners diff --git a/README.tpl.eta b/README.tpl.eta index 74ead60..388690a 100644 --- a/README.tpl.eta +++ b/README.tpl.eta @@ -37,7 +37,7 @@ Calendar with all events and links: | # 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 || "-" %> | +| <% 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 || "-" %> | <% }) %> ## Events maintaners diff --git a/index.js b/index.js index ff79bf3..6d41309 100644 --- a/index.js +++ b/index.js @@ -48,7 +48,14 @@ async function build() { const readmeFn = "./README.md" const eta = new Eta({ views: "./" }) //console.log(output) - await Deno.writeTextFile(readmeFn, eta.render("./README.tpl.eta", { events: output, getFlagEmoji })) + const warning = `` + + await Deno.writeTextFile(readmeFn, warning + eta.render("./README.tpl.eta", { events: output, getFlagEmoji })) console.log(`File saved: `, readmeFn); }