Skip to content

Commit

Permalink
Not support link post anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
hanju-jo committed Oct 8, 2017
1 parent 07cea5e commit 0ef1429
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 25 deletions.
8 changes: 0 additions & 8 deletions _layouts/post.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,22 +28,14 @@ <h1>{{ page.title }}</h1>
<div class="pagination">
{% if page.previous.url %}
<span class="prev" >
{% if page.previous.link %}
<a href="{{ page.previous.link }}">
{% else %}
<a href="{{ page.previous.url }}">
{% endif %}
&#xE000; {{ page.previous.title }}
</a>
</span>
{% endif %}
{% if page.next.url %}
<span class="next" >
{% if page.next.link %}
<a href="{{ page.next.link }}">
{% else %}
<a href="{{ page.next.url }}">
{% endif %}
{{ page.next.title }} &#xE001;
</a>
</span>
Expand Down
10 changes: 0 additions & 10 deletions _posts/2013-08-12-sample-link-post.md

This file was deleted.

8 changes: 1 addition & 7 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,7 @@ <h2>No post found</h2>
{% for post in paginator.posts %}
<article class="post">
<h1>
{% if post.link %}
<a href="{{ post.link }}">
{% else %}
<a href="{{ site.baseurl }}{{ post.url }}">
{% endif %}
{{ post.title }}
</a>
<a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a>
</h1>

<div clsss="meta">
Expand Down

0 comments on commit 0ef1429

Please sign in to comment.