summaryrefslogtreecommitdiff
path: root/_includes/postmeta.html
diff options
context:
space:
mode:
Diffstat (limited to '_includes/postmeta.html')
-rw-r--r--_includes/postmeta.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/_includes/postmeta.html b/_includes/postmeta.html
index 7308a07..45241e1 100644
--- a/_includes/postmeta.html
+++ b/_includes/postmeta.html
@@ -1,3 +1,4 @@
+{% assign node=include.node %}
<p>
<small>
Posted by
@@ -7,8 +8,7 @@
{{ node.author }}
{% endif %}
- {% assign ordinalize=node.date | date: "%-d" %}
- on {{ node.date | date: "%B %-d" }}<sup>{% include ordinal.html %}</sup>
+ on {{ node.date | date: "%B %-d" }}<sup>{% include ordinal.html ordinalize=node.date | date: "%-d" %}</sup>
{{ node.date | date: "%Y" }}
</small>
</p>