summaryrefslogtreecommitdiffstats
path: root/blog
diff options
context:
space:
mode:
Diffstat (limited to 'blog')
-rw-r--r--blog/_includes/news.html3
-rw-r--r--blog/en/index.md2
-rw-r--r--blog/index.md2
3 files changed, 5 insertions, 2 deletions
diff --git a/blog/_includes/news.html b/blog/_includes/news.html
index d08c45f..4c39be0 100644
--- a/blog/_includes/news.html
+++ b/blog/_includes/news.html
@@ -1,7 +1,6 @@
<section id="news">
<h2>Nyheter</h2>
- {% assign posts_for_lang = site.posts | where_exp: "p","p.lang == page.lang" %}
- {% for p in posts_for_lang limit: 5 %}
+ {% for p in page.pagination.posts %}
{% if p != page %}
{% if include.sidebar %}
{% include post-excerpt.html post=p sidebar=true %}
diff --git a/blog/en/index.md b/blog/en/index.md
index 8ceeb63..06d3351 100644
--- a/blog/en/index.md
+++ b/blog/en/index.md
@@ -1,5 +1,7 @@
---
layout: homepage
+paginate: 8
+paginate_onlykey: lang
---
**Norsk Urskog** is a volunteer based project aiming to support and promote young Norwegian underground bands within the metal genre and this is done via its website, the social media and a CD sampler distributed at the [Inferno Metal Festival][1] in Oslo, Norway - and possibly at other festivals where Inferno is present.
diff --git a/blog/index.md b/blog/index.md
index 59844af..760134e 100644
--- a/blog/index.md
+++ b/blog/index.md
@@ -1,5 +1,7 @@
---
layout: homepage
+paginate: 8
+paginate_onlykey: lang
---
**Spiller du i et norsk metalband?**