Skip to content

Change how date is displayed on teaching page? #2844

Answered by rjzupkoii
nwarford asked this question in Q&A
Discussion options

You must be logged in to vote

In _includes/archivbe-single.html look for the following (lines 41 to 47):

        {% if post.collection == 'teaching' %}
          <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>
        {% 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 | …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@nwarford
Comment options

Answer selected by nwarford
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants