mirror of
https://github.com/medialab-prado/datamad2017.git
synced 2024-12-26 12:41:23 +01:00
18 lines
No EOL
685 B
HTML
18 lines
No EOL
685 B
HTML
<!-- Begin Latest News Section -->
|
|
<section id="latest-news">
|
|
<div class="content-wrapper">
|
|
<div class="col-lg-10 col-lg-offset-1">
|
|
<h3>Latest news</h3>
|
|
<article class="row">
|
|
{% for post in site.posts limit:2 %}
|
|
{% assign postUrl = site.baseurl | append: post.url %}
|
|
<div class="post col-md-6 col-sm-6 text-left animated hiding" data-animation="fadeInDown" data-delay="500">
|
|
<h6>{{ post.title }}</h6>
|
|
<p class="post-body">{{ post.content | strip_html | truncate: 250 }} <a href="{{ postUrl }}">continue reading</a></p>
|
|
</div>
|
|
{% endfor %}
|
|
</article>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
<!-- End Latest News Section --> |