diff --git a/source/_includes/custom/news.html b/source/_includes/custom/news.html index 5610e459f6f..1afa2c24901 100644 --- a/source/_includes/custom/news.html +++ b/source/_includes/custom/news.html @@ -1,13 +1,6 @@ - -
-

{% icon "mdi:newspaper-variant-multiple" %} Recent Blog Posts

- -
    - {% assign current = 0 %} - - {% for post in site.posts %} - {% if post.categories contains "Release-Notes" %} - {% else %} - {% assign current = current | plus: 1 %} - - {% if current > blog_post_limit %} - {% break %} - {% endif %} - - {% assign post_date = post.date | date: "%Y-%m-%d" %} - {% assign post_date_formatted = post_date | date: "%B %d, %Y" %} - {% assign post.date_formatted = post_date_formatted %} -
  1. - {{ post.title }} - {{ post.date_formatted }} -
  2. + +
    +

    {% icon "mdi:newspaper-variant-multiple" %} Recent Blog Posts

    + +
      + {% assign current = 0 %} + + {% for post in site.posts %} + {% if post.categories contains "Release-Notes" %} + {% else %} + {% assign current = current | plus: 1 %} + + {% if current > blog_post_limit %} + {% break %} {% endif %} - {% endfor %} -
    -
    + + {% assign post_date = post.date | date: "%Y-%m-%d" %} + {% assign post_date_formatted = post_date | date: "%B %d, %Y" %} + {% assign post.date_formatted = post_date_formatted %} +
  3. + {{ post.title }} + {{ post.date_formatted }} +
  4. + {% endif %} + {% endfor %} +
+
+ + + +