Skip to content

Commit

Permalink
edit index.html & archive.html
Browse files Browse the repository at this point in the history
  • Loading branch information
Vison307 committed Mar 9, 2019
1 parent 72c7308 commit 14a0eac
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion archive.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ <h2>{{ category | first }}</h2>
{% for post in category.last %}

<div class="post_title">
<a href="{{ post.url | prepend: site.baseurl }}">{{ post.title}}</a>
<a href="{{ post.url }}">{{ post.title}}</a>
<span class="date">{{ post.date | date: "%-d %b, %Y" }}</span>
</div>

Expand Down
6 changes: 3 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

<article class="post_card post">
<header class="post_header">
<h2 class="post_title"><a href="{{ post.url | prepend: site.baseurl }}">{{ post.title}}</a></h2>
<h2 class="post_title"><a href="{{ post.url }}">{{ post.title}}</a></h2>
<time class="post_date">{{ post.date | date: "%d %B %Y, %A" }}</time>
</header>
<div class="post_excerpt">
Expand All @@ -20,7 +20,7 @@ <h2 class="post_title"><a href="{{ post.url | prepend: site.baseurl }}">{{ post.
{% else %}
{{ post.excerpt }}
{% endif %}
<a class="read-more" href="{{ post.url | prepend: site.baseurl }}"> » </a>
<a class="read-more" href="{{ post.url }}"> » </a>
</p>
</div>
<footer class="post_meta">
Expand All @@ -34,7 +34,7 @@ <h2 class="post_title"><a href="{{ post.url | prepend: site.baseurl }}">{{ post.
{% endif %}
<!--
{% for category in post.categories %}
<a href="{{"/category/" | append: category | prepend: site.baseurl }}">
<a href="{{"/category/" | append: category }}">
<data data-icon="ei-archive"></data>
{{category}}</a>
{% endfor %}
Expand Down

0 comments on commit 14a0eac

Please sign in to comment.