bulma/docs/_layouts/post.html

98 lines
2.6 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">
2021-01-14 21:31:45 +00:00
{{ page.title | markdownify }}
2018-04-09 20:16:50 +00:00
</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">
2019-10-14 00:42:05 +00:00
<div class="bd-post-container">
<div class="bd-post content is-medium">
{{ content }}
2018-04-10 10:45:48 +00:00
</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 }}">
2021-01-14 21:31:45 +00:00
← {{ page.previous.name }}
2018-04-09 22:53:34 +00:00
</a>
{% endif %}
{% if page.next.url %}
<a class="bd-prev-next-bis-next" href="{{ page.next.url }}">
2021-01-14 21:31:45 +00:00
{{ page.next.name }} →
2018-04-09 22:53:34 +00:00
</a>
{% endif %}
</nav>
</div>
2017-07-29 13:38:45 +00:00
</div>
</div>
2018-04-09 20:16:50 +00:00
</main>