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

Add Related-Posts in the bottom of each posts.

This commit is contained in:
Cotes Chung
2019-10-21 22:12:36 +08:00
parent 4287b9e612
commit 094b3da714
4 changed files with 137 additions and 18 deletions

View File

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