Sha256: abc4bf86207651d2b21d0a92364b2a78db3cbbcb8594f5e731d92a020263a86c

Contents?: true

Size: 1.33 KB

Versions: 8

Compression:

Stored size: 1.33 KB

Contents

<p>The following pages and posts are tagged with <button type="button" style="cursor: default" class="btn btn-default navbar-btn">{{page.tagName}}</button></p>
<table><thead><tr><th>Title</th><th>Type</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="{{site.baseurl}}{{ page.url }}">{{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>
        {% endif %}
     {% endfor %}
   {% endfor %}

        {% assign thisTag = page.tagName %}
        {% for post in site.posts %}
        {% for tag in post.tags %}
        {% if tag == thisTag %}

        <tr><td><a href="{{site.baseurl}}{{ post.url }}">{{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>
        {% endif %}
        {% endfor %}
        {% endfor %}

   </tbody>
</table>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
sanskrit-documentation-theme-0.1.8 _includes/taglogic.html
sanskrit-documentation-theme-0.1.7 _includes/taglogic.html
sanskrit-documentation-theme-0.1.6 _includes/taglogic.html
sanskrit-documentation-theme-0.1.5 _includes/taglogic.html
sanskrit-documentation-theme-0.1.4 _includes/taglogic.html
sanskrit-documentation-theme-0.1.3 _includes/taglogic.html
sanskrit-documentation-theme-0.1.2 _includes/taglogic.html
sanskrit-documentation-theme-0.1.1 _includes/taglogic.html