We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d926927 commit 3f51a5cCopy full SHA for 3f51a5c
_layouts/single.html
@@ -34,7 +34,7 @@
34
<p class="page__date"><strong><i class="fa fa-fw fa-calendar" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].date_label | default: "Published:" }}</strong> <time datetime="{{ page.modified | date: "%Y-%m-%d" }}">{{ page.modified | date: "%B %d, %Y" }}</time></p>
35
{% elsif page.venue and page.date %}
36
<p>Published in <i>{{ page.venue }}</i>, {{ page.date | date: "%Y" }} </p>
37
- {% elsif page.date %}
+ {% elsif page.date != "nil" %}
38
<p class="page__date"><strong><i class="fa fa-fw fa-calendar" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].date_label | default: "Published:" }}</strong> <time datetime="{{ page.date | date_to_xmlschema }}">{{ page.date | date: "%B %d, %Y" }}</time></p>
39
{% endif %}
40
0 commit comments