-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathpost-date.html
More file actions
35 lines (35 loc) · 1.84 KB
/
post-date.html
File metadata and controls
35 lines (35 loc) · 1.84 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{% assign m = include.date | date: "%-m" %}
{{ include.date | date: "%-d" }}
{% unless include.lang == 'en' %}
{% case m %}
{% when '1' %}{% if include.short %}sty{% else %}stycznia{% endif %}
{% when '2' %}{% if include.short %}lut{% else %}lutego{% endif %}
{% when '3' %}{% if include.short %}mar{% else %}marca{% endif %}
{% when '4' %}{% if include.short %}kwi{% else %}kwietnia{% endif %}
{% when '5' %}{% if include.short %}maj{% else %}maja{% endif %}
{% when '6' %}{% if include.short %}cze{% else %}czerwca{% endif %}
{% when '7' %}{% if include.short %}lip{% else %}lipca{% endif %}
{% when '8' %}{% if include.short %}sie{% else %}sierpnia{% endif %}
{% when '9' %}{% if include.short %}wrz{% else %}września{% endif %}
{% when '10' %}{% if include.short %}paź{% else %}października{% endif %}
{% when '11' %}{% if include.short %}lis{% else %}listopada{% endif %}
{% when '12' %}{% if include.short %}gru{% else %}grudnia{% endif %}
{% endcase %}
{% endunless %}
{% if include.lang == 'en' %}
{% case m %}
{% when '1' %}{% if include.short %}Jan{% else %}January{% endif %}
{% when '2' %}{% if include.short %}Feb{% else %}February{% endif %}
{% when '3' %}{% if include.short %}Mar{% else %}March{% endif %}
{% when '4' %}{% if include.short %}Apr{% else %}April{% endif %}
{% when '5' %}{% if include.short %}May{% else %}May{% endif %}
{% when '6' %}{% if include.short %}Jun{% else %}June{% endif %}
{% when '7' %}{% if include.short %}Jul{% else %}July{% endif %}
{% when '8' %}{% if include.short %}Aug{% else %}August{% endif %}
{% when '9' %}{% if include.short %}Sep{% else %}September{% endif %}
{% when '10' %}{% if include.short %}Oct{% else %}October{% endif %}
{% when '11' %}{% if include.short %}Nov{% else %}November{% endif %}
{% when '12' %}{% if include.short %}Dec{% else %}December{% endif %}
{% endcase %}
{% endif %}
{{ include.date | date: "%Y" }}