add a post

This commit is contained in:
Ayo 2020-04-07 15:20:46 +08:00
parent dcdf0b9f98
commit 2277a8f02c
8 changed files with 44 additions and 6 deletions

View file

@ -3,6 +3,6 @@ title: "Put Your Blog Title Here"
permalink: "/blog-url"
description: "Short description. Will be displayed when sharing blog post to Facebook."
keywords: ""
image: "path-to-featured-image.jpg"
image: "path-to-featured-image"
image-attrib: ""
---

View file

@ -24,7 +24,11 @@
{% if page.type == "post" %}
<meta property="og:type" content="article" />{% else %}<meta property="og:type" content="website" />{% endif %}
<meta property="og:url" content="{{ page.url | absolute_url }}" />
<meta property="og:image" content="{{ '/assets/images/' | absolute_url }}{{ page.image }}.jpg" />
{% if page.image != '' %}
<meta property="og:image" content="{{ '/assets/images/' | absolute_url }}{{ page.image }}.jpg" />
{% else %}
<meta property="og:image" content="{{ '/assets/images/' | absolute_url }}jumbotron.jpg" />
{% endif %}
<meta property="og:image:alt" content="{{ page.description }}" />
<meta property="og:description" content="{{ page.description }}" />
<meta property="og:site_name" content="Ayos Blog" />

View file

@ -81,7 +81,7 @@
<div class="ayo-thumb">
<img src="../assets/images/ayo.jpg" alt="Free exclusive web development tips!" />
</div>
<h2>Web Technologies and Productivity Hacks</h2>
<h2>Blogs on life and personal growth.</h2>
<!--p>Learn how to use the best and latest web applications and technologies to boost your productivity.</p-->
<p>Want to give me a tip?</p>
<!--div class="post-readmore"><a target="_blank" class="button" href="https://docs.google.com/forms/d/e/1FAIpQLScinfuT_8-4q5Yk16nGUMxWxVpQgWZwyAaJ5oFY5_0NsRMjMw/viewform?usp=sf_link">Get FREE Consultation</a></div-->

View file

@ -20,7 +20,9 @@ layout: default
<a class="post-link post-title" href="{{ post.url | relative_url }}">{{ post.title | escape }}</a>
</h3>
<div class="float-left post-excerpt">
<img class="float-right post-thumb" alt="{{ post.description | escape }}" src="../assets/images/{{ post.image }}.jpg" />
{% if post.image != '' %}
<img class="float-right post-thumb" alt="{{ post.description | escape }}" src="../assets/images/{{ post.image }}.jpg" />
{% endif %}
{{ post.excerpt }}
</div>
<div class="clear-both"></div>

View file

@ -15,8 +15,10 @@ layout: default
</p>
<h3 class="post-title p-name" itemprop="name headline">{{ page.title | escape }}</h3>
<img alt="{{ page.description }} | Developer Blog How To" title="{{page.image-attrib}}" src="../assets/images/{{page.image}}.jpg" />
<p class="image-caption">{{page.image-attrib}}</p>
{% if page.image != '' %}
<img alt="{{ page.description }} | Developer Blog How To" title="{{page.image-attrib}}" src="../assets/images/{{page.image}}.jpg" />
<p class="image-caption">{{page.image-attrib}}</p>
{% endif %}
</header>
<div class="post-content e-content" itemprop="articleBody">

View file

@ -0,0 +1,30 @@
---
title: "Hardships"
permalink: "/hardships"
description: "I hope that as we complain about our individual situation this also moves us to think about others."
keywords: ""
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 our hardships' purpose is for us to learn empathy.<!--more-->
We have been in lockdown due to the COVID-19 pandemic for more than two weeks now.
It has affected people in different ways--from something simple such as being bored to more extreme such as being on the brink of insanity or death due to hunger.
I know you might have heard this said: "The same boiling water that softens the potato hardens the egg. It's not about the circumstance, but what you are made of."
This could have worked well in some other set up, but in the situation we have now, this is far from inspiring.
The lockdown and call for social distancing has shown us a more grave matter: that there has been a huge SOCIAL GAP among our people, and this is killing people.
Poor people are not made of weaker materials than the rest.
We can never tell them to "just endure."
We cannot rely on the overused belief that "we are resilient".
At the end of the day, one thing is more likely than anything else: whatever you are going through right now, others are also experiencing something similar or much much worse.
I hope that, whatever our circumstance we are in, this also moves us to think about others.

BIN
assets/images/egg.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

View file

Before

Width:  |  Height:  |  Size: 161 KiB

After

Width:  |  Height:  |  Size: 161 KiB