Blog is in root, so adjust archive paths
This commit is contained in:
		
					parent
					
						
							
								f8dc7727e8
							
						
					
				
			
			
				commit
				
					
						c47fd609f0
					
				
			
		
					 2 changed files with 8 additions and 8 deletions
				
			
		|  | @ -31,7 +31,7 @@ | ||||||
|     {% for post in site.posts limit:include.entries offset:include.offset %} |     {% for post in site.posts limit:include.entries offset:include.offset %} | ||||||
|       <li><a href="{{ site.url }}{{ post.url }}">{% if post.subheadline %}{{ post.subheadline }} · {% endif %}<strong>{{ post.title }}</strong></a></li> |       <li><a href="{{ site.url }}{{ post.url }}">{% if post.subheadline %}{{ post.subheadline }} · {% endif %}<strong>{{ post.title }}</strong></a></li> | ||||||
|     {% endfor %} |     {% 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 %} |   {% elsif category %} | ||||||
|  | @ -39,7 +39,7 @@ | ||||||
|     {% for post in site.categories.[category] limit:include.entries offset:include.offset %} |     {% for post in site.categories.[category] limit:include.entries offset:include.offset %} | ||||||
|       <li><a href="{{ site.url }}{{ post.url }}">{% if post.subheadline %}{{ post.subheadline }} · {% endif %}<strong>{{ post.title }}</strong></a></li> |       <li><a href="{{ site.url }}{{ post.url }}">{% if post.subheadline %}{{ post.subheadline }} · {% endif %}<strong>{{ post.title }}</strong></a></li> | ||||||
|     {% endfor %} |     {% 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 %} |   {% elsif tag %} | ||||||
|  |  | ||||||
|  | @ -22,7 +22,7 @@ | ||||||
| 				{% 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}}">« {{page.previous.title}}</a></div><!-- /.small-4.columns --> | 				<div class="small-5 columns"><a class="button small radius prev" href="{{ site.url }}{{page.previous.url}}">« {{page.previous.title}}</a></div><!-- /.small-4.columns --> | ||||||
| 				{% endif %} | 				{% 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 --> | 				<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 %} | 				{% 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}} »</a></div><!-- /.small-4.columns --> | 				<div class="small-5 columns text-right"><a class="button small radius next" href="{{ site.url }}{{page.next.url}}">{{page.next.title}} »</a></div><!-- /.small-4.columns --> | ||||||
| 				{% endif %} | 				{% endif %} | ||||||
|  |  | ||||||
		Reference in a new issue