Skip to content
Snippets Groups Projects
Commit c20894c7 authored by Jacek Lebioda's avatar Jacek Lebioda
Browse files

News with left column layout

parent 0d614965
No related branches found
No related tags found
2 merge requests!17Develop,!3Develop
---
layout: default
---
<article>
<div id="left-column">
</div>
<div>
<header>
<h1>
ELIXIR.LU news
</h1>
<hr />
</header>
{% for post in paginator.posts %}
<div class="post">
<a class="post-title" href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a>
<div class="content">
{{ post.content | truncate: 150 }}
</div>
<span class="post-date">Published on: {{ post.date | date: '%B %d, %Y' }}</span>
</div>
{% endfor %}
<div class="pagination">
{% if paginator.previous_page %}
<a href="{{ site.baseurl }}{{ paginator.previous_page_path }}" class="previous">
Previous
</a>
{% endif %}
<span class="page_number ">
Page: {{ paginator.page }} of {{ paginator.total_pages }}
</span>
{% if paginator.next_page %}
<a href="{{ site.baseurl }}{{ paginator.next_page_path }}" class="next">Next</a>
{% endif %}
</div>
</div>
</article>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment