Skip to content

Commit

Permalink
fix template error
Browse files Browse the repository at this point in the history
  • Loading branch information
janzhou committed Dec 7, 2020
1 parent 2a8b154 commit e30782e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions _includes/bulma_post_card.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
<a class="title is-4" href="{{ include.post.url }}">
{{ include.post.title }}
</a>
{{ include.post.excerpt }}
<time>
{{ include.post.date | date: '%Y %b %d' }}
</time>
<!--{{ include.post.excerpt }}-->
<p>
<time>{{ include.post.date | date: '%Y %b %d' }}</time>
</p>
</div>
</div>
</div>
2 changes: 1 addition & 1 deletion _includes/bulma_post_tags.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

{% for tag in page.tags %}
<div class="control">
<a href="/tags/#{{ tag | slugify }}" class="tags has-addons">
<a href="/tags/#{{ tag | downcase | slugify }}" class="tags has-addons">
<span class="tag icon is-dark"><i class="fas fa-hashtag"></i></span>
<span class="tag is-info">{{ tag }}</span>
</a>
Expand Down
2 changes: 1 addition & 1 deletion pages/tags.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
</div>

{% for tag in site.tags %}
<h2 id="{{ tag[0] | slugify }}">{{ tag[0] }}</h2>
<h2 id="{{ tag[0] | downcase | slugify }}">{{ tag[0] }}</h2>
<div class="columns is-multiline">
{% for post in tag[1] %}
<div class="column is-full-mobile is-half-tablet is-one-third-desktop is-one-quarter-widescreen is-one-quarter-fullhd">
Expand Down

0 comments on commit e30782e

Please sign in to comment.