mirror of
https://github.com/monero-project/monero-site.git
synced 2024-11-18 10:01:18 +00:00
48 lines
No EOL
1.5 KiB
HTML
48 lines
No EOL
1.5 KiB
HTML
---
|
|
layout: default
|
|
title: All Blog Posts
|
|
---
|
|
|
|
<div class="page-title">
|
|
<!-- Icon is based on work by Freepik (http://www.freepik.com) and is licensed under Creative Commons BY 3.0 -->
|
|
<img src="//static.getmonero.org/images/icon_blog.svg" class="title-icon"><h2 class="inline">{% t blog.title_1 %} <span class="purple-kicks">{% t blog.title_2 %}</span> {% t blog.title_3 %}</h2>
|
|
</div>
|
|
|
|
{% for post in paginator.posts %}
|
|
<h3><a href="{{ post.url }}">{{ post.title }}</a></h3>
|
|
<blockquote>
|
|
{{ post.summary }}
|
|
<small>{% t blog.tagged %}:
|
|
{% for tag in post.tags %}
|
|
[<a href="/blog/tags/{{ tag }}">{{ tag }}]</a>
|
|
{% endfor %}
|
|
</small>
|
|
</blockquote>
|
|
{% endfor %}
|
|
|
|
|
|
{% if paginator.total_pages > 1 %}
|
|
<div class="text-center"><h4>
|
|
{% if paginator.previous_page %}
|
|
<a href="{{ paginator.previous_page_path | prepend: site.baseurl | replace: '//', '/' }}">« Prev</a>
|
|
{% else %}
|
|
<span>« Prev</span>
|
|
{% endif %}
|
|
|
|
{% for page in (1..paginator.total_pages) %}
|
|
{% if page == paginator.page %}
|
|
<em>{{ page }}</em>
|
|
{% elsif page == 1 %}
|
|
<a href="{{ '/index.html' | prepend: site.baseurl | replace: '//', '/' }}">{{ page }}</a>
|
|
{% else %}
|
|
<a href="{{ site.paginate_path | prepend: site.baseurl | replace: '//', '/' | replace: ':num', page }}">{{ page }}</a>
|
|
{% endif %}
|
|
{% endfor %}
|
|
|
|
{% if paginator.next_page %}
|
|
<a href="{{ paginator.next_page_path | prepend: site.baseurl | replace: '//', '/' }}">Next »</a>
|
|
{% else %}
|
|
<span>Next »</span>
|
|
{% endif %}
|
|
</h4></div>
|
|
{% endif %} |