layout: default
<center>{{ site.title }}</center> {{ content }} {% assign contentwonl = content | strip_newlines %} {% unless contentwonl == “” %} <br /> {% endunless %} <!– add line break if there is any content –>
<h4>Posts</h4> {%- if site.posts.size > 0 -%}
<ul> {%- for post in site.posts -%} <li> {%- assign date_format = "%d %B,%Y" -%} [ {{ post.date | date: date_format }} ] <a href="{{ post.url | relative_url }}">{{ post.title | escape }}</a> </li> {%- endfor -%} </ul>
{%- endif -%}