fixing links for tags and tag pages
This commit is contained in:
@ -29,7 +29,7 @@
|
||||
{% elsif page.url == subfolderitem.url %}
|
||||
<li class="active"><a href="{{subfolderitem.url | remove: "/" | append: ".html"}}">{{subfolderitem.title}}</a></li>
|
||||
{% else %}
|
||||
<li><a href="{{subfolderitem.url | remove: "/" | append: ".html"}}">{{subfolderitem.title}}"</a></li>
|
||||
<li><a href="{{subfolderitem.url | remove: "/" | append: ".html"}}">{{subfolderitem.title}}</a></li>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
@ -6,7 +6,7 @@
|
||||
{% for tag in page.tags %}
|
||||
{% if tag == thisTag %}
|
||||
|
||||
<tr><td><a href="{{ page.url | remove: "/"}}">{{page.title}}</a></td>
|
||||
<tr><td><a href="{{ page.url | remove: "/" | append: ".html" }}">{{page.title}}</a></td>
|
||||
<td><span class="label label-default">Page</span></td>
|
||||
<td>{% if page.summary %} {{ page.summary | strip_html | strip_newlines | truncate: 160 }} {% else %} {{ page.content | truncatewords: 50 | strip_html }} {% endif %}</td>
|
||||
</tr>
|
||||
@ -19,7 +19,7 @@
|
||||
{% for tag in post.tags %}
|
||||
{% if tag == thisTag %}
|
||||
|
||||
<tr><td><a href="{{ post.url | remove: "/"}}">{{post.title}}</a></td>
|
||||
<tr><td><a href="{{ post.url | remove: "/" | append: ".html" }}">{{post.title}}</a></td>
|
||||
<td><span class="label label-primary">Post</span></td>
|
||||
<td>{% if post.summary %} {{ post.summary | strip_html | strip_newlines | truncate: 160 }} {% else %} {{ post.content | truncatewords: 50 | strip_html }} {% endif %}</td>
|
||||
</tr>
|
||||
|
Reference in New Issue
Block a user