stack-wallet-website/blog/index.html

79 lines
2.8 KiB
HTML
Raw Normal View History

2023-04-29 00:40:57 +00:00
---
layout: base
title: Stack Wallet Blog
---
<section class="page-intro section">
<div class="row">
<div class="col">
<h1>Blog</h1>
</div>
</div>
</section>
<section class="faq-nav">
<div class="container">
<ul class="row">
<li><a href="{{ site.baseurl }}/blog/">all</a></li>
<li><a href="{{ site.baseurl }}/tag/guides/">guides</a></li>
</ul>
</div>
</section>
<section class="blog-section">
<div class="container">
{% for post in paginator.posts %}
<div class="row">
<div class="col post-section">
<div class="post-meta">
<p class="post-date">{{post.date | date: '%B %d, %Y'}}</p>
</div>
<a href="{{ site.baseurl }}{{ post.url }}" class="post-link">
<h2>{{ post.title }}</h2>
<p>{{ post.summary }}</p>
{%if post.img%}
<img src="{{post.img}}" alt="{{post.alt}}">
{%endif%}
</a>
<p class="post-tag">
{% for tag in post.tags %}
<a href="{{ site.baseurl }}/tag/{{tag}}">{{tag}}</a>
{% endfor %}
</p>
</div>
</div>
{% endfor %}
</div>
</section>
<section class="blog-section">
<div class="container">
<div class="pagination">
{% if paginator.total_pages > 1 %}
<div class="text-center page-numbers"><p>
{% if paginator.previous_page %}
<a href="{{ site.baseurl }}{{ paginator.previous_page_path}}" class="page-button">Prev</a>
{% endif %}
{% for page in (1..paginator.total_pages) %}
{% assign total = paginator.total_pages %}
{% if page == paginator.page %}
{{ page }} of {{total}}
{% endif %}
{% endfor %}
{% if paginator.next_page %}
<a href="{{ site.baseurl }}{{ paginator.next_page_path}}" class="page-button">Next</a>
{% endif %}
</p></div>
{% endif %}
</div>
</div>
</section>