bulma/docs/_layouts/post.html

52 lines
1.4 KiB
HTML
Raw Normal View History

---
layout: default
route: blog
---
2018-01-18 16:59:05 +00:00
{% include navbar.html id="BlogHero" %}
<div class="bd-article-image is-single is-{{ page.color }}">
<span class="bd-article-overlay"></span>
<span class="bd-article-icon">
<i class="{% if page.icon_brand %}fab{% else %}fas{% endif %} fa-{{ page.icon }}"></i>
</span>
<strong class="bd-article-info">
<span>
<time class="bd-article-date" datetime="{{ page.date | date_to_xmlschema }}">
{{ page.date | date_to_string }}
</time>
<strong class="bd-article-title">
{{ page.name }}
</strong>
</span>
</strong>
</div>
2017-08-03 19:29:09 +00:00
<section class="section">
<div class="container">
2017-07-29 13:38:45 +00:00
<div class="columns">
<div class="column is-offset-2 is-8">
<p class="subtitle is-6">
2018-01-18 16:59:05 +00:00
<a class="bd-article-back" href="{{ site.url }}/blog">Back to Blog home</a>
2017-07-29 13:38:45 +00:00
</p>
<h1 class="title is-2">
{{ page.title }}
</h1>
</article>
<hr>
<div class="content is-medium">
{{ content }}
</div>
2018-01-18 17:45:54 +00:00
<nav class="pagination is-centered" role="navigation" aria-label="pagination">
{% if page.previous.url %}
<a class="pagination-previous" href="{{ page.previous.url }}">Previous post</a>
{% endif %}
{% if page.next.url %}
<a class="pagination-next" href="{{ page.next.url }}">Next post</a>
{% endif %}
</nav>
</div>
2017-07-29 13:38:45 +00:00
</div>
</div>
</section>