Skip to content

Commit

Permalink
Fix blog template.
Browse files Browse the repository at this point in the history
Signed-off-by: Zelin Cai <[email protected]>
  • Loading branch information
caizelin committed Aug 25, 2023
1 parent e12a602 commit dfa100a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/.overrides/blog.html
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ <h2><a href="{{ post.url | url }}" class="toclink">{{ post.meta.title }}</a></h2
{% if post.config.readtime %}
{% set time = post.config.readtime %}
<div class="md-meta__item">
<span class="twemoji">{% include ".icons/octicons/clock-24.svg" %}</span>
{% if time == 1 %}
{{ lang.t("readtime.one") }}
{% else %}
Expand Down
1 change: 1 addition & 0 deletions docs/.overrides/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,7 @@ <h2><a href="{{ post.url | url }}" class="toclink">{{ post.title }}</a></h2>
{% if post.readtime %}
{% set time = post.readtime %}
<div class="md-meta__item">
<span class="twemoji">{% include ".icons/octicons/clock-24.svg" %}</span>
{% if time == 1 %}
{{ lang.t("readtime.one") }}
{% else %}
Expand Down

0 comments on commit dfa100a

Please sign in to comment.