Skip to content

Commit 7dc094f

Browse files
dfuchssCopilot
andauthored
Update _layouts/publication.liquid
Co-authored-by: Copilot <[email protected]>
1 parent 5577e2f commit 7dc094f

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

_layouts/publication.liquid

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -103,16 +103,9 @@ layout: default
103103
{% else %}
104104
{% comment %} Single link {% endcomment %}
105105
{% assign link = links[0] %}
106-
{% if link.name contains 'Slides' %}
107-
{% comment %} For single slide links, just display the full name as-is {% endcomment %}
108-
<li>
109-
<a href="{{ link.url }}">{{ link.name }}</a>
110-
</li>
111-
{% else %}
112-
<li>
113-
<a href="{{ link.url }}">{{ link.name }}</a>
114-
</li>
115-
{% endif %}
106+
<li>
107+
<a href="{{ link.url }}">{{ link.name }}</a>
108+
</li>
116109
{% endif %}
117110
{% endfor %}
118111
</ul>

0 commit comments

Comments
 (0)