blob: e4c87b3ab9684b0bd704c7afc413e8d2c8ac5023 [file] [log] [blame]
---
layout: page
title: Blog & News
---
<p><a href="https://cwiki.apache.org/confluence/display/JCLOUDS/How+to+Contribute+Documentation">Write a guest post!</a></p>
{% for post in paginator.posts %}
<h3><a class="text-primary" href="{{ post.url }}">{{ post.title }}</a></h3>
<span class="text-muted">{{ post.date | date_to_long_string }}, by {{ post.author }}</span>
<p>{{ post.excerpt | strip_html }}</p>
{% endfor %}
{% if paginator.total_pages > 1 %}
<ul class="pagination text-center">
{% if paginator.previous_page %}
<li><a class="text-primary" href="{{ paginator.previous_page_path | prepend: site.baseurl | replace: '//', '/' }}">&laquo;</a></li>
{% endif %}
{% for page in (1..paginator.total_pages) %}
<li>
{% if page == 1 %}
<a class="text-primary" href="{{ '/blog/' | prepend: site.baseurl | replace: '//', '/' }}">{{ page }}</a>
{% else %}
<a class="text-primary" href="{{ site.paginate_path | prepend: site.baseurl | replace: '//', '/' | replace: ':num', page }}">{{ page }}</a>
{% endif %}
</li>
{% endfor %}
{% if paginator.next_page %}
<li><a class="text-primary" href="{{ paginator.next_page_path | prepend: site.baseurl | replace: '//', '/' }}">&raquo;</a></li>
{% endif %}
</ul>
{% endif %}