2015-03-02 21:06:05 +01:00
|
|
|
---
|
2016-03-28 05:13:45 +02:00
|
|
|
layout: base
|
2015-03-02 21:06:05 +01:00
|
|
|
---
|
|
|
|
|
2016-03-18 12:33:17 +01:00
|
|
|
{% include header.html type="post" %}
|
2015-03-02 21:06:05 +01:00
|
|
|
|
2020-08-23 21:23:14 +02:00
|
|
|
<div class="{% if page.full-width %} container-fluid {% else %} container-md {% endif %}">
|
2015-03-02 21:06:05 +01:00
|
|
|
<div class="row">
|
2020-08-23 21:23:14 +02:00
|
|
|
<div class="{% if page.full-width %} col {% else %} col-xl-8 offset-xl-2 col-lg-10 offset-lg-1 {% endif %}">
|
2016-08-07 01:42:15 +02:00
|
|
|
|
2017-10-16 21:21:22 +02:00
|
|
|
{% if page.gh-repo %}
|
|
|
|
{% assign gh_split = page.gh-repo | split:'/' %}
|
|
|
|
{% assign gh_user = gh_split[0] %}
|
|
|
|
{% assign gh_repo = gh_split[1] %}
|
2018-01-19 05:58:00 +01:00
|
|
|
|
2017-10-16 21:21:22 +02:00
|
|
|
<div id="header-gh-btns">
|
|
|
|
{% if page.gh-badge.size > 0 %}
|
|
|
|
{% for badge in page.gh-badge %}
|
|
|
|
{% case badge %}
|
|
|
|
{% when 'star'%}
|
|
|
|
<iframe src="https://ghbtns.com/github-btn.html?user={{ gh_user }}&repo={{ gh_repo }}&type=star&count=true" frameborder="0" scrolling="0" width="120px" height="20px"></iframe>
|
|
|
|
{% when 'watch'%}
|
|
|
|
<iframe src="https://ghbtns.com/github-btn.html?user={{ gh_user }}&repo={{ gh_repo }}&type=watch&v=2&count=true" frameborder="0" scrolling="0" width="120px" height="20px"></iframe>
|
|
|
|
{% when 'fork'%}
|
2018-01-19 05:58:00 +01:00
|
|
|
<iframe src="https://ghbtns.com/github-btn.html?user={{ gh_user }}&repo={{ gh_repo }}&type=fork&count=true" frameborder="0" scrolling="0" width="120px" height="20px"></iframe>
|
2017-10-16 21:21:22 +02:00
|
|
|
{% when 'follow'%}
|
|
|
|
<iframe src="https://ghbtns.com/github-btn.html?user={{ gh_user }}&type=follow&count=true" frameborder="0" scrolling="0" width="220px" height="20px"></iframe>
|
|
|
|
{% endcase %}
|
|
|
|
{% endfor %}
|
|
|
|
{% endif %}
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
2018-01-19 05:58:00 +01:00
|
|
|
|
2020-08-25 00:04:22 +02:00
|
|
|
{% if page.before-content %}
|
|
|
|
<div class="before-content">
|
|
|
|
{% for file in page.before-content %}
|
|
|
|
{% include {{ file }} %}
|
|
|
|
{% endfor %}
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
|
|
|
|
2016-03-18 12:33:17 +01:00
|
|
|
<article role="main" class="blog-post">
|
2016-07-28 01:46:31 +02:00
|
|
|
{{ content }}
|
|
|
|
</article>
|
2016-08-07 01:42:15 +02:00
|
|
|
|
2016-07-28 01:46:31 +02:00
|
|
|
{% if page.tags.size > 0 %}
|
2016-07-27 22:19:16 +02:00
|
|
|
<div class="blog-tags">
|
2020-09-12 23:35:18 +02:00
|
|
|
<span>Tags:</span>
|
2016-07-27 22:19:16 +02:00
|
|
|
{% for tag in page.tags %}
|
2019-06-08 07:34:33 +02:00
|
|
|
<a href="{{ '/tags' | relative_url }}#{{- tag -}}">{{- tag -}}</a>
|
2016-07-27 22:19:16 +02:00
|
|
|
{% endfor %}
|
|
|
|
</div>
|
2016-07-28 01:46:31 +02:00
|
|
|
{% endif %}
|
2016-08-07 01:42:15 +02:00
|
|
|
|
2020-08-25 00:04:22 +02:00
|
|
|
{% if page.after-content %}
|
|
|
|
<div class="after-content">
|
|
|
|
{% for file in page.after-content %}
|
|
|
|
{% include {{ file }} %}
|
|
|
|
{% endfor %}
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
|
|
|
|
2016-08-07 01:42:15 +02:00
|
|
|
{% if page.social-share %}
|
|
|
|
{% include social-share.html %}
|
|
|
|
{% endif %}
|
|
|
|
|
2020-05-02 08:10:20 +02:00
|
|
|
<ul class="pagination blog-pager">
|
2016-03-18 12:33:17 +01:00
|
|
|
{% if page.previous.url %}
|
2020-05-02 08:10:20 +02:00
|
|
|
<li class="page-item previous">
|
|
|
|
<a class="page-link" href="{{ page.previous.url | relative_url }}" data-toggle="tooltip" data-placement="top" title="{{page.previous.title}}">← Previous Post</a>
|
2016-03-28 05:13:45 +02:00
|
|
|
</li>
|
2016-03-18 12:33:17 +01:00
|
|
|
{% endif %}
|
|
|
|
{% if page.next.url %}
|
2020-05-02 08:10:20 +02:00
|
|
|
<li class="page-item next">
|
|
|
|
<a class="page-link" href="{{ page.next.url | relative_url }}" data-toggle="tooltip" data-placement="top" title="{{page.next.title}}">Next Post →</a>
|
2016-03-28 05:13:45 +02:00
|
|
|
</li>
|
2016-03-18 12:33:17 +01:00
|
|
|
{% endif %}
|
|
|
|
</ul>
|
2020-05-02 08:10:20 +02:00
|
|
|
{% include comments.html %}
|
2016-03-18 12:33:17 +01:00
|
|
|
</div>
|
2015-03-02 21:06:05 +01:00
|
|
|
</div>
|
2018-01-19 05:58:00 +01:00
|
|
|
</div>
|