Skip to content

Commit 0603d8e

Browse files
authored
Merge pull request creativecommons#460 from creativecommons/update_title
add title blocks to all the templates
2 parents deb9831 + 6c1511b commit 0603d8e

14 files changed

+28
-0
lines changed

themes/vocabulary_theme/templates/author.html

+2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
{% from "macros/author_posts.html" import render_author_posts %}
44
{% from "macros/author_name.html" import render_author_name %}
55

6+
{% block title %}{{ render_author_name(this) }}{% endblock %}
7+
68
{% block body %}
79
<div class="author-posts">
810
<div class="header">

themes/vocabulary_theme/templates/authors.html

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
{% from "macros/authors.html" import render_authors %}
44

5+
{% block title %} Authors {% endblock %}
6+
57
{% block body %}
68
<div class="all-authors">
79
<div class="header">

themes/vocabulary_theme/templates/blog-categories.html

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
{% from "macros/categories.html" import render_categories %}
44

5+
{% block title %}Categories{% endblock %}
6+
57
{% block body %}
68
<div class="all-categories">
79
<div class="header">

themes/vocabulary_theme/templates/blog-category.html

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
{% from "macros/posts.html" import render_posts %}
44

5+
{% block title %}{{ this.name }}{% endblock %}
6+
57
{% block body %}
68
<div class="all-categories">
79
<div class="header">

themes/vocabulary_theme/templates/blog-post.html

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
{% from "macros/posts.html" import render_posts %}
66

7+
{% block title %}{{ this.title }}{% endblock %}
8+
79
{% set author = this.parent.parent.children.get('authors').children.get(this.author) %}
810

911
{% block body %}

themes/vocabulary_theme/templates/blog-series-list.html

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
{% from "macros/series.html" import render_series %}
44

5+
{% block title %}All Series{% endblock %}
6+
57
{% block body %}
68
<div class="all-series">
79
<div class="header">

themes/vocabulary_theme/templates/blog-series.html

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
{% from "macros/posts.html" import render_posts %}
44

5+
{% block title %}{{ this.name }}{% endblock %}
6+
57
{% block body %}
68
<div class="all-series">
79
<div class="header">

themes/vocabulary_theme/templates/blog.html

+2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
{% from "macros/pagination.html" import render_pagination %}
44
{% from "macros/posts.html" import render_posts %}
55

6+
{% block title %}{{ this.title }}{% endblock %}
7+
68
{% block body %}
79
<div class="blog-page">
810
<div class="header">

themes/vocabulary_theme/templates/cc-search-guide.html

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
{% extends "layout.html" %}
22

3+
{% block title %}{{ this.title }}{% endblock %}
4+
35
{% block body %}
46
<div class="cc-search-guide">
57
<header class="header">

themes/vocabulary_theme/templates/community_team_list.html

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
{% extends "layout.html" %}
22

3+
{% block title %}{{ this.title }}{% endblock %}
4+
35
{% block body %}
46
<div>
57
<div class="header">

themes/vocabulary_theme/templates/page-with-toc.html

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
{% extends "layout.html" %}
22

3+
{% block title %}{{ this.title }}{% endblock %}
4+
35
{% block body %}
46
<div class="code-guidelines">
57
<header class="header">

themes/vocabulary_theme/templates/project-ideas.html

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
{% extends "layout.html" %}
22

3+
{% block title %}Open Source Internships: Project Ideas{% endblock %}
4+
35
{% block body %}
46
<div class="project-ideas">
57
<div class="header">

themes/vocabulary_theme/templates/project_list.html

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
{% extends "layout.html" %}
2+
23
{% block title %}{{ this.title }}{% endblock %}
4+
35
{% block body %}
46
<div class="project-list">
57
<div class="header">

themes/vocabulary_theme/templates/search_roadmap.html

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
{% extends "layout.html" %}
22

3+
{% block title %}{{ this.title }}{% endblock %}
4+
35
{% block body %}
46
<div class="cc-search-roadmap">
57
<div class="header">

0 commit comments

Comments
 (0)