misp-website/news/index.html

42 lines
1.1 KiB
HTML
Executable File

---
title: Blog
layout: default
---
<!-- Main -->
<section class="wrapper style1">
<div class="container">
<div id="content">
<div class="row">
<div class="12u">
<!-- Blog -->
<section>
<header class="major">
<h2>News</h2>
</header>
{% for post in site.posts offset: 0 limit: 10 %}
<div class="row">
<section class="12u">
<div class="box post">
<a href="#" class="image left"><img src="{{ site.baseurl }}{{ post.featured }}" alt="" style="width: 25%; height: 25%"></a>
<div class="inner">
<h3>{{ post.title }}</h3>
<i>Posted on {{ post.date | date_to_string }}</i>
{{ content | truncatewords: 50 }}
<footer>
<a href="{{ site.baseurl }}{{ post.url }}" class="button">Continue Reading</a>
</footer>
</div>
</div>
</section>
</div>
{% endfor %}
</section>
</div>
</div>
</div>
</section>