diff --git a/_includes/panel.html b/_includes/panel.html index d67d6a300..99b6d4cfb 100644 --- a/_includes/panel.html +++ b/_includes/panel.html @@ -57,16 +57,15 @@ {% for tag in trending_tags %} {% capture url %}/tags/{{ tag | downcase | url_encode }}/{% endcapture %} {{ tag | replace: '-', ' ' }} - {% endfor %} + {% endfor %} {% endif %} - {% if page.layout == 'post' and site.toc and page.toc %}
-

+

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

diff --git a/assets/css/post.scss b/assets/css/post.scss index 7bbfc6783..2fb260e21 100644 --- a/assets/css/post.scss +++ b/assets/css/post.scss @@ -127,6 +127,7 @@ $prompt-newer: "{{ site.data.label.post.button.next }}"; } #toc-wrapper { + margin-top: 7rem; border-left: 1px solid rgba(158, 158, 158, 0.17); position: -webkit-sticky; position: sticky;