Skip to content

Commit

Permalink
Addressing #1095, step 1: Link symbols (conditional)
Browse files Browse the repository at this point in the history
Some Conference contribution entries have a link, some not.
(Most should!)
The ones that do support clicking on the item to jump to it.
The ones that don't have an empty link, resulting in the browser to
reload the current page. Mouse over is the only way to fint out for
users that I'm aware of.

Change two thing:
- Avoid empty links.
- Add a link symbol if we do have a link.

Signed-off-by: Kurt Garloff <[email protected]>
  • Loading branch information
garloff committed Jan 30, 2025
1 parent af05526 commit baa66a8
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion _includes/news/conferences.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,12 @@ <h2 class="mb-3 mt-4"><small><i class="fa {{include.icon}} me-1"></i> {% t inclu
<div class="d-flex w-100 justify-content-between">
<div class="d-flex w-75 flex-column justify-content-start position-relative">
<h5 style="font-size:.875em">{{item.event}}</h5>
<a href="{{item.link}}" target="_blank" class="mb-1 text-decoration-none text-body stretched-link">{{item.title}}</a>
{% if item.link %}
<a href="{{item.link}}" target="_blank" class="mb-1 text-decoration-none text-body stretched-link">
<i class="fa fa-link my-auto"></i> {{item.title}}</a>
{% else %}
{{item.title}}
{% endif %}
{% if item.details %}<p class="mb-1 small fw-light">— {{item.details}}</p>{% endif %}
</div>
<div class="d-flex w-25 flex-column justify-content-start text-end position-relative">
Expand Down

0 comments on commit baa66a8

Please sign in to comment.