-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added reading time plugin and published new blog post
- Loading branch information
Showing
15 changed files
with
146 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{% if post.data.cover %} | ||
{% set cover = post.url + post.data.cover %} | ||
{% else %} | ||
{% set cover = fallbackcover %} | ||
{% endif %} | ||
|
||
<article class="post"> | ||
<a href="{{ post.url | url }}" class="post__image"> | ||
<img src="{{ cover }}" alt="{{ post.data.title }}"> | ||
</a> | ||
<div class="post__data"> | ||
<div class="post__date">{{ post.date | formatDate }}</div> | ||
<h2 class="post__title"><a href="{{ post.url | url }}">{{ post.data.title }}</a></h2> | ||
|
||
<p class="post__excerpt">{{ post.data.excerpt }}</p> | ||
|
||
<ul class="post__tags"> | ||
{% for tag in post.data.tags %} | ||
<li class="post__tag"> | ||
<a href="{{ '/blog/tag/' + tag + '/' | url }}">{{ tag }}</a> | ||
</li> | ||
{% endfor %} | ||
</ul> | ||
</div> | ||
</article> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.