Skip to content

Commit 755bd5e

Browse files
authored
Update news.html
1 parent 692472a commit 755bd5e

File tree

1 file changed

+17
-2
lines changed

1 file changed

+17
-2
lines changed

_includes/news.html

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,20 @@
11
<div class="well">
22
<h4>News</h4>
3+
34
<div style="font-size: 0.95em; line-height: 1.4;">
45
<ul style="padding-left: 20px; margin-bottom: 0;">
56
{% for article in site.data.news limit:9 %}
67
<li style="margin-bottom: 5px;">
7-
<strong>{{ article.date }}</strong> — {{ article.headline }}
8+
<strong>{{ article.date }}</strong>
9+
{% if article.link %}
10+
<a href="{{ article.link }}">{{ article.headline }}</a>
11+
{% else %}
12+
{{ article.headline }}
13+
{% endif %}
814
</li>
915
{% endfor %}
1016
</ul>
1117
</div>
12-
1318
<h6 style="margin-top: 8px;">
1419
<a href="{{ site.url }}{{ site.baseurl }}/allnews.html">... see all News</a>
1520
</h6>
@@ -28,4 +33,14 @@ <h4>News</h4>
2833
<h6><a href="{{ site.url }}{{ site.baseurl }}/allnews.html">... see all News</a></h6>
2934
</div> -->
3035

36+
<!-- <div style="font-size: 0.95em; line-height: 1.4;">
37+
<ul style="padding-left: 20px; margin-bottom: 0;">
38+
{% for article in site.data.news limit:9 %}
39+
<li style="margin-bottom: 5px;">
40+
<strong>{{ article.date }}</strong> — {{ article.headline }}
41+
</li>
42+
{% endfor %}
43+
</ul>
44+
</div>
45+
-->
3146

0 commit comments

Comments
 (0)