16 lines
741 B
HTML
16 lines
741 B
HTML
<p>The following pages are tagged with <button type="button" class="btn btn-default navbar-btn cursorNorm">{{page.tagName}}</button></p>
|
|
<table><thead><tr><th>Page</th><th>Excerpt</th></tr></thead>
|
|
<tbody>
|
|
{% assign thisTag = page.tagName %}
|
|
{% for page in site.pages %}
|
|
{% for tag in page.tags %}
|
|
{% if tag == thisTag %}
|
|
|
|
<tr><td><a href="{{ page.permalink | prepend: site.baseurl | append: site.suffix" }}">{{page.title}}</a></td>
|
|
<td>{% if page.summary %} {{ page.summary | strip_html | strip_newlines | truncate: 160 }} {% else %} {{ page.content | truncatewords: 50 | strip_html }} {% endif %}</td>
|
|
</tr>
|
|
{% endif %}
|
|
{% endfor %}
|
|
{% endfor %}
|
|
</tbody>
|
|
</table> |