From 82d053451d8d2acc4d4995ba7d042f7e5e438db6 Mon Sep 17 00:00:00 2001 From: sakrecoer Date: Mon, 16 Nov 2020 16:48:18 +0100 Subject: [PATCH] post defaults --- _layouts/post.html | 14 ++++++-------- _posts/2018-12-17-satoshi-mon-ami.md | 4 +++- _posts/2019-02-07-darkweb.md | 4 +++- _posts/2019-12-12-cyber-grany.md | 4 +++- _posts/2020-04-19-live-with-hardware.md | 4 +++- _posts/2020-08-02-unmet-dependencies.md | 4 +++- _posts/2020-08-03-333mix.md | 4 +++- .../2020-11-13-make-a-bold-move-or-die-trying.md | 4 +++- _posts/_defaults.md | 6 ++++-- 9 files changed, 31 insertions(+), 17 deletions(-) diff --git a/_layouts/post.html b/_layouts/post.html index 9d10db9..d8021fc 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -79,6 +79,7 @@ layout: default Telegram Reddit +
📢 Chat @@ -90,12 +91,11 @@ layout: default
{{ content }} - {% if page.link %} + {% if page.link.url %}

{% if page.link.buttontext %}{{ page.link.buttontext }}{% else %}👀 check it out{% endif %} -

{% endif %}
@@ -326,14 +326,12 @@ layout: default
- +
{{ content }} - {% if page.link %} +
+ {% if page.link.url %}

- - {% if page.link.buttontext %}{{ page.link.buttontext }}{% else %}👀 check it out{% endif %} - - + {% if page.link.buttontext %}{{ page.link.buttontext }}{% else %}👀 check it out{% endif %}

{% endif %} {% include author.html %} diff --git a/_posts/2018-12-17-satoshi-mon-ami.md b/_posts/2018-12-17-satoshi-mon-ami.md index 6f6adbb..17292c9 100644 --- a/_posts/2018-12-17-satoshi-mon-ami.md +++ b/_posts/2018-12-17-satoshi-mon-ami.md @@ -10,7 +10,9 @@ video_path: /videos/satoshi.webm category: releases tags: - EP -link: +link: + url: + buttontext: check_this_if_cannot_be_bought: false album: satoshi-mon-ami stores: diff --git a/_posts/2019-02-07-darkweb.md b/_posts/2019-02-07-darkweb.md index 1879f97..a993e78 100644 --- a/_posts/2019-02-07-darkweb.md +++ b/_posts/2019-02-07-darkweb.md @@ -10,7 +10,9 @@ video_path: /videos/darkweb.webm category: releases tags: - EP -link: +link: + url: + buttontext: check_this_if_cannot_be_bought: false album: darkweb stores: diff --git a/_posts/2019-12-12-cyber-grany.md b/_posts/2019-12-12-cyber-grany.md index 232998b..3e7fbc0 100644 --- a/_posts/2019-12-12-cyber-grany.md +++ b/_posts/2019-12-12-cyber-grany.md @@ -7,7 +7,9 @@ image: /images/posts/1-grandma-got-the-ssh-keys.jpeg video_path: category: releases tags: single -link: +link: + url: + buttontext: check_this_if_cannot_be_bought: true album: cyber-grany stores: diff --git a/_posts/2020-04-19-live-with-hardware.md b/_posts/2020-04-19-live-with-hardware.md index cba7fdd..e5ef0c5 100644 --- a/_posts/2020-04-19-live-with-hardware.md +++ b/_posts/2020-04-19-live-with-hardware.md @@ -10,7 +10,9 @@ image: /images/posts/1-ep-life-of-a-dudelini.jpeg video_path: category: releases tags: single -link: +link: + url: + buttontext: album: live-with-hardware check_this_if_cannot_be_bought: true stores: diff --git a/_posts/2020-08-02-unmet-dependencies.md b/_posts/2020-08-02-unmet-dependencies.md index 8968e6d..68b8f7e 100644 --- a/_posts/2020-08-02-unmet-dependencies.md +++ b/_posts/2020-08-02-unmet-dependencies.md @@ -14,7 +14,9 @@ video_path: /videos/pingu.mp4 category: releases tags: - EP -link: +link: + url: + buttontext: check_this_if_cannot_be_bought: false album: unmet-dependencies stores: diff --git a/_posts/2020-08-03-333mix.md b/_posts/2020-08-03-333mix.md index cfe9375..5594102 100644 --- a/_posts/2020-08-03-333mix.md +++ b/_posts/2020-08-03-333mix.md @@ -7,7 +7,9 @@ description: >- image: /images/posts/333mix.jpg video_path: category: ramblings -link: https://kodtreatment.bandcamp.com/ +link: + url: https://kodtreatment.bandcamp.com/ + buttontext: Visit KodTreatment check_this_if_cannot_be_bought: true album: stores: diff --git a/_posts/2020-11-13-make-a-bold-move-or-die-trying.md b/_posts/2020-11-13-make-a-bold-move-or-die-trying.md index 27afa0a..d8e9037 100644 --- a/_posts/2020-11-13-make-a-bold-move-or-die-trying.md +++ b/_posts/2020-11-13-make-a-bold-move-or-die-trying.md @@ -8,7 +8,9 @@ description: >- image: /images/posts/fuckit.jpg video_path: category: ramblings -link: +link: + url: + buttontext: check_this_if_cannot_be_bought: true album: stores: diff --git a/_posts/_defaults.md b/_posts/_defaults.md index c6c6e1b..75251f5 100644 --- a/_posts/_defaults.md +++ b/_posts/_defaults.md @@ -6,8 +6,10 @@ description: image: video_path: category: -link: -check_this_if_cannot_be_bought: false +link: + url: + buttontext: +check_this_if_cannot_be_bought: true album: stores: - name: