Skip to content

Commit

Permalink
pinned icon
Browse files Browse the repository at this point in the history
  • Loading branch information
FromEndWorld committed Jul 25, 2019
1 parent c9aaf26 commit 2b522cf
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
3 changes: 1 addition & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,8 @@ <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>
<span title="pinned"><i data-feather="anchor"></i></span><a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a>
</h1>

<div clsss="meta">
Expand Down
8 changes: 8 additions & 0 deletions style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -480,6 +480,14 @@ nav {
border-bottom: none;
}


.pinned .feather-anchor {
color: $base-lighten-color;
padding: 2px;
margin-right: 8px;
}


.date {
font-weight: 300;
font-size: $small-font-size;
Expand Down

0 comments on commit 2b522cf

Please sign in to comment.