sandyjmacdonald/sandyjmacdonald.github.io

Broken link in related posts section

sandyjmacdonald opened this issue · 0 comments

In the _layouts/post.html, clicking the date link next to the post title results in a "can't connect to server" error.

<div class="related">
  <h2>Related Posts</h2>
  <ul class="related-posts">
    {% for post in site.related_posts limit:3 %}
      <li>
        <h3>
          <a href="{{ site.baseurl }}{{ post.url }}">
            {{ post.title }}
            <small>{{ post.date | date_to_string }}</small>
          </a>
        </h3>
      </li>
    {% endfor %}
  </ul>
</div>

Should be easily fixed by moving the </a>closing tag.