blog fix with tags
This commit is contained in:
@ -16,7 +16,7 @@ folder: news
|
|||||||
<span class="post-meta">{{ post.date | date: "%b %-d, %Y" }} /
|
<span class="post-meta">{{ post.date | date: "%b %-d, %Y" }} /
|
||||||
{% for tag in post.tags %}
|
{% for tag in post.tags %}
|
||||||
|
|
||||||
<a href="{{ "tag_" | append: tag | append: ".html"}}">{{tag}}{{tag}}</a>{% unless forloop.last %}, {% endunless%}
|
<a href="{{ "tag_" | append: tag | append: ".html"}}">{{tag}}</a>{% unless forloop.last %}, {% endunless%}
|
||||||
|
|
||||||
{% endfor %}</span>
|
{% endfor %}</span>
|
||||||
<p>{% if page.summary %} {{ page.summary | strip_html | strip_newlines | truncate: 160 }} {% else %} {{ post.content | truncatewords: 50 | strip_html }} {% endif %}</p>
|
<p>{% if page.summary %} {{ page.summary | strip_html | strip_newlines | truncate: 160 }} {% else %} {{ post.content | truncatewords: 50 | strip_html }} {% endif %}</p>
|
||||||
|
Reference in New Issue
Block a user