You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- {% from "macros.j2" import render with context %}
- {% extends "base.j2" %}
-
- {% block main -%}
-
- {% mark post -%}
- <article class="post">
-
- <h1><a class="no-tufte-underline" href="{{ resource.url }}">{{ resource.meta.title }}</a></h1>
-
- <p class="posted">Posted: {{ resource.meta.created.strftime('%B %e, %Y') }} at {{ resource.meta.time }}</p>
-
- {% if resource.meta.tags %}
- <ul class="tags clear">
- {% for tag in resource.meta.tags %}
- <li>
- <a class="small" href="{{ content_url('search/label/'~tag~'.html') }}">
- {{ tag }}
- </a>
- </li>
- {% endfor %}
- </ul>
- {% endif %}
- <div class="clear"/>
- <section>
- {% filter markdown|typogrify|rellinktoabs -%}
- {% block post -%}{%- endblock %}
- {%- endfilter %}
- </section>
- </article>
- {%- endmark %}
- <section>
- <p class='prevnext'>
- <span class="small">
- <a class="prev{{' disabled' if not resource.prev_by_time }}"
- title="{{ resource.prev_by_time.meta.title }}"
- {% if resource.prev_by_time %}
- href="{{ content_url(resource.prev_by_time.url) }}"{% endif %}>
- Next
- </a>
- |
- <a href="{{ content_url('/') }}">Home</a>
- |
- <a class="next{{' disabled' if not resource.next_by_time }}"
- title="{{ resource.next_by_time.meta.title }}"
- {% if resource.next_by_time %}
- href="{{ content_url(resource.next_by_time.url) }}"{% endif %}>
- Previous
- </a>
- </span>
- </div>
- </section>
-
- {%- endblock %}
|