We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 704788f commit 27badd0Copy full SHA for 27badd0
content/archives/old-tech-blog/categories/contents.lr
@@ -1,3 +1 @@
1
_model: blog-categories
2
----
3
-title: Archive: CC Technical Blog (2007-2014)
models/blog-categories.ini
@@ -7,7 +7,3 @@ protected = yes
7
[children]
8
model = blog-category
9
order_by = name
10
-
11
-[fields.title]
12
-label = Title
13
-type = string
templates/blog-categories.html
@@ -1,7 +1,7 @@
{% extends "layout.html" %}
{% from "macros/categories.html" import render_categories %}
{% block title %}{{ this.title }}{% endblock %}
4
-{% block header %}{{ this.title }}{% endblock %}
+{% block header %}{{ this.parent.children.get('entries').title }}{% endblock %}
5
{% block body %}
6
<h2>Categories</h2>
{{ render_categories(this) }}
0 commit comments