mirror of
https://github.com/web3privacy/events.git
synced 2024-10-15 12:06:27 +02:00
update
This commit is contained in:
parent
7664da02d1
commit
6cd8a6c0e1
3 changed files with 19 additions and 7 deletions
15
README.md
15
README.md
|
@ -1,4 +1,9 @@
|
|||
```
|
||||
<!--
|
||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
DO NOT EDIT THIS FILE DIRECLY
|
||||
EDIT "./README.tpl.eta" INSTEAD
|
||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
-->```
|
||||
____ ____ ____ ____
|
||||
||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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
9
index.js
9
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 = `<!--
|
||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
DO NOT EDIT THIS FILE DIRECLY
|
||||
EDIT "./README.tpl.eta" INSTEAD
|
||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
-->`
|
||||
|
||||
await Deno.writeTextFile(readmeFn, warning + eta.render("./README.tpl.eta", { events: output, getFlagEmoji }))
|
||||
console.log(`File saved: `, readmeFn);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue