Skip to content

Commit

Permalink
Update single.html
Browse files Browse the repository at this point in the history
  • Loading branch information
szz34 authored Sep 6, 2024
1 parent 3522fde commit adbc1fc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions _layouts/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,11 @@
<p> {{ page.type }}, <i>{{ page.venue }}</i>, {{ page.date | default: "1900-01-01" | date: "%Y" }} </p>
{% elsif page.venue and page.date %}
<p>Published in <i>{{ page.venue }}</i>, {{ page.date | default: "1900-01-01" | date: "%Y" }} </p>
{%- comment -%}
{% elsif page.date %}
<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 | default: "1900-01-01" | date: "%B %d, %Y" }}</time></p>
{% endif %}
{%- endcomment -%}
</header>
{% endunless %}

Expand Down

0 comments on commit adbc1fc

Please sign in to comment.