Skip to content

Commit

Permalink
Using the correct way, permalink in _config
Browse files Browse the repository at this point in the history
  • Loading branch information
RichGuk committed Apr 9, 2014
1 parent ea885d8 commit cc4995f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion blog/index.html
Expand Up @@ -6,7 +6,7 @@
<ul class="posts-archive">
{% for post in site.posts %}
<li>
<a href="{{ post.url }}/"><h3>{{ post.title }}</h3></a>
<a href="{{ post.url }}"><h3>{{ post.title }}</h3></a>
<span class="posts-archive__date">{{ post.date | date_to_string }}</span>
{{ post.content | strip_html | truncatewords:42 }}
</li>
Expand Down
2 changes: 1 addition & 1 deletion index.html
Expand Up @@ -18,6 +18,6 @@ <h1>Hello. I'm Rich.</h1>
<hr>
<ul class="posts">
{% for post in site.posts limit:5 %}
<li><span class="posts__date">{{ post.date | date_to_string }}</span> <a href="{{ post.url }}/">{{ post.title }}</a></li>
<li><span class="posts__date">{{ post.date | date_to_string }}</span> <a href="{{ post.url }}">{{ post.title }}</a></li>
{% endfor %}
</ul>

0 comments on commit cc4995f

Please sign in to comment.