diff --git a/_includes/panel.html b/_includes/panel.html index f495fe1..0b48774 100644 --- a/_includes/panel.html +++ b/_includes/panel.html @@ -21,32 +21,34 @@ {% endfor %} {% if lastmod_list.size > 0 %} -
-

- {{ site.data.label.panel.lastmod }} -

- +
{% endif %} -
-

- {{ site.data.label.panel.trending_tags }} -

-
+
+ +

+ {{- site.data.label.panel.trending_tags -}} +

+ +
{% capture tags_array %} {% for tag in site.tags %} {{ tag[1] | size }}:{{ tag[0] | replace: ' ', '-' }} @@ -57,7 +59,6 @@ {% assign count = 0 %} {% assign trends = tags_array | split: " " | sort | reverse %} -
{% for trend in trends %} {% assign count = count | plus: 1 %} {% assign tag = trend | split: ":" | last %} @@ -66,19 +67,20 @@ {% break %} {% endif %} {% endfor %} -
-
-
-
+
-{% if page.layout == 'post' and site.toc and page.toc %} -
+
+ + + + {% if page.layout == 'post' and site.toc and page.toc %} +

{{- site.data.label.panel.toc -}}

-{% endif %} + {% endif %} \ No newline at end of file diff --git a/assets/css/_src/main.scss b/assets/css/_src/main.scss index f6213aa..1ffaef7 100644 --- a/assets/css/_src/main.scss +++ b/assets/css/_src/main.scss @@ -431,7 +431,7 @@ footer .license a { border: 1px solid #e9ecef; border-radius: .8rem; padding: .3rem .5rem; - margin-bottom: .3rem; + margin: 0 .35rem .5rem 0; } #access-tags .post-tag:hover {