mirror of
https://github.com/medialab-prado/datamad2017.git
synced 2025-06-07 22:11:29 +02:00
Initial commit
This commit is contained in:
parent
8e3b6da84f
commit
95607eea61
241 changed files with 14242 additions and 3 deletions
18
_includes/latest-news.html
Normal file
18
_includes/latest-news.html
Normal file
|
@ -0,0 +1,18 @@
|
|||
<!-- 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 -->
|
Loading…
Add table
Add a link
Reference in a new issue