beautifulSA-jekyll/_layouts/post.html

76 lines
2.8 KiB
HTML
Raw Normal View History

2015-03-02 21:06:05 +01: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
2016-03-18 12:33:17 +01:00
<div class="container">
2015-03-02 21:06:05 +01:00
<div class="row">
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
{% if page.gh-repo %}
{% assign gh_split = page.gh-repo | split:'/' %}
{% assign gh_user = gh_split[0] %}
{% assign gh_repo = gh_split[1] %}
<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'%}
<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>
{% 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 %}
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-07-28 01:46:31 +02:00
{% if page.tags.size > 0 %}
2016-07-27 22:19:16 +02:00
<div class="blog-tags">
2016-08-01 03:30:03 +02:00
Tags:
{% if site.link-tags %}
2016-07-27 22:19:16 +02:00
{% for tag in page.tags %}
<a href="{{ site.baseurl }}/tags#{{- tag -}}">{{- tag -}}</a>
2016-07-27 22:19:16 +02:00
{% endfor %}
{% else %}
{{ page.tags | join: ", " }}
{% endif %}
2016-07-27 22:19:16 +02:00
</div>
2016-07-28 01:46:31 +02:00
{% endif %}
{% if page.social-share %}
{% include social-share.html %}
{% endif %}
2016-03-18 12:33:17 +01:00
<ul class="pager blog-pager">
{% if page.previous.url %}
<li class="previous">
<a href="{{ page.previous.url | prepend: site.baseurl | replace: '//', '/' }}" data-toggle="tooltip" data-placement="top" title="{{page.previous.title}}">&larr; Previous Post</a>
</li>
2016-03-18 12:33:17 +01:00
{% endif %}
{% if page.next.url %}
<li class="next">
<a href="{{ page.next.url | prepend: site.baseurl | replace: '//', '/' }}" data-toggle="tooltip" data-placement="top" title="{{page.next.title}}">Next Post &rarr;</a>
</li>
2016-03-18 12:33:17 +01:00
{% endif %}
</ul>
{% if page.comments %}
2016-03-18 12:33:17 +01:00
<div class="disqus-comments">
{% include disqus.html %}
2016-03-18 12:33:17 +01:00
</div>
{% endif %}
2016-03-18 12:33:17 +01:00
</div>
2015-03-02 21:06:05 +01:00
</div>
</div>