Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions _layouts/post.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,16 @@ <h3 class="tag">
<h1 class="title">
<a href="{{ page.url }}">{{ page.title }}</a>
</h1>

<!-- minute read-->
<div class="time">
{% assign minutes = content | strip_html | number_of_words | divided_by: 180 %}
{% if minutes == 0 %}
{% assign minutes = 1 %}
{% endif %}
</div>


<div class="date">
{{ page.date | date: "%B %e, %Y" }}
</div>
Expand All @@ -17,6 +27,9 @@ <h1 class="title">
- {{ page.author }}
</div>
{% endif %}



</div>
<div class="row body">

Expand Down
6 changes: 6 additions & 0 deletions css/base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -675,6 +675,12 @@ blockquote {
color: #8b8b8b;
margin-bottom: -25px;
}

.time{
font-size:12px;
color: #8b8b8b;

}
}

// ============== /POST ============== //
Expand Down