diff --git a/content/fb/20200507.md b/content/kort/20200507.md similarity index 87% rename from content/fb/20200507.md rename to content/kort/20200507.md index 00c7d12..827451c 100644 --- a/content/fb/20200507.md +++ b/content/kort/20200507.md @@ -1,5 +1,5 @@ --- -title: "Facebook post op 2020-05-07" +title: "2020-05-07" date: 2020-05-07 link: https://www.facebook.com/redzuurdesem/posts/3067948703326127 --- diff --git a/content/fb/20200514.md b/content/kort/20200514.md similarity index 89% rename from content/fb/20200514.md rename to content/kort/20200514.md index 942b60f..a406765 100644 --- a/content/fb/20200514.md +++ b/content/kort/20200514.md @@ -1,5 +1,5 @@ --- -title: "Facebook post op 2020-05-14" +title: "2020-05-14" date: 2020-05-14 link: https://www.facebook.com/redzuurdesem/posts/3083224988465165 --- diff --git a/content/fb/20200517.md b/content/kort/20200517.md similarity index 80% rename from content/fb/20200517.md rename to content/kort/20200517.md index 4bddad2..0b6d5ee 100644 --- a/content/fb/20200517.md +++ b/content/kort/20200517.md @@ -1,5 +1,5 @@ --- -title: "Facebook post op 2020-05-17" +title: "2020-05-17" date: 2020-05-17 link: https://www.facebook.com/redzuurdesem/posts/3092681767519487 --- diff --git a/content/fb/20200520.md b/content/kort/20200520.md similarity index 92% rename from content/fb/20200520.md rename to content/kort/20200520.md index 4b85e54..2feba45 100644 --- a/content/fb/20200520.md +++ b/content/kort/20200520.md @@ -1,5 +1,5 @@ --- -title: "Facebook post op 2020-05-20" +title: "2020-05-20" date: 2020-05-20 link: https://www.facebook.com/redzuurdesem/posts/3107354282718902 --- diff --git a/content/fb/20200601.md b/content/kort/20200601.md similarity index 91% rename from content/fb/20200601.md rename to content/kort/20200601.md index 80cf77c..ef78b73 100644 --- a/content/fb/20200601.md +++ b/content/kort/20200601.md @@ -1,5 +1,5 @@ --- -title: "Facebook post op 2020-06-01" +title: "2020-06-01" date: 2020-06-01 link: https://www.facebook.com/redzuurdesem/posts/3129244797196517 --- diff --git a/content/fb/20200613.md b/content/kort/20200613.md similarity index 89% rename from content/fb/20200613.md rename to content/kort/20200613.md index 14a2bf3..ef4645b 100644 --- a/content/fb/20200613.md +++ b/content/kort/20200613.md @@ -1,5 +1,5 @@ --- -title: "Facebook post op 2020-06-13" +title: "2020-06-13" date: 2020-06-13 link: https://www.facebook.com/redzuurdesem/posts/3159739047480425 --- diff --git a/content/fb/20200616.md b/content/kort/20200616.md similarity index 93% rename from content/fb/20200616.md rename to content/kort/20200616.md index 097477b..5ae3057 100644 --- a/content/fb/20200616.md +++ b/content/kort/20200616.md @@ -1,5 +1,5 @@ --- -title: "Facebook post op 2020-06-16" +title: "2020-06-16" date: 2020-06-16 link: https://www.facebook.com/redzuurdesem/posts/3166707546783575 --- diff --git a/content/fb/20200623.md b/content/kort/20200623.md similarity index 93% rename from content/fb/20200623.md rename to content/kort/20200623.md index 8bbeb7a..cb55527 100644 --- a/content/fb/20200623.md +++ b/content/kort/20200623.md @@ -1,5 +1,5 @@ --- -title: "Facebook post op 2020-06-23" +title: "2020-06-23" date: 2020-06-23 link: https://www.facebook.com/redzuurdesem/posts/3186200238167639 --- diff --git a/content/fb/20200627.md b/content/kort/20200627.md similarity index 89% rename from content/fb/20200627.md rename to content/kort/20200627.md index 82d62ca..5c535f9 100644 --- a/content/fb/20200627.md +++ b/content/kort/20200627.md @@ -1,5 +1,5 @@ --- -title: "Facebook post op 2020-06-27" +title: "2020-06-27" date: 2020-06-27 link: https://www.facebook.com/redzuurdesem/posts/3196838217103841 --- diff --git a/content/fb/20200719.md b/content/kort/20200719.md similarity index 86% rename from content/fb/20200719.md rename to content/kort/20200719.md index e07e873..6815672 100644 --- a/content/fb/20200719.md +++ b/content/kort/20200719.md @@ -1,5 +1,5 @@ --- -title: "Facebook post op 2020-07-19" +title: "2020-07-19" date: 2020-07-19 link: https://www.facebook.com/redzuurdesem/posts/3254144931373169 --- diff --git a/content/fb/20200725.md b/content/kort/20200725.md similarity index 90% rename from content/fb/20200725.md rename to content/kort/20200725.md index 9cef7ca..42e5ba6 100644 --- a/content/fb/20200725.md +++ b/content/kort/20200725.md @@ -1,5 +1,5 @@ --- -title: "Facebook post op 2020-07-25" +title: "2020-07-25" date: 2020-07-25 link: https://www.facebook.com/redzuurdesem/posts/3272455619542100 --- diff --git a/content/fb/20200906.md b/content/kort/20200906.md similarity index 89% rename from content/fb/20200906.md rename to content/kort/20200906.md index 22b84eb..4451691 100644 --- a/content/fb/20200906.md +++ b/content/kort/20200906.md @@ -1,5 +1,5 @@ --- -title: "Facebook post op 2020-09-06" +title: "2020-09-06" date: 2020-09-06 link: https://www.facebook.com/redzuurdesem/posts/3413172158803778 --- diff --git a/content/fb/20201021.md b/content/kort/20201021.md similarity index 89% rename from content/fb/20201021.md rename to content/kort/20201021.md index 5771308..fe2fa50 100644 --- a/content/fb/20201021.md +++ b/content/kort/20201021.md @@ -1,5 +1,5 @@ --- -title: "Facebook post op 2020-10-21" +title: "2020-10-21" date: 2020-10-21 link: https://www.facebook.com/redzuurdesem/posts/3569904153130577 --- diff --git a/content/fb/20201110.md b/content/kort/20201110.md similarity index 84% rename from content/fb/20201110.md rename to content/kort/20201110.md index e334d41..91de351 100644 --- a/content/fb/20201110.md +++ b/content/kort/20201110.md @@ -1,5 +1,5 @@ --- -title: "Facebook post op 2020-11-10" +title: "2020-11-10" date: 2020-11-11 link: https://www.facebook.com/redzuurdesem/posts/3632033746917617 --- diff --git a/content/fb/20201201.md b/content/kort/20201201.md similarity index 91% rename from content/fb/20201201.md rename to content/kort/20201201.md index a8eea53..fb41161 100644 --- a/content/fb/20201201.md +++ b/content/kort/20201201.md @@ -1,5 +1,5 @@ --- -title: "Facebook post op 2020-12-01" +title: "2020-12-01" date: 2020-12-01 link: https://www.facebook.com/redzuurdesem/posts/3691394150981576 --- diff --git a/content/fb/20201206.md b/content/kort/20201206.md similarity index 85% rename from content/fb/20201206.md rename to content/kort/20201206.md index c42db10..241a1dd 100644 --- a/content/fb/20201206.md +++ b/content/kort/20201206.md @@ -1,5 +1,5 @@ --- -title: "Facebook post op 2020-12-06" +title: "2020-12-06" date: 2020-12-06 link: https://www.facebook.com/redzuurdesem/posts/3705591246228533 --- diff --git a/content/fb/20201214.md b/content/kort/20201214.md similarity index 85% rename from content/fb/20201214.md rename to content/kort/20201214.md index 65773d4..3cf375b 100644 --- a/content/fb/20201214.md +++ b/content/kort/20201214.md @@ -1,5 +1,5 @@ --- -title: "Facebook post op 2020-12-16" +title: "2020-12-16" date: 2020-12-16 link: https://www.facebook.com/redzuurdesem/posts/3569904153130577 --- diff --git a/content/fb/2021-01-20.md b/content/kort/2021-01-20.md similarity index 92% rename from content/fb/2021-01-20.md rename to content/kort/2021-01-20.md index fe6ac86..d9c9a57 100644 --- a/content/fb/2021-01-20.md +++ b/content/kort/2021-01-20.md @@ -1,5 +1,5 @@ --- -title: "Facebook post op 2021-01-20" +title: "2021-01-20" date: 2021-01-20 link: https://www.facebook.com/redzuurdesem/posts/3823212524466404 --- diff --git a/content/over.md b/content/over.md index 5b7ee79..fe6137c 100644 --- a/content/over.md +++ b/content/over.md @@ -2,12 +2,11 @@ title: Hallo daar! aliases: - /about/ -disablefb: true --- -Mijn naam is [Wouter Groeneveld][1] en mijn missie is zuurdesembrood bakken opnieuw populair maken. +Mijn naam is [Wouter Groeneveld](https://brainbaking.com/about) en mijn missie is zuurdesembrood bakken opnieuw populair maken. -Mijn grootste passies zijn brood bakken en kennis delen. De vruchtbare combinatie van deze twee dingen betekende de geboorte van deze [blog](/blog) en van [het boek](/boek)! +Mijn grootste passies zijn brood bakken en kennis delen. De vruchtbare combinatie van deze twee dingen betekende de geboorte van deze [blog](/post) en van [het boek](/boek)! ### Waarom bakken met zuurdesem? @@ -24,10 +23,16 @@ Natuurlijk kan ik niet alleen het woord verspreiden, daarvoor heb ik **je hulp** 1. Door zuurdesembrood te bakken en weg te geven. 2. Door anderen aan te zetten zelf te bakken met een stukje van jouw zuurdesemstarter. -3. Door de [Facebook groep](https://facebook.com/redzuurdesem) bij te staan met raad en daad. -4. Door het ['Red Zuurdesem'-boek](/boek) aan te raden bij familie en vrienden, en een eerlijke recensie te schrijven. +3. Door het ['Red Zuurdesem'-boek](/boek) aan te raden bij familie en vrienden, en een eerlijke recensie te schrijven. -Als er iets anders is waarmee je graag Red Zuurdesem wenst te helpen, heel graag! Laat gerust een berichtje achter en dan gaan we samen aan de slag. Bedankt! +Als er iets anders is waarmee je graag Red Zuurdesem wenst te helpen, heel graag! Laat gerust een berichtje achter via e-mail en dan gaan we samen aan de slag: zeg hallo. - [1]: https://brainbaking.com/about/ - [2]: https://sourdough.com/shop/artisan-baker-association \ No newline at end of file + + +Bedankt! + + [2]: https://sourdough.com/shop/artisan-baker-association + \ No newline at end of file diff --git a/content/privacy.md b/content/privacy.md index a00cc83..6a6dfc4 100644 --- a/content/privacy.md +++ b/content/privacy.md @@ -1,6 +1,5 @@ --- title: Pricacy/cookie policy -disablefb: true --- ## Privacy en cookie policy diff --git a/content/zoeken.md b/content/zoeken.md index cf9fee5..950268a 100644 --- a/content/zoeken.md +++ b/content/zoeken.md @@ -2,7 +2,6 @@ title: Zoeken aliases: - /search/ -disablefb: true --- Niet gevonden wat je zocht? Probeer hier je geluk. diff --git a/layouts/index.html b/layouts/index.html index fa68023..3a22ed4 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -58,24 +58,21 @@
- +

- Laatste Facebook posts » + In het kort »

-

- Bekijk alle Facebook posts » + Bekijk alle nieuwtjes »

diff --git a/static/fb/fbwidget.jpg b/static/fb/fbwidget.jpg deleted file mode 100644 index a0aed6c..0000000 Binary files a/static/fb/fbwidget.jpg and /dev/null differ diff --git a/themes/desem-swift-theme/assets/js/redzuurdesem.js b/themes/desem-swift-theme/assets/js/redzuurdesem.js index d7d62fc..5e76df2 100644 --- a/themes/desem-swift-theme/assets/js/redzuurdesem.js +++ b/themes/desem-swift-theme/assets/js/redzuurdesem.js @@ -206,31 +206,6 @@ } fromFixedToScrollForSafari(); - const fbCommunityHeaderify = () => { - var elem = document.querySelector('#fb-community-header'); - if(!elem) return; - - var list = [ - "Starter dood? Facebook to the rescue", - "Hulp nodig? Laat een berichtje achter", - "Brood mislukt? Laat ons helpen", - "Ongerezen brood? Schakel hulp in", - "Smaakmakers nodig? Brainstorm hier mee", - "moeilijkheden met je deeg? Zo opgelost", - "Desem te zuur? Vraag om tips", - "Eerste experiment gelukt? Deel de vreugde", - "Mooi brood gebakken? Deel de vreugde", - "Lekker brood gebakken? Deel je trots", - "Zuurdesemstarter gemaakt? Deel je trots", - "Prachtige 'brood-foto' gemaakt? Deel je vreugde", - "Trots op je zelfgemaakt brood? Deel je vreugde" - ]; - - var index = Math.floor(Math.random() * list.length); - elem.innerHTML = list[index] + ' »'; - } - fbCommunityHeaderify(); - const lightbox = () => { [...document.querySelectorAll('article img')].forEach(el => { if(el.parentNode.nodeName !== 'A') { @@ -242,4 +217,15 @@ const box = new SimpleLightbox('.lbox', { /* options */ }); }; lightbox(); + + const meel = document.querySelector('.meel'); + const enc = "pfccr@fsrniifrsgsa.ps" + + if(meel) { + meel.addEventListener('click', function() { + meel.setAttribute('class', '') + meel.innerHTML = enc.replace(/[a-zA-Z]/g,function(c){return String.fromCharCode((c<="Z"?90:122)>=(c=c.charCodeAt(0)+12)?c:c-26);}); + }) + } + })() diff --git a/themes/desem-swift-theme/assets/sass/_posts.sass b/themes/desem-swift-theme/assets/sass/_posts.sass index deccdcb..785b31e 100644 --- a/themes/desem-swift-theme/assets/sass/_posts.sass +++ b/themes/desem-swift-theme/assets/sass/_posts.sass @@ -239,10 +239,7 @@ &.active, &.disabled opacity: 0.5 -#fbwidget - margin: 0 - -.fbpost_item +.kortpost_item .excerpt margin-top: 0.5em diff --git a/themes/desem-swift-theme/layouts/_default/baseof.html b/themes/desem-swift-theme/layouts/_default/baseof.html index 956a5b5..29d13b6 100644 --- a/themes/desem-swift-theme/layouts/_default/baseof.html +++ b/themes/desem-swift-theme/layouts/_default/baseof.html @@ -3,7 +3,7 @@ {{- partial "head" . }} {{- partial "nav" . }} -
+
{{- block "main" . }}{{ end }}
{{- partial "icons" }} diff --git a/themes/desem-swift-theme/layouts/_default/single.html b/themes/desem-swift-theme/layouts/_default/single.html index 56086fa..39e5d9a 100644 --- a/themes/desem-swift-theme/layouts/_default/single.html +++ b/themes/desem-swift-theme/layouts/_default/single.html @@ -22,7 +22,7 @@ {{- with .Params.tags -}} {{- range first 10 . }} {{- $tag := . | urlize }} - + {{- . }} {{- end }} @@ -34,54 +34,59 @@
-
+
{{- .Content }}
{{- partial "copy" . }}
-
+
+

+ Geschreven voor {{ .Site.Title }} door + + {{ if isset .Params "author" }} + {{ .Params.author }} + {{ else }} + {{ .Site.Author.name }} + {{ end }} + . + +

+
+
-{{ if not (isset .Params "disablefb") }}
-
-
-

Facebook community »

- -

Klik op 'Berichten' en laat iets van je horen!

- -

- - Facebook Widget Screenshot - -

-
-
-{{ end }} {{- end }} diff --git a/themes/desem-swift-theme/layouts/partials/excerptfb.html b/themes/desem-swift-theme/layouts/partials/excerptkort.html similarity index 66% rename from themes/desem-swift-theme/layouts/partials/excerptfb.html rename to themes/desem-swift-theme/layouts/partials/excerptkort.html index 1cf0517..7d3110d 100644 --- a/themes/desem-swift-theme/layouts/partials/excerptfb.html +++ b/themes/desem-swift-theme/layouts/partials/excerptkort.html @@ -10,19 +10,15 @@ {{- end }} {{- $image := $scratch.Get "image" }} {{- $bg := ( $image | absLangURL) }} -
  • +
  • diff --git a/themes/desem-swift-theme/layouts/partials/head.html b/themes/desem-swift-theme/layouts/partials/head.html index d4f94f0..39c3902 100644 --- a/themes/desem-swift-theme/layouts/partials/head.html +++ b/themes/desem-swift-theme/layouts/partials/head.html @@ -28,6 +28,8 @@ {{ end }}{{ end }} + + {{- $options := (dict "targetPath" "css/styles.css" "outputStyle" "compressed" "enableSourceMap" "true") -}} diff --git a/themes/desem-swift-theme/layouts/partials/icons.html b/themes/desem-swift-theme/layouts/partials/icons.html index 3a417a2..e0c45a8 100644 --- a/themes/desem-swift-theme/layouts/partials/icons.html +++ b/themes/desem-swift-theme/layouts/partials/icons.html @@ -9,7 +9,4 @@ - - -