This commit is contained in:
Dennis Reimann
2023-08-02 16:17:29 +02:00
parent e3bc3fe219
commit 5ca64f0f0f
4 changed files with 23 additions and 25 deletions

View File

@@ -6,20 +6,18 @@ block vars
- const pageCard = "/img/card/gesundes-geld.jpg" - const pageCard = "/img/card/gesundes-geld.jpg"
- const cardType = "summary_large_image" - 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")
<!DOCTYPE html> <!DOCTYPE html>
html(lang="de" data-theme="custom") html(lang="de" data-theme="custom")
head head
include includes/_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 body#gesundes-geld
main.main main.main
.wrap .wrap
@@ -74,5 +72,5 @@ html(lang="de" data-theme="custom")
section section
+meetupMap() +meetupMap()
section section.cta
a.button(href="/") Zur Einundzwanzig Website a.button(href="/") Zur Einundzwanzig Website

View File

@@ -21,18 +21,18 @@ if pageCard
meta(property="twitter:card" content=(cardType || "summary")) meta(property="twitter:card" content=(cardType || "summary"))
meta(name="msapplication-TileColor" content=themeColor) meta(name="msapplication-TileColor" content=themeColor)
meta(name="theme-color" content=themeColor) meta(name="theme-color" content=themeColor)
link(rel="preload" as="font" crossorigin href=assetPath("/fonts/inconsolata-400.woff2")) block head
link(rel="preload" as="font" crossorigin href=assetPath("/fonts/inconsolata-700.woff2")) link(rel="preload" as="font" crossorigin href=assetPath("/fonts/inconsolata-400.woff2"))
link(rel="preload" as="font" crossorigin href=assetPath("/fonts/theboldfont.woff2")) link(rel="preload" as="font" crossorigin href=assetPath("/fonts/inconsolata-700.woff2"))
link(rel="apple-touch-icon" href=assetPath("/img/favicon/apple-touch-icon.png")) link(rel="preload" as="font" crossorigin href=assetPath("/fonts/theboldfont.woff2"))
link(rel="icon" href=assetPath("/img/favicon/favicon.svg")) link(rel="apple-touch-icon" href=assetPath("/img/favicon/apple-touch-icon.png"))
link(rel="manifest" href="/site.webmanifest") link(rel="icon" href=assetPath("/img/favicon/favicon.svg"))
link(rel="mask-icon" href=assetPath("/img/favicon/safari-pinned-tab.svg") color=themeColor) link(rel="manifest" href="/site.webmanifest")
link(rel="stylesheet" href=assetPath("/css/main.css")) link(rel="mask-icon" href=assetPath("/img/favicon/safari-pinned-tab.svg") color=themeColor)
link(rel="alternate" type="application/rss+xml" title="Podcast Feed" href=site.meta.publicFeedUrl) link(rel="stylesheet" href=assetPath("/css/main.css"))
script(src=assetPath("/js/player.js") defer) link(rel="alternate" type="application/rss+xml" title="Podcast Feed" href=site.meta.publicFeedUrl)
script(src=assetPath("/js/main.js")) script(src=assetPath("/js/player.js") defer)
block pageScripts script(src=assetPath("/js/main.js"))
title= pageTitle title= pageTitle
noscript noscript
style. style.

View File

@@ -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 description = 'Eine Liste von Bitcoin-Meetups und Einundzwanzig-Treffen im D/A/CH/S/LI/LU-Raum.'
- const cardImage = '/img/card/meetups.png' - const cardImage = '/img/card/meetups.png'
block pageScripts append head
script(src=assetPath("/vendor/jvectormap/jquery.min.js")) script(src=assetPath("/vendor/jvectormap/jquery.min.js"))
script(src=assetPath("/vendor/jvectormap/jquery-jvectormap.js")) script(src=assetPath("/vendor/jvectormap/jquery-jvectormap.js"))
script(src=assetPath("/vendor/jvectormap/maps/europe_mill.js")) script(src=assetPath("/vendor/jvectormap/maps/europe_mill.js"))

View File

@@ -128,7 +128,7 @@
margin-bottom: 4rem; margin-bottom: 4rem;
} }
#gesundes-geld section:last-child { #gesundes-geld section.cta {
text-align: center; text-align: center;
} }