From 7f3ce1780d97836d3c4b07790ff9ea713a8463c4 Mon Sep 17 00:00:00 2001 From: Ayo Date: Wed, 13 May 2020 08:34:57 +0800 Subject: [PATCH] fix attrib links --- _layouts/post.html | 8 ++++---- _posts/2020-04-09-reading.md | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/_layouts/post.html b/_layouts/post.html index 1856269..e625d56 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -15,14 +15,14 @@ layout: default

{{ page.title | escape }}

- {% if page.image != '' %} + {% if page.image %} {{ page.description }} | Developer Blog How To

{{page.description}}

- {% if page.image-attrib != '' %} - {% if page.image-attrib-url != '' %} + {% if page.image-attrib %} + {% if page.image-attrib-url %}

Photo © {{ page.image-attrib }}

{% else %} -

Photo © {{ page.image-attrib }}

+

Image © {{ page.image-attrib }}

{% endif %} {% endif %} {% endif %} diff --git a/_posts/2020-04-09-reading.md b/_posts/2020-04-09-reading.md index 4ade16f..edec050 100644 --- a/_posts/2020-04-09-reading.md +++ b/_posts/2020-04-09-reading.md @@ -4,8 +4,8 @@ permalink: "/reading" description: "I have been striving to rekindle my love for reading books and it has felt so good." keywords: "" image: "reading" -image-attrib: "Daria Shevtsova" -imate-attrib-url: "https://www.pexels.com/@daria" +image-attrib: Daria Shevtsova +image-attrib-url: https://www.pexels.com/@daria --- There has been a problem arising that everybody seems to see lately, but still no one seems to understand it completely.