Commit adc2cab8 authored by tron's avatar tron
Browse files

Fix Date error on path/to/news

parent 59450ceb
Pipeline #24697 passed with stage
in 13 minutes and 44 seconds
......@@ -38,6 +38,9 @@
<!-- Change Meta -->
{% if i.enddate %}
{% capture meta %}{{ i.startdate | date:"%Y" }} &ndash; {{ i.enddate | date:"%Y" }}{% endcapture %}
{% elsif i.eventdate %}
{% assign date_t = i.date | date_to_string %}
{% capture meta %}{{ date_t }}{% endcapture %}
{% else %}
{% capture meta %}Since {{ i.startdate | date:"%Y" }}{% endcapture %}
{% endif %}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment