Page source
---
layout: page
title:
tags:
js: /_pages/tags.js
css: /_pages/tags.css
---
{% comment %}
<!--
- Create an empty array.
- Obtain a tag name and push it to the array.
- Sort the tag names.
- List tags as a tag cloud.
-->
{% endcomment %}
{% assign tags = site.trpg | map: 'tags' | join: ',' | split: ',' | uniq %}
{% include tag_cloud.html tag_names=tags %}
<h2>List of pages tagged with :</h2>
<div class="list-pages">
{% for tag in tags %}
<ul id="{{ tag }}" style="display:none;list-style: none;padding-inline-start: 0;">
{% for trpg in site.trpg %}
{% if trpg.tags contains tag %}
<li><a href="{{ trpg.url }}">{{ trpg.title }}</a></li>
{% endif %}
{% endfor %}
</ul>
{% endfor %}
Page revisions
^f733075 1) ---
^f733075 2) layout: page
^f733075 3) title: ""
^f733075 4) permalink: /tags
^f733075 5) js: "/_pages/tags.js"
^f733075 6) css: "/_pages/tags.css"
^f733075 7) ---
^f733075 8)
^f733075 9) {% comment %}
^f733075 10) <!--
^f733075 11) - Create an empty array.
^f733075 12) - Obtain a tag name and push it to the array.
^f733075 13) - Sort the tag names.
^f733075 14) - List tags as a tag cloud.
^f733075 15) -->
^f733075 16) {% endcomment %}
^f733075 17)
^f733075 18)
^f733075 19) {% assign tags = site.trpg | map: 'tags' | join: ',' | split: ',' | uniq %}
^f733075 20)
^f733075 21) {% include tag_cloud.html tag_names=tags %}
^f733075 22)
^f733075 23) <h2>List of pages tagged with :</h2>
^f733075 24) <div class="list-pages">
^f733075 25) {% for tag in tags %}
^f733075 26) <ul id="{{ tag }}" style="display:none;list-style: none;padding-inline-start: 0;">
^f733075 27) {% for trpg in site.trpg %}
^f733075 28) {% if trpg.tags contains tag %}
^f733075 29) <li><a href="{{ trpg.url }}">{{ trpg.title }}</a></li>
^f733075 30) {% endif %}
^f733075 31) {% endfor %}
^f733075 32) </ul>
^f733075 33) {% endfor %}