bulma/docs/_layouts/post.html

100 lines
2.7 KiB
HTML
Raw Normal View History

---
layout: default
route: blog
2018-04-09 20:16:50 +00:00
breadcrumb:
- home
- blog
---
2018-04-09 21:25:26 +00:00
{% include global/navbar.html id="Blog" %}
2018-04-09 20:16:50 +00:00
<main class="bd-main">
<div class="bd-side-background"></div>
<div class="bd-main-container container">
<div class="bd-duo">
<div class="bd-lead">
<div class="bd-breadcrumb">
<nav class="breadcrumb" aria-label="breadcrumbs">
<ul>
<li>
{% assign link = site.data.links.by_id['home'] %}
<a href="{{ site.url }}{{ link.path }}">{{ link.name }}</a>
</li>
<li>
{% assign link = site.data.links.by_id['blog'] %}
<a href="{{ site.url }}{{ link.path }}">{{ link.name }}</a>
</li>
<li class="is-active">
<a href="{{ page.url }}">{{ page.name }}</a>
</li>
</ul>
</nav>
{% if page.previous.url or page.next.url %}
<nav class="bd-prev-next">
{% if page.previous.url %}
<a href="{{ site.url }}{{ page.previous.url }}">
</a>
{% else %}
<span>
</span>
{% endif %}
{% if page.next.url %}
<a href="{{ site.url }}{{ page.next.url }}">
</a>
{% else %}
<span>
</span>
{% endif %}
</nav>
2018-01-18 17:45:54 +00:00
{% endif %}
2018-04-09 20:16:50 +00:00
</div>
<header class="bd-header">
<div class="bd-header-titles">
<h1 class="title">
{{ page.title }}
</h1>
<p class="subtitle is-4">
{{ page.date | date_to_string }}
</p>
</div>
<div class="bd-header-carbon">
2018-04-09 21:25:26 +00:00
{% include elements/carbon.html %}
2018-04-09 20:16:50 +00:00
</div>
</header>
<div class="bd-content">
2018-04-10 10:45:48 +00:00
<div class="columns">
<div class="column is-offset-2 is-8">
2018-04-11 23:20:58 +00:00
<div class="bd-post content is-medium">
2018-04-10 10:45:48 +00:00
{{ content }}
</div>
</div>
2018-04-09 20:16:50 +00:00
</div>
</div>
2018-04-09 22:53:34 +00:00
<nav class="bd-prev-next-bis">
{% if page.previous.url %}
<a class="bd-prev-next-bis-previous" href="{{ page.previous.url }}">
← {{ page.previous.title }}
</a>
{% endif %}
{% if page.next.url %}
<a class="bd-prev-next-bis-next" href="{{ page.next.url }}">
{{ page.next.title }} →
</a>
{% endif %}
</nav>
</div>
2017-07-29 13:38:45 +00:00
</div>
</div>
2018-04-09 20:16:50 +00:00
</main>