From 1b75ccf4fa936d2a3f520b1b3909f2f3c4d5aff0 Mon Sep 17 00:00:00 2001 From: Dennis Reimann Date: Thu, 19 Aug 2021 16:28:11 +0200 Subject: [PATCH] Various improvements --- src/includes/mixins.pug | 8 ++++---- src/includes/template.pug | 14 +++++++------- src/index.pug | 22 +++++++++++----------- src/media.pug | 4 ++-- src/meetups.pug | 12 ++++++++++-- src/team.pug | 1 + 6 files changed, 35 insertions(+), 26 deletions(-) diff --git a/src/includes/mixins.pug b/src/includes/mixins.pug index 5ef2a539f02..8545d58b4fa 100644 --- a/src/includes/mixins.pug +++ b/src/includes/mixins.pug @@ -9,16 +9,16 @@ mixin member(m) h2=m.name .links if m.mastodon - a(href=(m.mastodon) target="_blank" title=`${m.name} on Mastodon`) + a(href=(m.mastodon) target="_blank" rel="nofollow noopener" title=`${m.name} on Mastodon`) +sprite("mastodon") if m.twitter - a(href=(m.twitter.startsWith('https://') ? m.twitter : `https://twitter.com/${m.twitter}`) target="_blank" title=`${m.name} on Twitter`) + a(href=(m.twitter.startsWith('https://') ? m.twitter : `https://twitter.com/${m.twitter}`) target="_blank" rel="nofollow noopener" title=`${m.name} on Twitter`) +sprite("twitter") if m.github - a(href=(m.github.startsWith('https://') ? m.github : `https://github.com/${m.github}`) target="_blank" title=`${m.name} on GitHub`) + a(href=(m.github.startsWith('https://') ? m.github : `https://github.com/${m.github}`) target="_blank" rel="nofollow noopener" title=`${m.name} on GitHub`) +sprite("github") if m.url - a(href=m.url target="_blank") + a(href=m.url target="_blank" rel="nofollow noopener") +sprite("url") if m.text !=markdown(m.text) diff --git a/src/includes/template.pug b/src/includes/template.pug index a06a305090f..745e60773f7 100644 --- a/src/includes/template.pug +++ b/src/includes/template.pug @@ -78,20 +78,20 @@ html(lang="en") time(datetime=site.date)= site.block |. p.social - a(href=site.meta.twitterUrl rel="me" target="_blank" title="Twitter") + a(href=site.meta.twitterUrl rel="me nofollow noopener" target="_blank" title="Twitter") +sprite("twitter") - a(href=site.meta.telegramUrl rel="me" target="_blank" title="Telegram") + a(href=site.meta.telegramUrl rel="me nofollow noopener" target="_blank" title="Telegram") +sprite("telegram") - a(href=site.meta.youtubeUrl rel="me" target="_blank" title="YouTube") + a(href=site.meta.youtubeUrl rel="me nofollow noopener" target="_blank" title="YouTube") +sprite("youtube") - a(href=site.meta.instagramUrl rel="me" target="_blank" title="Instagram") + a(href=site.meta.instagramUrl rel="me nofollow noopener" target="_blank" title="Instagram") +sprite("instagram") - a(href=site.meta.sphinxUrl rel="me" target="_blank" title="Sphinx") + a(href=site.meta.sphinxUrl rel="me nofollow noopener" target="_blank" title="Sphinx") +sprite("sphinx") - a(href=site.meta.mastodonUrl rel="me" target="_blank" title="Mastodon") + a(href=site.meta.mastodonUrl rel="me nofollow noopener" target="_blank" title="Mastodon") +sprite("mastodon") p | Made with 💛 by = " " - a(href="https://d11n.net" target="_blank") d11n + a(href="https://d11n.net" target="_blank" rel="nofollow noopener") d11n |. diff --git a/src/index.pug b/src/index.pug index 78c3733a27a..41d34de895b 100644 --- a/src/index.pug +++ b/src/index.pug @@ -35,7 +35,7 @@ block main sprechen wir dort nicht über den Preis, Altcoins oder sonstige unwichtigen Dinge. In unserer Gruppe findest du News, Informationen und bekommst praktische Ratschläge zu technischen Themen. - a.button(href=site.meta.telegramUrl target="_blank") Ab in die Gruppe + a.button(href=site.meta.telegramUrl target="_blank" rel="nofollow noopener") Ab in die Gruppe //- section#shop //- :markdown-it(html linkify typographer) @@ -45,12 +45,12 @@ block main //- Toximalistischer Swag für bullishe Bitcoiner. //- .shopTeaser - //- a(href=`${site.meta.shopUrl}p/tasse/` target="_blank"): img(src=assetPath("/img/shop/tasse.jpg")) - //- a(href=`${site.meta.shopUrl}p/hoodie-schwarz/` target="_blank"): img(src=assetPath("/img/shop/hoodie-schwarz.jpg")) - //- a(href=`${site.meta.shopUrl}p/hoodie-weiss/` target="_blank"): img(src=assetPath("/img/shop/hoodie-weiss.jpg")) - //- a(href=`${site.meta.shopUrl}p/cap/` target="_blank"): img(src=assetPath("/img/shop/cap.jpg")) + //- a(href=`${site.meta.shopUrl}p/tasse/` target="_blank" rel="nofollow noopener"): img(src=assetPath("/img/shop/tasse.jpg")) + //- a(href=`${site.meta.shopUrl}p/hoodie-schwarz/` target="_blank" rel="nofollow noopener"): img(src=assetPath("/img/shop/hoodie-schwarz.jpg")) + //- a(href=`${site.meta.shopUrl}p/hoodie-weiss/` target="_blank" rel="nofollow noopener"): img(src=assetPath("/img/shop/hoodie-weiss.jpg")) + //- a(href=`${site.meta.shopUrl}p/cap/` target="_blank" rel="nofollow noopener"): img(src=assetPath("/img/shop/cap.jpg")) - //- a.button(href=site.meta.shopUrl target="_blank") Zum Shop + //- a.button(href=site.meta.shopUrl target="_blank" rel="nofollow noopener") Zum Shop section#sponsor :markdown-it(html linkify typographer) @@ -60,7 +60,7 @@ block main die Sicherheit gut nutzbar macht: Ob Einsteiger oder fortgeschritten, hier findest du die Features, mit denen du deine Sats sicher verwahren kannst. Unsere Empfehlung, auch schon vor dem Sponsoring. - a.button(href="https://shiftcrypto.ch/einundzwanzig/" target="_blank") BitBox02 Bitcoin-only Edition + a.button(href="https://shiftcrypto.ch/einundzwanzig/" target="_blank" rel="nofollow noopener") BitBox02 Bitcoin-only Edition section#shoutout :markdown-it(html linkify typographer) @@ -71,7 +71,7 @@ block main darüber abstimmen welches Bitcoin-Projekt aus Deutschland diese kostbaren Sats bekommen soll. Wenn du also einen Shout-Out in unserem Podcast kaufst, unterstützt du damit auch ein Bitcoin Projekt. - a.button(href=site.meta.shoutoutUrl target="_blank") Shout-Out senden + a.button(href=site.meta.shoutoutUrl target="_blank" rel="nofollow noopener") Shout-Out senden section#youtube :markdown-it(html linkify typographer) @@ -81,7 +81,7 @@ block main Den eigenen Node betreiben und Apps aufsetzen, Wallets verbinden und so weiter. Du hast auch eine Idee für ein Tutorial? Immer her damit – wir helfen dir, dass es möglichst viele Leute sehen. - a.button(href=site.meta.youtubeUrl target="_blank") Unser YouTube-Kanal + a.button(href=site.meta.youtubeUrl target="_blank" rel="nofollow noopener") Unser YouTube-Kanal section#lightning :markdown-it(html linkify typographer) @@ -94,12 +94,12 @@ block main .lnNodes .lnNode h3 Clearnet - a(href="https://pay.einundzwanzig.space/embed/8bxL8xLosHAQDCGbPoi1Hc51noEAbRj2GRsvnKjoKzZQ/BTC/ln" target="_blank") + a(href="https://pay.einundzwanzig.space/embed/8bxL8xLosHAQDCGbPoi1Hc51noEAbRj2GRsvnKjoKzZQ/BTC/ln" target="_blank" rel="nofollow noopener") img(src=assetPath("/img/ln/clearnet.svg") alt="Clearnet") button.button(type="button" data-clipboard="03a09f56bba3d2c200cc55eda2f1f069564a97c1fb74345e1560e2868a8ab3d7d0@62.171.139.240:9735") Clearnet ID kopieren .lnNode h3 Tor - a(href="http://abluswbmzrazryivhn7hocw3dglfv4m3b2qrfmuommbyxayd2jawdsad.onion/embed/8bxL8xLosHAQDCGbPoi1Hc51noEAbRj2GRsvnKjoKzZQ/BTC/ln" target="_blank") + a(href="http://abluswbmzrazryivhn7hocw3dglfv4m3b2qrfmuommbyxayd2jawdsad.onion/embed/8bxL8xLosHAQDCGbPoi1Hc51noEAbRj2GRsvnKjoKzZQ/BTC/ln" target="_blank" rel="nofollow noopener") img(src=assetPath("/img/ln/tor.svg") alt="Tor") button.button(type="button" data-clipboard="03a09f56bba3d2c200cc55eda2f1f069564a97c1fb74345e1560e2868a8ab3d7d0@6quf5upomo5tbrefwtpbt5ahujhgffidaohyiog4gnpr5bst23izzoyd.onion:9735") Tor ID kopieren diff --git a/src/media.pug b/src/media.pug index f1c55d3b2f1..d20b4d0d112 100644 --- a/src/media.pug +++ b/src/media.pug @@ -33,9 +33,9 @@ block main h2 Schriften ul.fonts li.font-bold - a(href="https://www.dafont.com/the-bold-font.font" target="_blank") Logo: The Bold Font + a(href="https://www.dafont.com/the-bold-font.font" target="_blank" rel="nofollow noopener") Logo: The Bold Font li.font-inconsolata - a(href="https://fonts.google.com/specimen/Inconsolata" target="_blank") Copy: Inconsolata + a(href="https://fonts.google.com/specimen/Inconsolata" target="_blank" rel="nofollow noopener") Copy: Inconsolata article h2 Farben diff --git a/src/meetups.pug b/src/meetups.pug index 9e099e3393e..169807beb96 100644 --- a/src/meetups.pug +++ b/src/meetups.pug @@ -2,17 +2,25 @@ extends /template.pug block vars - const title = 'Meetups' - - const description = 'Eine Liste von Einundzwanzig-Treffen im D/A/CH-Raum' + - const description = 'Eine Liste von Einundzwanzig-Treffen im D/A/CH-Raum.' block main #meetups.wrap section h1= title + p= description + + :markdown-it(html linkify typographer) + Neue Meetups können gerne [per Pull Request](https://github.com/Einundzwanzig-Podcast/einundzwanzig.space/edit/master/content/meetups.json) hinzufügt werden. + + Die Vorlage für das Telegram-Gruppenbild findest du im [Media Kit](/media). + + h2 Einundzwanzig Meetups ul.meetups each m in meetups li - a(href=m.telegram)= m.name + a(href=m.telegram target="_blank" rel="nofollow noopener")= m.name.replace('Einundzwanzig Meetup ', '') if !m.name.endsWith(m.region) = " - " span.region= m.region diff --git a/src/team.pug b/src/team.pug index 7e1da58fed6..0c10584752a 100644 --- a/src/team.pug +++ b/src/team.pug @@ -8,6 +8,7 @@ block main #team.wrap section h1= title + h2 Core ul.members(data-shuffle) each m in shuffle(team) +member(m)