Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds support for preview images for publications #730

Merged
merged 11 commits into from
Jul 3, 2022
Prev Previous commit
Next Next commit
Update size
  • Loading branch information
rohandebsarkar committed Jun 27, 2022
commit 9c3420774174a426d62fbdd266fd178f0e7a9fd3
2 changes: 1 addition & 1 deletion _layouts/bib.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
---
<!-- _layouts/bib.html -->
<div class="row">
<div class="col-sm-2 {% if entry.teaser %} teaser{% else %} abbr{% endif %}">
<div class="col-sm-3 {% if entry.teaser %} teaser{% else %} abbr{% endif %}">
{%- if entry.teaser -%}
{% if entry.teaser contains '://' -%}
<img class="teaser" src="{{ entry.teaser }}">
Expand Down
1 change: 1 addition & 0 deletions _sass/_base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -467,6 +467,7 @@ footer.sticky-bottom {
.abbr {
height: 2rem;
margin-bottom: 0.5rem;
font-size: large;
rohandebsarkar marked this conversation as resolved.
Show resolved Hide resolved
abbr {
display: inline-block;
background-color: var(--global-theme-color);
Expand Down