fixed post list title
parent
e06218ebb4
commit
b597b4f2c8
|
@ -197,6 +197,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.post-list-heading {
|
.post-list-heading {
|
||||||
|
margin-top: $spacing-unit * 2;
|
||||||
@include relative-font-size(1.75);
|
@include relative-font-size(1.75);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -14,7 +14,8 @@ layout: default
|
||||||
{% include post_detail.html %}
|
{% include post_detail.html %}
|
||||||
|
|
||||||
{%- if site.posts.size > 0 -%}
|
{%- 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">
|
<ul class="post-list">
|
||||||
{%- for post in site.posts -%}
|
{%- for post in site.posts -%}
|
||||||
<li>
|
<li>
|
||||||
|
@ -31,6 +32,7 @@ layout: default
|
||||||
</li>
|
</li>
|
||||||
{%- endfor -%}
|
{%- endfor -%}
|
||||||
</ul>
|
</ul>
|
||||||
|
</div>
|
||||||
|
|
||||||
<p class="rss-subscribe">subscribe <a href="{{ "/feed.xml" | relative_url }}">via RSS</a></p>
|
<p class="rss-subscribe">subscribe <a href="{{ "/feed.xml" | relative_url }}">via RSS</a></p>
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
|
|
Loading…
Reference in New Issue