Skip to content

Commit d92c1fe

Browse files
authored
Update allnews.md
1 parent c8cee32 commit d92c1fe

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

_pages/allnews.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,12 @@ permalink: /allnews.html
1111
<ul>
1212
{% for article in site.data.news %}
1313
<li>
14-
<strong>{{ article.date }}</strong> — {{ article.headline }}
14+
<strong>{{ article.date }}</strong> —
15+
{% if article.link %}
16+
<a href="{{ article.link }}">{{ article.headline }}</a>
17+
{% else %}
18+
{{ article.headline }}
19+
{% endif %}
1520
</li>
1621
{% endfor %}
1722
</ul>

0 commit comments

Comments
 (0)