Add some better logic to the resizing, add a better contacts page. sidebar hiding still in the works
This commit is contained in:
parent
d8893f0463
commit
67de08a5b8
19 changed files with 180 additions and 99 deletions
|
@ -1,27 +1,17 @@
|
|||
{% extends "base.html" %}
|
||||
|
||||
{% block content %}
|
||||
<h1 class="title">
|
||||
{{ section.title }}
|
||||
</h1>
|
||||
|
||||
<p class="larger">sort by <a href="/tags">tags</a>.</p>
|
||||
|
||||
<ul>
|
||||
<!-- If you are using pagination, section.pages will be empty.
|
||||
You need to use the paginator object -->
|
||||
{% for page in section.pages %}
|
||||
<li>
|
||||
<a href="{{ page.permalink | safe }}">{{ page.title }}</a> - by {{ page.authors }}
|
||||
<br>
|
||||
{{ page.description }}
|
||||
<br>
|
||||
written: {{ page.date }}
|
||||
<br>
|
||||
tags: {%- for tag in page.taxonomies.tags | sort | unique(case_sensitive=false) %}
|
||||
<a class="post-tag" href="{{ get_taxonomy_url(kind='tags', name=tag) | safe }}">#{{ tag }}</a>
|
||||
{% endfor -%}
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
<h1 class="title">
|
||||
{{ section.title }}
|
||||
</h1>
|
||||
|
||||
<p class="larger">sort by <a href="/tags">tags</a>.</p>
|
||||
|
||||
<ul>
|
||||
<!-- If you are using pagination, section.pages will be empty.
|
||||
You need to use the paginator object -->
|
||||
{% for page in section.pages %}
|
||||
{% include "blog-entry.html" %}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endblock content %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue