51 lines
1.3 KiB
HTML
51 lines
1.3 KiB
HTML
---
|
|
layout: default
|
|
---
|
|
|
|
<div class="post-header">
|
|
<h1 class="post-title-main">{{ page.title }}</h1>
|
|
</div>
|
|
|
|
<div class="post-content">
|
|
|
|
{% if page.summary %}
|
|
<div class="summary">{{page.summary}}</div>
|
|
{% endif %}
|
|
|
|
{% unless page.toc == false %}
|
|
{% include toc.html %}
|
|
{% endunless %}
|
|
|
|
|
|
{% if site.github_editme_path %}
|
|
|
|
{% assign editmepath = page.path %}
|
|
{% if page.editmepath %}
|
|
{% assign editmepath = page.editmepath %}
|
|
{% endif %}
|
|
{% unless page.editmepath == false %}
|
|
<a target="_blank" href="https://github.com/{{site.github_editme_path}}{{editmepath}}" class="btn btn-outline-secondary githubEditButton" role="button"><i class="fab fa-github fa-lg"></i> Edit me</a>
|
|
{% endunless %}
|
|
|
|
{% endif %}
|
|
|
|
{{content}}
|
|
|
|
<div class="tags">
|
|
{% if page.tags != null %}
|
|
<b>Tags: </b>
|
|
{% assign projectTags = site.data.tags.allowed-tags %}
|
|
{% for tag in page.tags %}
|
|
{% if projectTags contains tag %}
|
|
<a href="{{ "tag_" | append: tag | append: ".html" }}" class="btn btn-outline-secondary navbar-btn cursorNorm" role="button">{{page.tagName}}{{tag}}</a>
|
|
{% endif %}
|
|
{% endfor %}
|
|
{% endif %}
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{site.data.alerts.hr_shaded}}
|
|
|
|
{% include footer.html %}
|