Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
FromEndWorld committed Jul 25, 2019
1 parent 20ad52c commit c9aaf26
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
layout: default
---
<script src="https://unpkg.com/feather-icons"></script>

{% if site.posts.size == 0 %}
<h2>No post found</h2>
Expand All @@ -11,6 +12,7 @@ <h2>No post found</h2>
{% for post in paginator.posts %}
{% if post.pinned==true %}
<article class="post pinned">
<i data-feather="anchor"></i>
<h1>
<a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a>
</h1>
Expand All @@ -29,6 +31,10 @@ <h1>
</li>
{% endfor %}
</ul>

<script>
feather.replace()
</script>
</div>

<div class="entry">
Expand Down

0 comments on commit c9aaf26

Please sign in to comment.