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

View File

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

View File

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

View File

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

View File

@ -35,11 +35,11 @@
<ul class=page-meta> <ul class=page-meta>
{% if this.type == 'method' %} {% 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' %} {% 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' %} {% elif this.type == 'operator' %}
<li>Operator of {{ get_doc_link(this.parent) }} <li>Operator of {{ get_doc_link(this.parent) }}</li>
{% endif %} {% endif %}
{% if this.template_var %} {% if this.template_var %}
<li>Template variable: <a href="{{ ( <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 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 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. ensuring this list stays up to date by carefully moderating it.
</p>
<p> <p>
Click any of the showcases to learn a bit more about how it uses Lektor. Click any of the showcases to learn a bit more about how it uses Lektor.
</p>
<div class="showcase row"> <div class="showcase row">
{% for project in this.children %} {% for project in this.children %}
<div class="project col-md-6"> <div class="project col-md-6">
@ -33,4 +35,5 @@
href="https://github.com/lektor/lektor-website/tree/master/content/showcase">Fork 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 the Lektor Website Repository on GitHub</a> to add your own project. Make sure to
add screenshots and a description about the project.</small> add screenshots and a description about the project.</small>
</p>
{% endblock %} {% endblock %}