22 lines
596 B
HTML
22 lines
596 B
HTML
|
|
{% assign d = post.date | date: "%-d" %}
|
|
{% case d %}
|
|
{% when '1' or '21' or '31' %}{{ d }}:st
|
|
{% when '2' or '22' %}{{ d }}:nd
|
|
{% when '3' or '23' %}{{ d }}:rd
|
|
{% else %}{{ d }}:th
|
|
{% endcase %} of
|
|
{% assign m = post.date | date: "%-m" %}
|
|
{% case m %}
|
|
{% when '1' %}January
|
|
{% when '2' %}February
|
|
{% when '3' %}March
|
|
{% when '4' %}April
|
|
{% when '5' %}May
|
|
{% when '6' %}June
|
|
{% when '7' %}July
|
|
{% when '8' %}August
|
|
{% when '9' %}September {% when '10' %}October {% when '11' %}November {% when '12' %}December
|
|
{% endcase %}
|
|
{{ post.date | date: "%Y" }}
|