fix attrib links

This commit is contained in:
Ayo 2020-05-13 08:34:57 +08:00
parent 464ef2faa7
commit 7f3ce1780d
2 changed files with 6 additions and 6 deletions

View file

@ -15,14 +15,14 @@ layout: default
</p>
<h3 class="post-title p-name" itemprop="name headline">{{ page.title | escape }}</h3>
{% if page.image != '' %}
{% if page.image %}
<img alt="{{ page.description }} | Developer Blog How To" title="{{page.description}}" src="../assets/images/{{page.image}}.jpg" />
<p class="image-caption">{{page.description}}</p>
{% if page.image-attrib != '' %}
{% if page.image-attrib-url != '' %}
{% if page.image-attrib %}
{% if page.image-attrib-url %}
<p class="image-caption"><a href="{{ page.image-attrib-url }}" targe="_blank">Photo &copy; {{ page.image-attrib }}</a></p>
{% else %}
<p class="image-caption">Photo &copy; {{ page.image-attrib }}</p>
<p class="image-caption">Image &copy; {{ page.image-attrib }}</p>
{% endif %}
{% endif %}
{% endif %}

View file

@ -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.