|
|
@@ -1,3 +1,4 @@ |
|
|
|
{% from "macros.j2" import itemurl %} |
|
|
|
{% from "macros.j2" import slug %} |
|
|
|
{% extends "base.j2" %} |
|
|
|
|
|
|
@@ -6,7 +7,7 @@ |
|
|
|
{% mark post -%} |
|
|
|
<article class="post"> |
|
|
|
|
|
|
|
<h1><a name="{{ slug(resource) }}-title" class="no-tufte-underline" href="{{ resource.url ~"#"~slug(resource)~"-title" }}">{{ resource.meta.title }}</a></h1> |
|
|
|
<h1><a name="{{ slug(resource) }}-title" class="no-tufte-underline" href="{{ itemurl(resource) }}">{{ resource.meta.title }}</a></h1> |
|
|
|
|
|
|
|
<p class="posted">Posted: {{ resource.meta.created.strftime('%B %e, %Y') }} at {{ resource.meta.time }}</p> |
|
|
|
|
|
|
@@ -35,7 +36,7 @@ |
|
|
|
<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) ~ "#" ~ slug(resource.prev_by_time) ~ "-title" }}"{% endif %}> |
|
|
|
href="{{ itemurl(resource.prev_by_time) }}"{% endif %}> |
|
|
|
Next |
|
|
|
</a> |
|
|
|
| |
|
|
@@ -44,7 +45,7 @@ |
|
|
|
<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) ~ "#" ~ slug(resource.next_by_time) ~ "-title" }}"{% endif %}> |
|
|
|
href="{{ itemurl(resource.next_by_time) }}"{% endif %}> |
|
|
|
Previous |
|
|
|
</a> |
|
|
|
</span> |
|
|
|