We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ff6e1ec commit 447304aCopy full SHA for 447304a
1 file changed
blog/index.html
@@ -3,3 +3,23 @@
3
layout: home-beautiful
4
---
5
6
+
7
+{% assign date_format = site.date_format | default: "%B %-d, %Y" %}
8
9
+{%- capture site_tags -%}
10
+ {%- for tag in site.tags -%}
11
+ {{- tag | first -}}{%- unless forloop.last -%},{%- endunless -%}
12
+ {%- endfor -%}
13
+{%- endcapture -%}
14
+{%- assign tags_list = site_tags | split:',' | sort -%}
15
+<div class="float-right col-md-4 col-sm-12">
16
+ <div class="card">
17
18
+ <div class="card-body">
19
20
+{%- for tag in tags_list -%}
21
+ <a href="{{'/blog/tags/#' | append: tag }}" class="btn btn-primary btn-sm tag-btn"><i class="fas fa-tag" aria-hidden="true"></i> {{- tag -}} ({{site.tags[tag].size}})</a>
22
+{%- endfor -%}
23
+ </div>
24
25
+</div>
0 commit comments