Skip to content

Commit

Permalink
Update archive-single.html
Browse files Browse the repository at this point in the history
  • Loading branch information
szz34 authored Sep 6, 2024
1 parent 39e267d commit 664649c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion _includes/archive-single.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,10 @@ <h2 class="archive__item-title" itemprop="headline">
<p> {{ post.type }}, <i>{{ post.venue }}</i>, {{ post.date | default: "1900-01-01" | date: "%Y" }} </p>
{% elsif post.collection == 'publications' %}
<p>Published in <i>{{ post.venue }}</i>, {{ post.date | default: "1900-01-01" | date: "%Y" }} </p>
{%- comment -%}
{% elsif post.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="{{ post.date | default: "1900-01-01" | date_to_xmlschema }}">{{ post.date | default: "1900-01-01" | date: "%B %d, %Y" }}</time></p>
<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="{{ post.date | default: "1900-01-01" | date_to_xmlschema }}">{{ post.date | default: "1900-01-01" | date: "%B %d, %Y" }}</time></p>
{%- endcomment -%}
{% endif %}

{% if post.excerpt and site.read_more != 'enabled' %}
Expand Down

0 comments on commit 664649c

Please sign in to comment.