Skip to content

Commit 6307119

Browse files
committed
Code style fixes and blog name updates on authors page.
1 parent 059d64b commit 6307119

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

templates/author.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{% extends "layout.html" %}
22
{% from "macros/authors.html" import render_blog_list %}
33
{% block title %}{{ this.name }}{% endblock %}
4-
{% block header %}CC Technical Blog Archives{% endblock %}
4+
{% block header %}Archive: CC Technical Blog (2007-2014){% endblock %}
55
{% block body %}
66
<h2>Blog Posts by {{ this.name }}</h2>
7-
{{ render_blog_list(this.children) }}
7+
{{ render_blog_list(this.children) }}
88
<hr>
99
<strong><a href="/blog/authors">All Authors</a></strong>
1010
{% endblock %}

templates/authors.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{% extends "layout.html" %}
22
{% from "macros/authors.html" import render_authors %}
33
{% block title %}Authors{% endblock %}
4-
{% block header %}CC Technical Blog Archives{% endblock %}
4+
{% block header %}Archive: CC Technical Blog (2007-2014){% endblock %}
55
{% block body %}
66
<h1>Authors</h1>
77
{{ render_authors() }}

templates/macros/authors.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
{% macro render_authors() %}
22
<ul>
33
{% for author in site.query('/authors') %}
4-
<li><a href="{{ author|url }}">{{ author.name }}</a></li>
4+
<li><a href="{{ author|url }}">{{ author.name }}</a></li>
55
{% endfor %}
66
</ul>
77
{% endmacro %}
88

99
{% macro render_blog_list(blogs) %}
1010
<ul>
1111
{% for blog in blogs %}
12-
<li><a href="{{ blog|url }}">{{ blog.title }}</a></li>
12+
<li><a href="{{ blog|url }}">{{ blog.title }}</a></li>
1313
{% endfor %}
1414
</ul>
1515
{% endmacro %}

0 commit comments

Comments
 (0)