fixed post list title

master
Jordan Han 2019-06-09 10:45:07 +08:00
parent e06218ebb4
commit b597b4f2c8
2 changed files with 4 additions and 1 deletions

View File

@ -197,6 +197,7 @@
}
.post-list-heading {
margin-top: $spacing-unit * 2;
@include relative-font-size(1.75);
}

View File

@ -14,7 +14,8 @@ layout: default
{% include post_detail.html %}
{%- if site.posts.size > 0 -%}
<h2 class="post-list-heading">{{ page.list_title | default: "Posts" }}</h2>
<div class="post-list-wrapper">
<h2 class="post-list-heading" >{{ page.list_title | default: "Posts" }}</h2>
<ul class="post-list">
{%- for post in site.posts -%}
<li>
@ -31,6 +32,7 @@ layout: default
</li>
{%- endfor -%}
</ul>
</div>
<p class="rss-subscribe">subscribe <a href="{{ "/feed.xml" | relative_url }}">via RSS</a></p>
{%- endif -%}