From c5cde791303f7164d25f0c2a100a7c3853ae5bd7 Mon Sep 17 00:00:00 2001 From: Philipp Oppermann Date: Thu, 5 Oct 2017 10:14:41 +0200 Subject: [PATCH] Use `get_section` instead of deprecated `sections argument --- blog/templates/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/blog/templates/index.html b/blog/templates/index.html index ad0774ed..b4adb514 100644 --- a/blog/templates/index.html +++ b/blog/templates/index.html @@ -5,7 +5,7 @@ {% block title %}{{ config.title }}{% endblock title %} {% block main %} -{% set posts = sections.posts %} +{% set posts = get_section(path = "posts/_index.md") %}

This blog series creates a small operating system in the @@ -42,7 +42,7 @@


-{% set extra = sections.extra %} +{% set extra = get_section(path = "extra/_index.md") %}

{{ extra.title }}