食事、コンピューター、インドネシアについてのひとり言。 ときどき人類学なども。
[2020-11-02] それほど恥ずかしくない程度の Github pages ができたので・・・ merapano.github.io です
Liquid がなかなか面白い。 タグクラウドをつくってみた。
{% for tag in site.tags %}
<a href="{{ tag[0] | prepend: "#" }}">{{ tag[0] | prepend: " | "}}</a>{% endfor %}
-----
{% for tag in site.tags %}
<h3><a name="{{ tag[0] }}" id="{{ tag[0] }}">{{ tag[0] }}</a></h3>
<ul>
{% for post in tag[1] %}
<li><a href="{{ post.url }}">{{ post.title }}</a>
</li>
{% endfor %}
</ul>
{% endfor %}
この Liquid を jekyll が 解釈して、 こんな風なタグクラウドができあがった。