mirror of
https://github.com/foo-dogsquared/website.git
synced 2025-01-31 07:58:02 +00:00
63 lines
2.2 KiB
HTML
63 lines
2.2 KiB
HTML
---
|
|
layout: default
|
|
---
|
|
<article class="post h-entry" itemscope itemtype="http://schema.org/BlogPosting">
|
|
|
|
<header class="post-header">
|
|
<h1 class="post-title p-name" itemprop="name headline">{{ page.title | escape }}{% if page.subtitle %}: <span class="post-subtitle">{{ page.subtitle | escape }}</span>{% endif %}
|
|
</h1>
|
|
{%- include post_meta.html page=page include_link=true -%}
|
|
</header>
|
|
|
|
<div class="post-content e-content" itemprop="articleBody">
|
|
{{ content }}
|
|
</div>
|
|
|
|
|
|
<a class="u-url" href="{{ page.url | relative_url }}" hidden></a>
|
|
<br>
|
|
{%- if page.updatedOn -%}
|
|
<div class="post-updatedOn">Updated: <span class="updatedPostDate">{{ page.updatedOn | escape }}</span></div>
|
|
{%- endif -%}
|
|
{%- if page.categories -%}
|
|
<div class="post-tags">
|
|
<img src="{{ 'assets/main/icons/categories.svg' | relative_url }}" style="width: 2em; height: 2em">
|
|
{% for category in page.categories %}
|
|
<a class="link-tag" href="{{site.baseurl}}/data/categories#{{category|slugize}}">{{category}}</a>
|
|
{% unless forloop.last %} {% endunless %}
|
|
{% endfor %}
|
|
</div>
|
|
{%- endif -%}
|
|
{%- if page.tags -%}
|
|
<div class="post-tags">
|
|
<img src="{{ 'assets/main/icons/tag.svg' | relative_url }}" style="width: 2em; height: 2em">
|
|
{% for tag in page.tags %}
|
|
<a class="link-tag" href="{{site.baseurl}}/data/tags#{{tag|slugize}}">{{tag}}</a>
|
|
{% unless forloop.last %} {% endunless %}
|
|
{% endfor %}
|
|
</div>
|
|
{%- endif -%}
|
|
|
|
<div class="relative-posts">
|
|
<div class="previous-post">
|
|
{%- if page.previous -%}
|
|
<span style="font-size: 2em">⇦</span> Previous
|
|
<a href="{{ page.previous.url | relative_url }}" class="post-link" style="display: block;">{{page.previous.title}}</a>
|
|
{%- endif -%}
|
|
</div>
|
|
<div class="next-post">
|
|
{%- if page.next -%}
|
|
Next <span style="font-size: 2em">⇨</span>
|
|
<a href="{{ page.next.url | relative_url }}" class="post-link" style="display: block;">{{page.next.title}}</a>
|
|
{%- endif -%}
|
|
</div>
|
|
</div>
|
|
|
|
{%- if site.disqus.shortname -%}
|
|
{%- include disqus_comments.html -%}
|
|
{%- endif -%}
|
|
|
|
{%- include addl-post-fns.html -%}
|
|
{%- include libraries.html -%}
|
|
</article>
|