Skip to content

Commit

Permalink
Update publication_item.html
Browse files Browse the repository at this point in the history
  • Loading branch information
luost26 committed Oct 10, 2024
1 parent bd893aa commit bac4c66
Showing 1 changed file with 21 additions and 18 deletions.
39 changes: 21 additions & 18 deletions _includes/widgets/publication_item.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,24 +28,27 @@ <h5 class="mt-0 mb-1 font-weight-normal">{{ item.title }}</h5>
</div>
</div>

<div class="row no-gutters d-md-none {% unless include.hide_bottom_border %}border-bottom{% endunless %} border-gray {% if include.first %}rounded-top{% endif %} {% if include.last %}rounded-bottom{% endif %} {% if item.cover %}lazy{% endif %}" data-src="{{ item.cover | relative_url }}" style="background-color: rgba(255,255,255,0.9); background-blend-mode: lighten;">
<div class="d-flex align-items-start flex-column py-3 px-4">
<div class="mb-auto"></div>
<div>
<h5 class="mt-0 mb-1 font-weight-normal">{{ item.title }}</h5>
<p class="mt-0 mb-0 small">{% include widgets/author_list.html authors=item.authors %}</p>
<p class="mt-0 mb-0 small">{{item.pub_pre}}<i>{{ item.pub }}</i>{{ item.pub_post }} {{ item.pub_date }} {{ item.pub_last }}</p>
<p class="mt-0 mb-0 small text-muted">{{ item.abstract }}</p>

<p class="small pb-0 mb-0 lh-125 text-muted abstract-links">
{% for link in item.links %}
{% if link[1].url %}
<a target="{{ link[1]['target'] }}" href="{{ link[1]['url'] }}">[{{ link[0] }}]</a>
{% else %}
<a target="_blank" href="{{ link[1] }}">[{{ link[0] }}]</a>
{% endif %}
{% endfor %}
</p>
<div class="row no-gutters d-md-none {% unless include.hide_bottom_border %}border-bottom{% endunless %} border-gray {% if include.first %}rounded-top{% endif %} {% if include.last %}rounded-bottom{% endif %} {% if item.cover %}lazy{% endif %}" data-src="{{ item.cover | relative_url }}">
<div style="background-color: rgba(255,255,255,0.9);">
<div class="d-flex align-items-start flex-column py-3 px-4">
<div class="mb-auto"></div>
<div>
<h5 class="mt-0 mb-1 font-weight-normal">{{ item.title }}</h5>
<p class="mt-0 mb-0 small">{% include widgets/author_list.html authors=item.authors %}</p>
<p class="mt-0 mb-0 small">{{item.pub_pre}}<i>{{ item.pub }}</i>{{ item.pub_post }} {{ item.pub_date }} {{ item.pub_last }}</p>
<p class="mt-0 mb-0 small text-muted">{{ item.abstract }}</p>

<p class="small pb-0 mb-0 lh-125 text-muted abstract-links">
{% for link in item.links %}
{% if link[1].url %}
<a target="{{ link[1]['target'] }}" href="{{ link[1]['url'] }}">[{{ link[0] }}]</a>
{% else %}
<a target="_blank" href="{{ link[1] }}">[{{ link[0] }}]</a>
{% endif %}
{% endfor %}
</p>
</div>
</div>
</div>

</div>

0 comments on commit bac4c66

Please sign in to comment.