~xdavidwu/xdavidwu.link

a4527d7e53d3ed137ccb79ee6a0fb66855f455ee — Kamil Szymanski 8 years ago 07769c8
Fix home markup for link posts
1 files changed, 1 insertions(+), 1 deletions(-)

M _layouts/home.html
M _layouts/home.html => _layouts/home.html +1 -1
@@ 37,7 37,7 @@
    {% for post in site.posts limit:5 %}
    <article>
      {% if post.link %}
        <h2 class="link-post"><a href="{{ site.url }}{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a> <a href="{{ post.link }}" target="_blank" title="{{ post.title }}"><i class="fa fa-link"></i></h2>
        <h2 class="link-post"><a href="{{ site.url }}{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a> <a href="{{ post.link }}" target="_blank" title="{{ post.title }}"><i class="fa fa-link"></i></a></h2>
      {% else %}
        <h2><a href="{{ site.url }}{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a></h2>
        <p>{{ post.excerpt | strip_html | truncate: 160 }}</p>