Hide "Related Posts" section if it is empty
<link href="http://gmpg.org/xfn/11" rel="profile">
<!-- Enable responsiveness on mobile devices-->
- <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>
{% if page.title == "Home" %}
{% for post in site.related_posts limit:3 %}
<li>
<h3>
- <a href="{{ site.baseurl }}/{{ post.url }}">
+ <a href="{{ site.baseurl }}{{ post.url }}">
{{ post.title }}
<small><time datetime="{{ post.date | date_to_xmlschema }}">{{ post.date | date_to_string }}</time></small>
</a>