2
0
mirror of https://github.com/inventree/inventree-website.git synced 2025-04-27 21:16:45 +00:00
inventree-website/news.html
Matthias Mair 7705d45ada add news
2022-04-23 14:27:04 +02:00

23 lines
744 B
HTML

---
layout: default
title: News
permalink: /news
---
<section class="cm-gray-2 body-font">
<div class="pt-3 pb-1 section-container">
<h1 class="header-text title-font mb-4 cm-gray-2">InvenTree News</h1>
<div class="flex flex-wrap">
{% for post in site.news %}
<div class="p-6 md:w-1/2 flex flex-col items-start">
<h2 class="header-text title-font mb-4 cm-gray-1">
<a href="{{ post.url | relative_url }}">{{ post.title }}</a>
</h2>
<span class="leading-relaxed mb-4">{{ post.excerpt | strip_html | strip_newlines | truncate: 156 }}</span>
<span>{{ post.date | date_to_string }} | </span>
</div>
{% endfor %}
</div>
</div>
</section>