1
0
Fork 0

Blog is in root, so adjust archive paths

This commit is contained in:
Luca Beltrame 2015-04-25 15:43:59 +02:00
parent f8dc7727e8
commit c47fd609f0
2 changed files with 8 additions and 8 deletions

View file

@ -31,7 +31,7 @@
{% for post in site.posts limit:include.entries offset:include.offset %}
<li><a href="{{ site.url }}{{ post.url }}">{% if post.subheadline %}{{ post.subheadline }} &middot; {% endif %}<strong>{{ post.title }}</strong></a></li>
{% endfor %}
<li class="text-right"><a href="{{ site.url }}/blog/archive/"><strong>{{ site.data.language.more }}</strong></a></li>
<li class="text-right"><a href="{{ site.url }}/archive/"><strong>{{ site.data.language.more }}</strong></a></li>
{% elsif category %}
@ -39,7 +39,7 @@
{% for post in site.categories.[category] limit:include.entries offset:include.offset %}
<li><a href="{{ site.url }}{{ post.url }}">{% if post.subheadline %}{{ post.subheadline }} &middot; {% endif %}<strong>{{ post.title }}</strong></a></li>
{% endfor %}
<li class="text-right"><a href="{{ site.url }}/blog/archive/"><strong>{{ site.data.language.more }}</strong></a></li>
<li class="text-right"><a href="{{ site.url }}/archive/"><strong>{{ site.data.language.more }}</strong></a></li>
{% elsif tag %}

View file

@ -18,13 +18,13 @@
</p>
<div id="post-nav" class="row">
{% if page.previous.url %}
{% if page.previous.url %}
<div class="small-5 columns"><a class="button small radius prev" href="{{ site.url }}{{page.previous.url}}">&laquo; {{page.previous.title}}</a></div><!-- /.small-4.columns -->
{% endif %}
<div class="small-2 columns text-center"><a class="radius button small" href="{{ site.url }}/blog/archive/" title="Blog {{ site.data.language.archive }}">{{ site.data.language.archive }}</a></div><!-- /.small-4.columns -->
{% if page.next.url %}
{% endif %}
<div class="small-2 columns text-center"><a class="radius button small" href="{{ site.url }}/archive/" title="Blog {{ site.data.language.archive }}">{{ site.data.language.archive }}</a></div><!-- /.small-4.columns -->
{% if page.next.url %}
<div class="small-5 columns text-right"><a class="button small radius next" href="{{ site.url }}{{page.next.url}}">{{page.next.title}} &raquo;</a></div><!-- /.small-4.columns -->
{% endif %}
{% endif %}
</div>
</div><!-- /.page-meta -->