From 987d827d15986a9d502d05c10b68ae57aa1197da Mon Sep 17 00:00:00 2001 From: Alex Hoffman Date: Sat, 4 Nov 2023 22:26:28 -0400 Subject: [PATCH] changed how publications were presented so that in prep work looks ok --- _includes/archive-single.html | 64 ++++++++++++++++++----------------- 1 file changed, 33 insertions(+), 31 deletions(-) diff --git a/_includes/archive-single.html b/_includes/archive-single.html index 25784719eb271..c7d45d577b265 100644 --- a/_includes/archive-single.html +++ b/_includes/archive-single.html @@ -1,64 +1,66 @@ {% include base_path %} {% if post.header.teaser %} - {% capture teaser %}{{ post.header.teaser }}{% endcapture %} +{% capture teaser %}{{ post.header.teaser }}{% endcapture %} {% else %} - {% assign teaser = site.teaser %} +{% assign teaser = site.teaser %} {% endif %} {% if post.id %} - {% assign title = post.title | markdownify | remove: "

" | remove: "

" %} +{% assign title = post.title | markdownify | remove: "

" | remove: "

" %} {% else %} - {% assign title = post.title %} +{% assign title = post.title %} {% endif %} -
+
{% if include.type == "grid" and teaser %} -
- -
+
+ +
{% endif %}

{% if post.link %} - {{ title }} Permalink + {{ title }} Permalink {% else %} - {{ title }} + {{ title }} {% endif %}

- + {% if post.read_time %} -

{% include read-time.html %}

+

{% include read-time.html %}

{% endif %} - {% if post.collection == 'teaching' %} -

{{ post.type }}, {{ post.venue }}, {{ post.date | default: "1900-01-01" | date: "%Y" }}

- {% elsif post.collection == 'publications' %} -

Published in {{ post.venue }}, {{ post.date | default: "1900-01-01" | date: "%Y" }}

- {% elsif post.date %} -

{{ site.data.ui-text[site.locale].date_label | default: "Published:" }}

- {% endif %} + {% if post.collection == 'teaching' %} +

{{ post.type }}, {{ post.venue }}, {{ post.date | default: "1900-01-01" | date: "%Y" }}

+ {% elsif post.collection == 'publications' %} +

{{ post.venue }}, {{ post.date | default: "1900-01-01" | date: "%Y" }}

+ {% elsif post.date %} +

{{ + site.data.ui-text[site.locale].date_label | default: "Published:" }}

+ {% endif %} {% if post.excerpt and site.read_more != 'enabled' %}

{{ post.excerpt | markdownify }}

{% elsif post.excerpt and site.read_more == 'enabled' %} -

{{ post.excerpt | markdownify | remove: '

' | remove: '

' }} Read more

+

+

{{ post.excerpt | markdownify | remove: ' +

' | remove: '

' }} Read more

+

{% endif %} - + {% if post.citation and post.paperurl %} -

Recommended citation: {{ post.citation }} {{ post.paperurl }}

+

Recommended citation: {{ post.citation }} {{ post.paperurl }}

{% elsif post.citation %} -

Recommended citation: {{ post.citation }}

+

Recommended citation: {{ post.citation }}

{% elsif post.paperurl %} -

Download here

+

Download here

{% endif %}
-
+
\ No newline at end of file