From 5ca64f0f0f0aaea2b1835829a8e879e8bd3403fe Mon Sep 17 00:00:00 2001 From: Dennis Reimann Date: Wed, 2 Aug 2023 16:17:29 +0200 Subject: [PATCH] Fixes --- src/gesundes-geld.pug | 20 +++++++++----------- src/includes/_head.pug | 24 ++++++++++++------------ src/meetups.pug | 2 +- static/css/gesundes-geld.css | 2 +- 4 files changed, 23 insertions(+), 25 deletions(-) diff --git a/src/gesundes-geld.pug b/src/gesundes-geld.pug index fb132da3580..5c31fc1fe00 100644 --- a/src/gesundes-geld.pug +++ b/src/gesundes-geld.pug @@ -6,20 +6,18 @@ block vars - const pageCard = "/img/card/gesundes-geld.jpg" - const cardType = "summary_large_image" -block pageScripts - script(src=assetPath("/vendor/jvectormap/jquery.min.js")) - script(src=assetPath("/vendor/jvectormap/jquery-jvectormap.js")) - script(src=assetPath("/vendor/jvectormap/maps/europe_mill.js")) - script(src=assetPath("/vendor/jvectormap/maps/de_mill.js")) - script(src=assetPath("/vendor/jvectormap/maps/at_mill.js")) - script(src=assetPath("/vendor/jvectormap/maps/ch_mill.js")) - link(href=assetPath("/vendor/jvectormap/jquery-jvectormap.css") rel="stylesheet") - link(href=assetPath("/css/gesundes-geld.css") rel="stylesheet") - html(lang="de" data-theme="custom") head include includes/_head + script(src=assetPath("/vendor/jvectormap/jquery.min.js")) + script(src=assetPath("/vendor/jvectormap/jquery-jvectormap.js")) + script(src=assetPath("/vendor/jvectormap/maps/europe_mill.js")) + script(src=assetPath("/vendor/jvectormap/maps/de_mill.js")) + script(src=assetPath("/vendor/jvectormap/maps/at_mill.js")) + script(src=assetPath("/vendor/jvectormap/maps/ch_mill.js")) + link(href=assetPath("/vendor/jvectormap/jquery-jvectormap.css") rel="stylesheet") + link(href=assetPath("/css/gesundes-geld.css") rel="stylesheet") body#gesundes-geld main.main .wrap @@ -74,5 +72,5 @@ html(lang="de" data-theme="custom") section +meetupMap() - section + section.cta a.button(href="/") Zur Einundzwanzig Website diff --git a/src/includes/_head.pug b/src/includes/_head.pug index 1104ce29dd4..a454e42b0e4 100644 --- a/src/includes/_head.pug +++ b/src/includes/_head.pug @@ -21,18 +21,18 @@ if pageCard meta(property="twitter:card" content=(cardType || "summary")) meta(name="msapplication-TileColor" content=themeColor) meta(name="theme-color" content=themeColor) -link(rel="preload" as="font" crossorigin href=assetPath("/fonts/inconsolata-400.woff2")) -link(rel="preload" as="font" crossorigin href=assetPath("/fonts/inconsolata-700.woff2")) -link(rel="preload" as="font" crossorigin href=assetPath("/fonts/theboldfont.woff2")) -link(rel="apple-touch-icon" href=assetPath("/img/favicon/apple-touch-icon.png")) -link(rel="icon" href=assetPath("/img/favicon/favicon.svg")) -link(rel="manifest" href="/site.webmanifest") -link(rel="mask-icon" href=assetPath("/img/favicon/safari-pinned-tab.svg") color=themeColor) -link(rel="stylesheet" href=assetPath("/css/main.css")) -link(rel="alternate" type="application/rss+xml" title="Podcast Feed" href=site.meta.publicFeedUrl) -script(src=assetPath("/js/player.js") defer) -script(src=assetPath("/js/main.js")) -block pageScripts +block head + link(rel="preload" as="font" crossorigin href=assetPath("/fonts/inconsolata-400.woff2")) + link(rel="preload" as="font" crossorigin href=assetPath("/fonts/inconsolata-700.woff2")) + link(rel="preload" as="font" crossorigin href=assetPath("/fonts/theboldfont.woff2")) + link(rel="apple-touch-icon" href=assetPath("/img/favicon/apple-touch-icon.png")) + link(rel="icon" href=assetPath("/img/favicon/favicon.svg")) + link(rel="manifest" href="/site.webmanifest") + link(rel="mask-icon" href=assetPath("/img/favicon/safari-pinned-tab.svg") color=themeColor) + link(rel="stylesheet" href=assetPath("/css/main.css")) + link(rel="alternate" type="application/rss+xml" title="Podcast Feed" href=site.meta.publicFeedUrl) + script(src=assetPath("/js/player.js") defer) + script(src=assetPath("/js/main.js")) title= pageTitle noscript style. diff --git a/src/meetups.pug b/src/meetups.pug index 977f3133ab4..e0c0d19a07c 100644 --- a/src/meetups.pug +++ b/src/meetups.pug @@ -5,7 +5,7 @@ block vars - const description = 'Eine Liste von Bitcoin-Meetups und Einundzwanzig-Treffen im D/A/CH/S/LI/LU-Raum.' - const cardImage = '/img/card/meetups.png' -block pageScripts +append head script(src=assetPath("/vendor/jvectormap/jquery.min.js")) script(src=assetPath("/vendor/jvectormap/jquery-jvectormap.js")) script(src=assetPath("/vendor/jvectormap/maps/europe_mill.js")) diff --git a/static/css/gesundes-geld.css b/static/css/gesundes-geld.css index 73f5c5d953e..789b6153c1d 100644 --- a/static/css/gesundes-geld.css +++ b/static/css/gesundes-geld.css @@ -128,7 +128,7 @@ margin-bottom: 4rem; } -#gesundes-geld section:last-child { +#gesundes-geld section.cta { text-align: center; }