diff options
Diffstat (limited to '_includes/ordinal.html')
-rw-r--r-- | _includes/ordinal.html | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/_includes/ordinal.html b/_includes/ordinal.html new file mode 100644 index 0000000..690ef57 --- /dev/null +++ b/_includes/ordinal.html @@ -0,0 +1,4 @@ +{% if ordinalize == "1" or ordinalize == "21" or ordinalize == "31" %}st +{% elsif ordinalize == "2" or ordinalize == "22" %}nd +{% elsif ordinalize == "3" or ordinalize == "23" %}rd +{% else %}th{% endif %} |