1
0
mirror of https://github.com/cotes2020/jekyll-theme-chirpy.git synced 2025-12-18 05:41:31 +00:00

Beautified the tags.

This commit is contained in:
Cotes Chung
2019-10-27 15:34:51 +08:00
parent 94cb59fc27
commit 31cacb7278
2 changed files with 7 additions and 7 deletions

View File

@@ -10,7 +10,7 @@ title: Tags
'site.tags' looks like a Map, e.g. site.tags.MyTag.[ Post0, Post1, ... ]
Print the {{ site.tags }} will help you to understand it.
{% endcomment %}
<div id="tags" class="d-flex flex-wrap">
<div id="tags" class="d-flex flex-wrap ml-xl-2 mr-xl-2">
{% assign tags = "" | split: "" %}
{% for t in site.tags %}
{% assign tags = tags | push: t[0] %}