mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 22:37:49 +00:00
Use get_section instead of deprecated `sections argument
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
{% block title %}{{ config.title }}{% endblock title %}
|
||||
|
||||
{% block main %}
|
||||
{% set posts = sections.posts %}
|
||||
{% set posts = get_section(path = "posts/_index.md") %}
|
||||
<div class="front-page-introduction">
|
||||
<p>
|
||||
This blog series creates a small operating system in the
|
||||
@@ -42,7 +42,7 @@
|
||||
</div>
|
||||
|
||||
<hr>
|
||||
{% set extra = sections.extra %}
|
||||
{% set extra = get_section(path = "extra/_index.md") %}
|
||||
<h1>{{ extra.title }}</h1>
|
||||
<ul>
|
||||
{% for subsection in extra.subsections|reverse %}
|
||||
|
||||
Reference in New Issue
Block a user