improve implementation of attrib and attrib url
This commit is contained in:
parent
d5baff47df
commit
464ef2faa7
16 changed files with 16 additions and 16 deletions
|
@ -21,7 +21,7 @@ layout: default
|
||||||
</h3>
|
</h3>
|
||||||
<div class="float-left post-excerpt">
|
<div class="float-left post-excerpt">
|
||||||
{% if post.image != '' %}
|
{% if post.image != '' %}
|
||||||
<img class="float-right post-thumb" alt="{{ post.description | escape }}" src="../assets/images/{{ post.image }}.jpg" />
|
<a href="{{post.url}}"><img class="float-right post-thumb" alt="{{ post.description | escape }}" src="../assets/images/{{ post.image }}.jpg" /></a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{{ post.excerpt }}
|
{{ post.excerpt }}
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -16,8 +16,15 @@ layout: default
|
||||||
|
|
||||||
<h3 class="post-title p-name" itemprop="name headline">{{ page.title | escape }}</h3>
|
<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.image-attrib}}" src="../assets/images/{{page.image}}.jpg" />
|
<img alt="{{ page.description }} | Developer Blog How To" title="{{page.description}}" src="../assets/images/{{page.image}}.jpg" />
|
||||||
<p class="image-caption">{{page.image-attrib}}</p>
|
<p class="image-caption">{{page.description}}</p>
|
||||||
|
{% if page.image-attrib != '' %}
|
||||||
|
{% if page.image-attrib-url != '' %}
|
||||||
|
<p class="image-caption"><a href="{{ page.image-attrib-url }}" targe="_blank">Photo © {{ page.image-attrib }}</a></p>
|
||||||
|
{% else %}
|
||||||
|
<p class="image-caption">Photo © {{ page.image-attrib }}</p>
|
||||||
|
{% endif %}
|
||||||
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,8 @@ permalink: "/git-and-github"
|
||||||
description: "I strongly believe that every developer should know Git and Github. Here's why."
|
description: "I strongly believe that every developer should know Git and Github. Here's why."
|
||||||
keywords: ""
|
keywords: ""
|
||||||
image: "git-github"
|
image: "git-github"
|
||||||
image-attrib: "Photo stock by Tim Gouw from Pexel."
|
image-attrib: "Tim Gouw"
|
||||||
|
image-attrib-url: "https://www.pexels.com/@punttim"
|
||||||
---
|
---
|
||||||
|
|
||||||
If you ask me for something that would greatly jumpstart your growth as a developer, I would place my bet on learning Git and exploring projects on [Github](https://github.com/explore).
|
If you ask me for something that would greatly jumpstart your growth as a developer, I would place my bet on learning Git and exploring projects on [Github](https://github.com/explore).
|
||||||
|
|
|
@ -4,7 +4,6 @@ permalink: "/ubuntu-dev-setup"
|
||||||
description: "In this post I go through how I quickly setup an Ubuntu machine for development"
|
description: "In this post I go through how I quickly setup an Ubuntu machine for development"
|
||||||
keywords: ""
|
keywords: ""
|
||||||
image: "ubuntu-dev-setup"
|
image: "ubuntu-dev-setup"
|
||||||
image-attrib: ""
|
|
||||||
---
|
---
|
||||||
|
|
||||||
Whenever I get a new Ubuntu machine I intend to use for development, I go through so many articles around the Web just so I can install everything I need. This is because I work on several projects using different technologies.
|
Whenever I get a new Ubuntu machine I intend to use for development, I go through so many articles around the Web just so I can install everything I need. This is because I work on several projects using different technologies.
|
||||||
|
|
|
@ -4,7 +4,6 @@ permalink: "/feels-fm"
|
||||||
description: "There's nothing worse for your productivity than an anxiety or depression attack. What do you do when you don't want to do anything or talk to anyone?"
|
description: "There's nothing worse for your productivity than an anxiety or depression attack. What do you do when you don't want to do anything or talk to anyone?"
|
||||||
keywords: ""
|
keywords: ""
|
||||||
image: "feels-fm"
|
image: "feels-fm"
|
||||||
image-attrib: ""
|
|
||||||
---
|
---
|
||||||
|
|
||||||
There's nothing worse for your productivity than an anxiety or depression attack. What if, just for the mean time, you don't have to talk to anyone to get your mood up?
|
There's nothing worse for your productivity than an anxiety or depression attack. What if, just for the mean time, you don't have to talk to anyone to get your mood up?
|
||||||
|
|
|
@ -4,7 +4,6 @@ permalink: "/google-firebase-overview"
|
||||||
description: "Let's discuss what Google Firebase has to offer for app development in 2019."
|
description: "Let's discuss what Google Firebase has to offer for app development in 2019."
|
||||||
keywords: ""
|
keywords: ""
|
||||||
image: "drake_firebase"
|
image: "drake_firebase"
|
||||||
image-attrib: "https://firebase.google.com"
|
|
||||||
---
|
---
|
||||||
|
|
||||||
Recently, I've been looking into some of the latest ways we can quickly spin up a backend system for an app prototype.
|
Recently, I've been looking into some of the latest ways we can quickly spin up a backend system for an app prototype.
|
||||||
|
|
|
@ -4,7 +4,6 @@ permalink: "/forcing-js-dom-types"
|
||||||
description: "To take advantage of code completion for Javascript, here's a smart way to force JS DOM variables to use a specific DOM API interface"
|
description: "To take advantage of code completion for Javascript, here's a smart way to force JS DOM variables to use a specific DOM API interface"
|
||||||
keywords: ""
|
keywords: ""
|
||||||
image: "javascript"
|
image: "javascript"
|
||||||
image-attrib: "JavaScript using HTMLTableElement instead of HTMLElement, or other specific DOM APIs"
|
|
||||||
---
|
---
|
||||||
|
|
||||||
To take advantage of JavaScript *intellisense* and code completion when using a certain *awesome* text editor *\*ehem\** [VS Code](https://code.visualstudio.com/) *\*ehem\**, you need to be able to declare the correct interfaces for variables containing DOM elements.
|
To take advantage of JavaScript *intellisense* and code completion when using a certain *awesome* text editor *\*ehem\** [VS Code](https://code.visualstudio.com/) *\*ehem\**, you need to be able to declare the correct interfaces for variables containing DOM elements.
|
||||||
|
|
|
@ -4,7 +4,6 @@ permalink: "/start-writing"
|
||||||
description: "I'm going to start writing regularly. At first, I plan to do them quick and short just to establish the routine."
|
description: "I'm going to start writing regularly. At first, I plan to do them quick and short just to establish the routine."
|
||||||
keywords: "daily"
|
keywords: "daily"
|
||||||
image: "random-1"
|
image: "random-1"
|
||||||
image-attrib: "Random picture of me in the Queen Victoria Building."
|
|
||||||
---
|
---
|
||||||
|
|
||||||
Hey reader! I'm going to start writing regularly. At first, I plan to do them quick and short just to establish the routine. But as I go, I expect to have better quality content that I think you will love. <!--more-->
|
Hey reader! I'm going to start writing regularly. At first, I plan to do them quick and short just to establish the routine. But as I go, I expect to have better quality content that I think you will love. <!--more-->
|
||||||
|
|
|
@ -4,7 +4,6 @@ permalink: "/routines"
|
||||||
description: "Let's talk about routines. Today I will be sharing the routines I try to observe, and the benefits I find when I actually do them."
|
description: "Let's talk about routines. Today I will be sharing the routines I try to observe, and the benefits I find when I actually do them."
|
||||||
keywords: ""
|
keywords: ""
|
||||||
image: "batanes-boat"
|
image: "batanes-boat"
|
||||||
image-attrib: "A very shaky boat-ride in Batanes, Philippines"
|
|
||||||
---
|
---
|
||||||
Today I will be sharing the routines I *try* to observe, and the benefits I find when I actually do them.
|
Today I will be sharing the routines I *try* to observe, and the benefits I find when I actually do them.
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,6 @@ permalink: "/weakness"
|
||||||
description: "We all have things that hold us back from reaching our goals."
|
description: "We all have things that hold us back from reaching our goals."
|
||||||
keywords: ""
|
keywords: ""
|
||||||
image: "tokyo-temple"
|
image: "tokyo-temple"
|
||||||
image-attrib: "Me, being weird in a temple in Tokyo."
|
|
||||||
---
|
---
|
||||||
|
|
||||||
This morning, I found myself curiously watching an old man sitting by the sidewalk. He looked like he was having difficulty breathing and was coughing so hard. But that's not really what caught my attention.
|
This morning, I found myself curiously watching an old man sitting by the sidewalk. He looked like he was having difficulty breathing and was coughing so hard. But that's not really what caught my attention.
|
||||||
|
|
|
@ -4,7 +4,6 @@ permalink: "/influence"
|
||||||
description: "If it is outside your circle of influence, do not waste time and energy."
|
description: "If it is outside your circle of influence, do not waste time and energy."
|
||||||
keywords: ""
|
keywords: ""
|
||||||
image: "team-lab"
|
image: "team-lab"
|
||||||
image-attrib: "Digital light show with Team Lab: Borderless"
|
|
||||||
---
|
---
|
||||||
|
|
||||||
I first learned about the concept of "Circle of Influence" in a book written by Stephen Covey called "The 7 Habits of Highly Effective People"
|
I first learned about the concept of "Circle of Influence" in a book written by Stephen Covey called "The 7 Habits of Highly Effective People"
|
||||||
|
|
|
@ -4,7 +4,6 @@ permalink: "/growth"
|
||||||
description: "Healthy growth is always bi-directional."
|
description: "Healthy growth is always bi-directional."
|
||||||
keywords: ""
|
keywords: ""
|
||||||
image: "trees"
|
image: "trees"
|
||||||
image-attrib: "Some trees in Los Baños, Philippines"
|
|
||||||
---
|
---
|
||||||
|
|
||||||
Have you ever planted a tree? I have not had the opportunity, but that is something I want to do.
|
Have you ever planted a tree? I have not had the opportunity, but that is something I want to do.
|
||||||
|
|
|
@ -4,7 +4,6 @@ permalink: "/hardships"
|
||||||
description: "I hope that as we complain about our individual situation this also moves us to think about others."
|
description: "I hope that as we complain about our individual situation this also moves us to think about others."
|
||||||
keywords: ""
|
keywords: ""
|
||||||
image: "egg"
|
image: "egg"
|
||||||
image-attrib: "No, sometimes your response to the circumstance is not just about what you are made of."
|
|
||||||
---
|
---
|
||||||
|
|
||||||
If the goal for our existence on this earth is to [love](https://www.biblegateway.com/passage/?search=John+13%3A34-35&version=NASB), then maybe all of our hardships' purpose is for us to learn empathy.<!--more-->
|
If the goal for our existence on this earth is to [love](https://www.biblegateway.com/passage/?search=John+13%3A34-35&version=NASB), then maybe all of our hardships' purpose is for us to learn empathy.<!--more-->
|
||||||
|
|
|
@ -3,8 +3,9 @@ title: "Reading"
|
||||||
permalink: "/reading"
|
permalink: "/reading"
|
||||||
description: "I have been striving to rekindle my love for reading books and it has felt so good."
|
description: "I have been striving to rekindle my love for reading books and it has felt so good."
|
||||||
keywords: ""
|
keywords: ""
|
||||||
image: ""
|
image: "reading"
|
||||||
image-attrib: ""
|
image-attrib: "Daria Shevtsova"
|
||||||
|
imate-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.
|
There has been a problem arising that everybody seems to see lately, but still no one seems to understand it completely.
|
||||||
|
|
||||||
|
|
BIN
assets/images/reading.jpg
Normal file
BIN
assets/images/reading.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.1 MiB |
|
@ -606,4 +606,5 @@ table.image caption {
|
||||||
.image-caption {
|
.image-caption {
|
||||||
font-size: small;
|
font-size: small;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
margin-bottom: 0px;
|
||||||
}
|
}
|
Loading…
Reference in a new issue