Close tags in site templates.

This commit is contained in:
A. Jesse Jiryu Davis 2016-01-10 15:50:24 -05:00
parent d2be4c8c42
commit 7215009f1c
6 changed files with 15 additions and 7 deletions

View File

@ -4,11 +4,13 @@
<h1>The Transcript Archive</h1>
<p>
<a href="{{ '/blog'|url }}">&laquo; back to the blog</a>
</p>
<p>
There have been posts in the following years:
</p>
<ul>
{% for archive in this.year_archives %}
<li><a href="{{ archive|url }}">{{ archive.year }}</a>
<li><a href="{{ archive|url }}">{{ archive.year }}</a></li>
{% endfor %}
</ul>
{% endblock %}

View File

@ -2,7 +2,7 @@
{% block title %}{{ this.date|dateformat('MMMM yyyy') }} Archive | The Transcript{% endblock %}
{% block blog_body %}
<h1>The Transcript, {{ this.date|dateformat('MMMM yyyy') }}</h1>
<p>
<p></p>
<a href="{{ '..'|url }}">&laquo; Back to {{ this.year }}</a>
<ul>
{% for post in this.items %}

View File

@ -4,6 +4,7 @@
<h1>The Transcript in {{ this.year }}</h1>
<p>
<a href="{{ '..'|url }}">&laquo; Back to the archive</a>
</p>
<ul>
{% for archive, items in this.items_by_months %}
<li><a href="{{ archive|url }}">{{ archive.date|dateformat('MMMM') }}</a>:
@ -11,6 +12,7 @@
{% for post in items %}
<li><a href="{{ post|url }}">{{ post.title }}</a> by {{ post.author }}
on {{ post.pub_date|dateformat }}
</li>
{% endfor %}
</ul>
{% endfor %}

View File

@ -20,9 +20,10 @@
<p>
Subscribe for the latest news about Lektor as well as content
management and web development.
</p>
<ul>
<li><a href="{{ '@atom/transcript'|url }}">RSS Feed</a>
<li><a href="https://twitter.com/getlektor">Follow us on Twitter</a>
<li><a href="{{ '@atom/transcript'|url }}">RSS Feed</a></li>
<li><a href="https://twitter.com/getlektor">Follow us on Twitter</a></li>
</ul>
<h3>Missed a Post?</h3>
<ul>

View File

@ -35,11 +35,11 @@
<ul class=page-meta>
{% if this.type == 'method' %}
<li>Method of {{ get_doc_link(this.parent) }}
<li>Method of {{ get_doc_link(this.parent) }}</li>
{% elif this.type == 'property' %}
<li>Property of {{ get_doc_link(this.parent) }}
<li>Property of {{ get_doc_link(this.parent) }}</li>
{% elif this.type == 'operator' %}
<li>Operator of {{ get_doc_link(this.parent) }}
<li>Operator of {{ get_doc_link(this.parent) }}</li>
{% endif %}
{% if this.template_var %}
<li>Template variable: <a href="{{ (

View File

@ -13,8 +13,10 @@
Want to see what Lektor is used for? This should give you a brief overview
of what projects are built on the basis of Lektor. We take good care of
ensuring this list stays up to date by carefully moderating it.
</p>
<p>
Click any of the showcases to learn a bit more about how it uses Lektor.
</p>
<div class="showcase row">
{% for project in this.children %}
<div class="project col-md-6">
@ -33,4 +35,5 @@
href="https://github.com/lektor/lektor-website/tree/master/content/showcase">Fork
the Lektor Website Repository on GitHub</a> to add your own project. Make sure to
add screenshots and a description about the project.</small>
</p>
{% endblock %}