Skip to content

Commit 6dfc9e0

Browse files
committed
pull latest news post dynamically on home page instead of hardcoded update entry
1 parent b1ff08d commit 6dfc9e0

1 file changed

Lines changed: 19 additions & 1 deletion

File tree

‎index.md‎

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,22 @@ Details about our courses are vailable [here](./teaching/).
2828

2929
## Latest Updates
3030

31-
- At last years IEEE BigData (2025) conference, the AML Lab had 9 papers accepted and presented. A few days ago, they were added to the IEEE Xplore repository. Follow [this link](https://ieeexplore.ieee.org/xpl/conhome/11400704/proceeding?sortType=vol-only-seq&isnumber=11400712&refinements=Author:Rafet%20Sifa) to access them. We will report more on them in upcoming blog posts.
31+
{% assign latest = site.posts.first %}
32+
{% if latest %}
33+
<article class="post-card">
34+
<h2 class="post-card-title"><a href="{{ latest.url | relative_url }}">{{ latest.title }}</a></h2>
35+
<div class="post-meta">
36+
<time datetime="{{ latest.date | date_to_xmlschema }}">{{ latest.date | date: "%B %-d, %Y" }}</time>
37+
{% if latest.author %} &middot; {{ latest.author }}{% endif %}
38+
{% if latest.categories.size > 0 %}
39+
&middot; {% for cat in latest.categories %}<span class="post-tag">{{ cat }}</span>{% unless forloop.last %} {% endunless %}{% endfor %}
40+
{% endif %}
41+
</div>
42+
<div class="post-excerpt">
43+
{{ latest.excerpt | strip_html | truncatewords: 60 }}
44+
</div>
45+
<a href="{{ latest.url | relative_url }}" class="read-more-link">Read more &rarr;</a>
46+
</article>
47+
{% endif %}
48+
49+
[Find more news here...](/news/)

0 commit comments

Comments
 (0)