--- layout: base --- {% include header.html type="post" %}
{% if page.gh-repo %} {% assign gh_split = page.gh-repo | split:'/' %} {% assign gh_user = gh_split[0] %} {% assign gh_repo = gh_split[1] %}
{% if page.gh-badge.size > 0 %} {% for badge in page.gh-badge %} {% case badge %} {% when 'star'%} {% when 'watch'%} {% when 'fork'%} {% when 'follow'%} {% endcase %} {% endfor %} {% endif %}
{% endif %} {% if page.before-content %}
{% for file in page.before-content %} {% include {{ file }} %} {% endfor %}
{% endif %}
{{ content }}
{% if page.tags.size > 0 %}
Tags: {% for tag in page.tags %} {{- tag -}} {% endfor %}
{% endif %} {% if page.after-content %}
{% for file in page.after-content %} {% include {{ file }} %} {% endfor %}
{% endif %} {% if page.social-share %} {% include social-share.html %} {% endif %} {% include comments.html %}