Skip to content

Commit 27badd0

Browse files
committed
Removed duplication of blog title.
1 parent 704788f commit 27badd0

File tree

3 files changed

+1
-7
lines changed

3 files changed

+1
-7
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
11
_model: blog-categories
2-
---
3-
title: Archive: CC Technical Blog (2007-2014)

models/blog-categories.ini

-4
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,3 @@ protected = yes
77
[children]
88
model = blog-category
99
order_by = name
10-
11-
[fields.title]
12-
label = Title
13-
type = string

templates/blog-categories.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{% extends "layout.html" %}
22
{% from "macros/categories.html" import render_categories %}
33
{% block title %}{{ this.title }}{% endblock %}
4-
{% block header %}{{ this.title }}{% endblock %}
4+
{% block header %}{{ this.parent.children.get('entries').title }}{% endblock %}
55
{% block body %}
66
<h2>Categories</h2>
77
{{ render_categories(this) }}

0 commit comments

Comments
 (0)