Skip to content

Commit a4527d7

Browse files
Fix home markup for link posts
1 parent 07769c8 commit a4527d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_layouts/home.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ <h3><a href="{{ site.url}}/posts/">Recent Posts</a></h3>
3737
{% for post in site.posts limit:5 %}
3838
<article>
3939
{% if post.link %}
40-
<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>
40+
<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>
4141
{% else %}
4242
<h2><a href="{{ site.url }}{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a></h2>
4343
<p>{{ post.excerpt | strip_html | truncate: 160 }}</p>

0 commit comments

Comments
 (0)