feat(author): add author

This commit is contained in:
Mahdi Dibaiee 2017-10-20 21:17:29 +03:30
parent d3ebc8b77d
commit 3e7918255b
15 changed files with 18 additions and 2 deletions

View File

@ -35,3 +35,7 @@ collections:
contentsLabel: "Table of Contents"
showToggleButton: true
authors:
Mahdi:
url: https://github.com/mdibaiee/

View File

@ -7,9 +7,9 @@ layout: default
<h1 class="post-title">{{ page.title }}</h1>
<p class="post-meta">
<span>{{ page.date | date: "%b %-d, %Y" }}</span>
{% if page.author %} • <span>{{ page.author }}</span>{% endif %}
{% if page.meta %} • <span>{{ page.meta }}</span>{% endif %}
<span>Reading time: {{ content | reading_time }}</span>
{% if page.author %} • <span><a href='{{ site.authors[page.author].url }}'>{{ page.author }}</a></span>{% endif %}
</p>
</div>

View File

@ -4,6 +4,7 @@ title: "CSS Filters are awesome!"
date: 2015-03-28 17:13:46
permalink: css-filters/
categories: programming
author: Mahdi
---
I've been working on the [CSS Filter Editor widget](https://bugzilla.mozilla.org/show_bug.cgi?id=1055181) in Firefox Developer Tools for a couple of weeks, <s>it should land soon</s> It's here!. Thanks to [Patrick Brosset](https://medium.com/@patrickbrosset) for mentoring me and [Tim Nguyen](https://github.com/nt1m) for his great contributions.

View File

@ -4,6 +4,7 @@ title: "BroadcastChannel API"
date: 2015-04-02 17:13:46
permalink: broadcastchannel-api/
categories: programming
author: Mahdi
---
[BroadcastChannel API](https://developer.mozilla.org/en-US/docs/Web/API/Broadcast_Channel_API)

View File

@ -4,6 +4,7 @@ title: "ES7 Array and Generator comprehensions"
date: 2015-06-06 13:47:00
permalink: es7-array-generator-comprehensions/
categories: programming
author: Mahdi
---
Array comprehension is a new feature proposed for ES7, with a new syntax

View File

@ -4,6 +4,7 @@ title: "Autocomplete using Tries"
date: 2015-07-24 09:44:00
permalink: autocomplete-predict-trie/
categories: programming
author: Mahdi
---
In this article, I'm going over creating an autocompletion/prediction system using a data-structure called Trie, it's fast and easy to customize.

View File

@ -4,6 +4,7 @@ title: "Open-source: The Good, The Bad and The Ugly"
date: 2015-10-13 06:15:00
permalink: open-source-good-bad-ugly/
categories: programming
author: Mahdi
---
I have been doing Open-source for a while, I don't call myself an "expert" or something like that,

View File

@ -4,6 +4,7 @@ title: "Immortals go extinct"
permalink: immortals-go-extinct/
categories: life
excerpt_separator: <!--more-->
author: Mahdi
---
We are all going to die, we all know that well.<br /><br />

View File

@ -4,6 +4,7 @@ title: "Stop High-Frequency Fuck-ups"
permalink: stop-high-frequency-fuck-ups/
categories: life
excerpt_separator: <!--more-->
author: Mahdi
---
**High-Frequency Fuck-Ups**:

View File

@ -4,6 +4,7 @@ title: "Don't chase: Become the good one"
permalink: dont-chase-become-the-good-one/
categories: life
excerpt_separator: <!--more-->
author: Mahdi
---
When it comes to relationships, most (unsuccessful) people are _chasing_ the good ones.

View File

@ -4,6 +4,7 @@ title: "Primitive Living Lessons Learned, Episode 0"
permalink: primitive-living-lessons-0/
categories: life, primitive-living, travel
excerpt_separator: <!--more-->
author: Mahdi
---
![general view of the forest](/img/primitive-living-0.jpg)

View File

@ -4,6 +4,7 @@ title: "Difference between Travis CI tests: PR and Push"
permalink: travis-ci-pr-push/
categories: programming
excerpt_separator: <!--more-->
author: Mahdi
---
I just want to leave this here as I often tend to look it up myself and the first time it was not as easy to figure out.

View File

@ -4,6 +4,7 @@ title: "DIY Cardboard Kindle Stand (for bed)"
permalink: diy-cardboard-kindle-stand/
categories: life, diy
excerpt_separator: <!--more-->
author: Mahdi
---
![a view of the stand + kindle](/img/kindle-stand/1.jpg)

View File

@ -6,6 +6,7 @@ permalink: typoclassopedia-exercise-solutions/
categories: programming
math: true
toc: true
author: Mahdi
---
I wanted to get proficient in Haskell so I decided to follow [An [Essential] Haskell Reading List](http://www.stephendiehl.com/posts/essential_haskell.html). There I stumbled upon [Typoclassopedia](https://wiki.haskell.org/Typeclassopedia), while the material is great, I couldn't find solutions for the exercises to check against, so I decided I would write my own and hopefully the solutions would get fixed in case I have gone wrong by others. So if you think a solution is wrong, let me know in the comments!

View File

@ -12,9 +12,9 @@ layout: default
<p class="post-meta">
<span>{{ post.date | date: "%b %-d, %Y" }}</span>
{% if post.author %} • <span>{{ post.author }}</span>{% endif %}
{% if post.meta %} • <span>{{ post.meta }}</span>{% endif %}
<span>Reading time: {{ post.content | reading_time }}</span>
{% if post.author %} • <span><a href='{{ site.authors[post.author].url }}'>{{ post.author }}</a></span>{% endif %}
</p>
</h2>
<article class='post-content'>