Skip to content

Commit baa66a8

Browse files
committed
Addressing #1095, step 1: Link symbols (conditional)
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]>
1 parent af05526 commit baa66a8

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

_includes/news/conferences.html

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,12 @@ <h2 class="mb-3 mt-4"><small><i class="fa {{include.icon}} me-1"></i> {% t inclu
77
<div class="d-flex w-100 justify-content-between">
88
<div class="d-flex w-75 flex-column justify-content-start position-relative">
99
<h5 style="font-size:.875em">{{item.event}}</h5>
10-
<a href="{{item.link}}" target="_blank" class="mb-1 text-decoration-none text-body stretched-link">{{item.title}}</a>
10+
{% if item.link %}
11+
<a href="{{item.link}}" target="_blank" class="mb-1 text-decoration-none text-body stretched-link">
12+
<i class="fa fa-link my-auto"></i> {{item.title}}</a>
13+
{% else %}
14+
{{item.title}}
15+
{% endif %}
1116
{% if item.details %}<p class="mb-1 small fw-light">— {{item.details}}</p>{% endif %}
1217
</div>
1318
<div class="d-flex w-25 flex-column justify-content-start text-end position-relative">

0 commit comments

Comments
 (0)