summaryrefslogtreecommitdiff
path: root/_includes/ordinal.html
diff options
context:
space:
mode:
Diffstat (limited to '_includes/ordinal.html')
-rw-r--r--_includes/ordinal.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/_includes/ordinal.html b/_includes/ordinal.html
index 690ef57..c942963 100644
--- a/_includes/ordinal.html
+++ b/_includes/ordinal.html
@@ -1,3 +1,4 @@
+{% assign ordinalize=include.ordinalize %}
{% if ordinalize == "1" or ordinalize == "21" or ordinalize == "31" %}st
{% elsif ordinalize == "2" or ordinalize == "22" %}nd
{% elsif ordinalize == "3" or ordinalize == "23" %}rd