Add a bunch more blog stuff and templates
This commit is contained in:
parent
a67ac803b3
commit
2a815643c0
16 changed files with 161 additions and 23 deletions
|
@ -1,6 +1,6 @@
|
|||
{% extends "base.html" %}
|
||||
|
||||
{% block content %}
|
||||
<h1>404, page not found</h1>
|
||||
<h1 class="blocktitle">404, page not found</h1>
|
||||
<p>lost? you can always return <a href="/">home</a>.</p>
|
||||
{% endblock content %}
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
{% block content %}
|
||||
<div class="post">
|
||||
<h1 class="post-title">all tags</h1>
|
||||
<h1 class="blocktitle">all authors</h1>
|
||||
|
||||
<ul>
|
||||
{% for term in terms %}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{% extends "base.html" %}
|
||||
|
||||
{% block content %}
|
||||
<h2>
|
||||
<h2 class="blocktitle">
|
||||
author: {{ term.name }}
|
||||
({{ term.pages | length }} post{{ term.pages | length | pluralize }})
|
||||
</h2>
|
||||
|
|
|
@ -1,5 +1,9 @@
|
|||
<strong class="subtitle">
|
||||
written: {{ page.date }}
|
||||
written: {{ page.date | date(format="%Y-%m-%d at %l:%M:%S%p EST") }}
|
||||
{%- if page.updated %}
|
||||
<br>
|
||||
modified: {{ page.updated | date(format="%Y-%m-%d at %l:%M:%S%p EST") }}
|
||||
{%- endif -%}
|
||||
<br>
|
||||
authors: {%- for tag in page.taxonomies.authors | sort | unique(case_sensitive=false) %}
|
||||
<a class="post-author" href="{{ get_taxonomy_url(kind='authors', name=tag) | safe }}">{{ tag }}</a>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{% extends "base.html" %}
|
||||
|
||||
{% block content %}
|
||||
<h1 class="title">
|
||||
<h1 class="blocktitle">
|
||||
{{ page.title }}
|
||||
</h1>
|
||||
<p class="subtitle">
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{% extends "base.html" %}
|
||||
|
||||
{% block content %}
|
||||
<h1 class="title">
|
||||
<h1 class="blocktitle">
|
||||
{{ section.title }}
|
||||
</h1>
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{% extends "base.html" %}
|
||||
|
||||
{% block content %}
|
||||
<h1 class="title">
|
||||
<h1 class="blocktitle">
|
||||
{{ section.title }}
|
||||
</h1>
|
||||
{{ section.content | safe }}
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
{% block content %}
|
||||
<div class="post">
|
||||
<h1 class="post-title">all tags</h1>
|
||||
<h1 class="blocktitle">all tags</h1>
|
||||
|
||||
<ul>
|
||||
{% for term in terms %}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{% extends "base.html" %}
|
||||
|
||||
{% block content %}
|
||||
<h2>
|
||||
<h2 class="blocktitle">
|
||||
tag: {{ term.name }}
|
||||
({{ term.pages | length }} post{{ term.pages | length | pluralize }})
|
||||
</h2>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue