News template updated

pull/1/head
Alexandre Dulaunoy 2016-08-11 17:10:06 +02:00
parent a077bd6ff2
commit e5f1ea310e
2 changed files with 2 additions and 3 deletions

View File

@ -1,7 +1,7 @@
name: MISP - a threat information sharing platform name: MISP - a threat information sharing platform
description: MISP - a threat information sharing platform description: MISP - a threat information sharing platform
paginate: 10 paginate: 10
baseurl: '/misp-website/' baseurl: ''
sass: sass:
sass_dir: assets/sass sass_dir: assets/sass

View File

@ -21,9 +21,8 @@ layout: default
<div class="box post"> <div class="box post">
<a href="#" class="image left"><img src="{{ site.baseurl }}{{ post.featured }}" alt="" style="width: 25%; height: 25%"></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><a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a></h3>
<i>Posted on {{ post.date | date_to_string }}</i> <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>