Skip to content

Commit

Permalink
Restyling of news feed
Browse files Browse the repository at this point in the history
  • Loading branch information
avandeursen committed Dec 18, 2024
1 parent 622c133 commit 65ca7cb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions _includes/news-feed.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,14 @@ <h5 class="news-header">{{ news-header }}</h5>
{% for item in news reversed -%}
<div class="news-item">
<span class="news-item__date">
{{item.date | date_to_long_string}}:
<strong>
{{item.date | date_to_long_string}}
</strong>
</span>
<span class="news-item__title">
<a href="{{item.url | relative_url}}">{{item.title}}</a>
<ul><li>
<a href="{{item.url | relative_url}}">{{item.title}}</a>
</li></ul>
</span>
</div>
{% endfor %}
Expand Down
2 changes: 1 addition & 1 deletion news.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ layout: default
title: AI4SE News
---

{% assign news-header = "AI4SE news" %}
{% assign news-header = "AI4SE News" %}
{% assign news = site.news %}
{% include news-feed.html %}

0 comments on commit 65ca7cb

Please sign in to comment.