mirror of https://github.com/MISP/misp-website
Layout of news updated (some more rework needed)
parent
53914497aa
commit
a1483da389
|
@ -15,14 +15,15 @@ layout: default
|
||||||
<header class="major">
|
<header class="major">
|
||||||
<h2>News</h2>
|
<h2>News</h2>
|
||||||
</header>
|
</header>
|
||||||
{% for post in site.posts offset: 0 limit: 4 %}
|
{% for post in site.posts offset: 0 limit: 10 %}
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<section class="12u">
|
<section class="12u">
|
||||||
<div class="box post">
|
<div class="box post">
|
||||||
<a href="#" class="image left"><img src="{{ site.baseurl }}{{ post.featured }}" alt=""></a>
|
<a href="#" class="image left"><img src="{{ site.baseurl }}{{ post.featured }}" alt="" style="width: 25%; height: 25%"></a>
|
||||||
<div class="inner">
|
<div class="inner">
|
||||||
<h3>{{ post.title }}</h3>
|
<h3>{{ post.title }}</h3>
|
||||||
{{ post.excerpt }}
|
<i>Posted on {{ post.date | date_to_string }}</i>
|
||||||
|
{{ content | truncatewords: 50 }}
|
||||||
<footer>
|
<footer>
|
||||||
<a href="{{ site.baseurl }}{{ post.url }}" class="button">Continue Reading</a>
|
<a href="{{ site.baseurl }}{{ post.url }}" class="button">Continue Reading</a>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
Loading…
Reference in New Issue