Skip to content

Commit

Permalink
🐛 Fix #10. Changes in href attr in a tag.
Browse files Browse the repository at this point in the history
In order to fix fastly #10, it has been changed the href attribute of the a tag including {{ SITEURL }}/*url variable*.
  • Loading branch information
ivanhercaz committed Dec 7, 2019
1 parent 6a67a3a commit 493eb4a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/_includes/article_extract.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
<div class="columns is-multiline">
<div class="column is-one-quarter has-text-centered">
<p><time itemprop="dateCreated" datetime="{{ article.date.isoformat() }}">{{ article.locale_date }}</time></p>
<p>{% for tag in article.tags %}<a href="{{ tag.url }}"><span class="tag is-info">{{ tag }}</span></a> {% endfor %}</p>
<p>{% for tag in article.tags %}<a href="{{ SITEURL }}/{{ tag.url }}"><span class="tag is-info">{{ tag }}</span></a> {% endfor %}</p>
</div>
<div class="column">
<h2 class="is-size-5"><a href="{{ article.url }}">{{ article.title }}</a></h2>
<h2 class="is-size-5"><a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a></h2>
{% if article.extract %}<p class="has-text-dark">{{ article.extract }}</p>{% endif %}
</div>
</div>
Expand Down

0 comments on commit 493eb4a

Please sign in to comment.