2019-09-30 15:38:41 +03:00
|
|
|
---
|
2021-12-01 16:48:57 +03:00
|
|
|
layout: page
|
|
|
|
pannel_includes:
|
|
|
|
- toc
|
|
|
|
tail_includes:
|
|
|
|
- related-posts
|
|
|
|
- post-nav
|
|
|
|
- disqus
|
2019-09-30 15:38:41 +03:00
|
|
|
---
|
|
|
|
|
2021-08-01 16:54:27 +03:00
|
|
|
{% include lang.html %}
|
|
|
|
|
2021-12-03 11:36:40 +03:00
|
|
|
{% if page.image.src %}
|
|
|
|
{% capture bg %}
|
|
|
|
{% unless page.image.no_bg %}{{ 'bg' }}{% endunless %}
|
|
|
|
{% endcapture %}
|
|
|
|
<img src="{{ page.image.src }}" class="preview-img {{ bg | strip }}"
|
|
|
|
alt="{{ page.image.alt | default: "Preview Image" }}"
|
|
|
|
{% if page.image.width %}width="{{ page.image.width }}"{% endif %}
|
|
|
|
{% if page.image.height %}height="{{ page.image.height }}"{% endif %}>
|
|
|
|
{% endif %}
|
|
|
|
|
2021-12-01 16:48:57 +03:00
|
|
|
<h1 data-toc-skip>{{ page.title }}</h1>
|
|
|
|
|
|
|
|
<div class="post-meta text-muted d-flex flex-column">
|
|
|
|
<!-- Published date and author -->
|
|
|
|
<div>
|
|
|
|
<span class="semi-bold">
|
|
|
|
{{ page.author | default: site.social.name }}
|
|
|
|
</span>
|
|
|
|
{% capture _preposition %}{{ site.data.locales[lang].post.published }}{% endcapture %}
|
|
|
|
{% include timeago.html date=page.date tooltip=true preposition=_preposition %}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div>
|
|
|
|
<!-- lastmod -->
|
|
|
|
{% if page.last_modified_at %}
|
|
|
|
<span>
|
|
|
|
{{ site.data.locales[lang].post.updated }}
|
|
|
|
{% include timeago.html date=page.last_modified_at class="lastmod" tooltip=true %}
|
|
|
|
</span>
|
2020-12-27 19:14:10 +03:00
|
|
|
{% endif %}
|
2021-12-01 16:48:57 +03:00
|
|
|
|
|
|
|
<!-- read time -->
|
|
|
|
{% include read-time.html content=content prompt=true %}
|
|
|
|
|
|
|
|
<!-- page views -->
|
|
|
|
{% if site.google_analytics.pv.proxy_endpoint or site.google_analytics.pv.cache_path %}
|
|
|
|
<span id="pv" class="pageviews">
|
|
|
|
<i class="fas fa-spinner fa-spin fa-fw"></i>
|
|
|
|
</span>
|
|
|
|
{{ site.data.locales[lang].post.pageview_measure }}
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div> <!-- .post-meta -->
|
|
|
|
|
|
|
|
<div class="post-content">
|
|
|
|
{{ content }}
|
|
|
|
</div>
|
2019-11-27 12:08:54 +03:00
|
|
|
|
2021-12-01 16:48:57 +03:00
|
|
|
<div class="post-tail-wrapper text-muted">
|
2020-02-16 22:01:48 +03:00
|
|
|
|
2021-12-01 16:48:57 +03:00
|
|
|
<!-- categories -->
|
|
|
|
{% if page.categories.size > 0 %}
|
|
|
|
<div class="post-meta mb-3">
|
|
|
|
<i class="far fa-folder-open fa-fw mr-1"></i>
|
|
|
|
{% for category in page.categories %}
|
|
|
|
<a href='{{ site.baseurl }}/categories/{{ category | slugify | url_encode }}/'>{{ category }}</a>
|
|
|
|
{%- unless forloop.last -%}, {%- endunless -%}
|
|
|
|
{% endfor %}
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
<!-- tags -->
|
|
|
|
{% if page.tags.size > 0 %}
|
|
|
|
<div class="post-tags">
|
|
|
|
<i class="fa fa-tags fa-fw mr-1"></i>
|
|
|
|
{% for tag in page.tags %}
|
|
|
|
<a href="{{ site.baseurl }}/tags/{{ tag | slugify | url_encode }}/"
|
|
|
|
class="post-tag no-text-decoration" >
|
|
|
|
{{- tag -}}
|
|
|
|
</a>
|
|
|
|
{% endfor %}
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
2019-09-30 15:38:41 +03:00
|
|
|
|
2021-12-01 16:48:57 +03:00
|
|
|
<div class="post-tail-bottom
|
|
|
|
d-flex justify-content-between align-items-center mt-3 pt-5 pb-2">
|
|
|
|
<div class="license-wrapper">
|
2019-11-27 12:08:54 +03:00
|
|
|
|
2021-12-01 16:48:57 +03:00
|
|
|
{% if site.data.locales[lang].copyright.license.template %}
|
|
|
|
|
|
|
|
{% capture _replacement %}
|
|
|
|
<a href="{{ site.data.locales[lang].copyright.license.link }}">
|
|
|
|
{{ site.data.locales[lang].copyright.license.name }}
|
|
|
|
</a>
|
|
|
|
{% endcapture %}
|
|
|
|
|
|
|
|
{{ site.data.locales[lang].copyright.license.template | replace: ':LICENSE_NAME', _replacement }}
|
|
|
|
|
|
|
|
{% endif %}
|
|
|
|
</div>
|
2020-02-17 18:44:10 +03:00
|
|
|
|
2021-12-01 16:48:57 +03:00
|
|
|
{% include post-sharing.html %}
|
2019-11-27 12:08:54 +03:00
|
|
|
|
2021-12-01 16:48:57 +03:00
|
|
|
</div><!-- .post-tail-bottom -->
|
2019-09-30 15:38:41 +03:00
|
|
|
|
2021-12-01 16:48:57 +03:00
|
|
|
</div><!-- div.post-tail-wrapper -->
|