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

Displaying news on the main page

parent 2ead46ba
No related branches found
No related tags found
2 merge requests!17Develop,!3Develop
......@@ -54,6 +54,20 @@ layout: default
</div>
<div>
<h2>Our news</h2>
{% for post in paginator.posts %}
<div class="post">
<a class="post-title" href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a>
<span class="post-date">Published on: {{ post.date | date: '%B %d, %Y' }}</span>
<div class="content">
{{ post.content | truncate: 220 }}
</div>
</div>
{% endfor %}
<a class="twitter-timeline" data-lang="en" data-width="380" data-height="800" data-dnt="true" data-theme="light" data-link-color="#B57B00" href="https://twitter.com/elixir_lu?ref_src=twsrc%5Etfw">Tweets by elixir_lu</a> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
</div>
</article>
......@@ -2,7 +2,7 @@
Gem::Specification.new do |spec|
spec.name = "jekyll-elixir-theme"
spec.version = "0.5.3"
spec.version = "0.5.4"
spec.authors = ["jacek.lebioda"]
spec.email = ["jacek.lebioda@uni.lu"]
......
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