fix table

This commit is contained in:
tree🌴 2023-10-11 22:01:44 +02:00
parent 8d4b9a8344
commit d0d2d4f932
3 changed files with 3 additions and 3 deletions

View file

@ -33,7 +33,7 @@ Calendar with all events and links:
### Meetups ### Meetups
| # id | date | location | 👥 | coincidence | dri | | # id | date | location | 👥 | coincidence | dri |
| --- | --- | --- --- | --- | --- | | --- | --- | --- | --- | --- | --- |
| [#1](https://lu.ma/web3privacynow_rome) → `w3pm-rom-1` | 2023-10-05 | 🇮🇹 Rome | - | [ETHRome](https://ethrome.org/) | PG | | [#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 | | #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 | | #3`w3pm-ams-1` | 2024/Q2 | 🇳🇱 Amsterdam | - | [ETHDam 2024](https://www.ethdam.com/) | TBD |

View file

@ -35,7 +35,7 @@ Calendar with all events and links:
### Meetups ### Meetups
| # id | date | location | 👥 | coincidence | dri | | # id | date | location | 👥 | coincidence | dri |
| --- | --- | --- --- | --- | --- | | --- | --- | --- | --- | --- | --- |
<% it.events.meetups.forEach(function(event, i){ %> <% 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?.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 %> |
<% }) %> <% }) %>

View file

@ -47,7 +47,7 @@ async function build() {
const readmeFn = "./README.md" const readmeFn = "./README.md"
const eta = new Eta({ views: "./" }) const eta = new Eta({ views: "./" })
console.log(output) //console.log(output)
await Deno.writeTextFile(readmeFn, eta.render("./README.tpl.eta", { events: output, getFlagEmoji })) await Deno.writeTextFile(readmeFn, eta.render("./README.tpl.eta", { events: output, getFlagEmoji }))
console.log(`File saved: `, readmeFn); console.log(`File saved: `, readmeFn);
} }