--- layout: page refactor: true panel_includes: - toc tail_includes: - related-posts - post-nav - comments --- {% include lang.html %}

{{ page.title }}

{{ site.data.locales[lang].post.posted }} {% include datetime.html date=page.date tooltip=true lang=lang %} {% if page.last_modified_at and page.last_modified_at != page.date %} {{ site.data.locales[lang].post.updated }} {% include datetime.html date=page.last_modified_at tooltip=true lang=lang %} {% endif %} {% if page.image %} {% capture src %}src="{{ page.image.path | default: page.image }}"{% endcapture %} {% capture class %}class="preview-img{% if page.image.no_bg %}{{ ' no-bg' }}{% endif %}"{% endcapture %} {% capture alt %}alt="{{ page.image.alt | xml_escape | default: "Preview Image" }}"{% endcapture %} {% capture lqip %} {% if page.image.lqip %} lqip="{{ page.image.lqip }}" {% endif %} {% endcapture %}
{%- if page.image.alt -%}
{{ page.image.alt }}
{%- endif -%}
{% endif %}
{% if page.author %} {% assign authors = page.author %} {% elsif page.authors %} {% assign authors = page.authors %} {% endif %} {{ site.data.locales[lang].post.written_by }} {% if authors %} {% for author in authors %} {{ site.data.authors[author].name }} {% unless forloop.last %}{{ ', ' }}{% endunless %} {% endfor %} {% else %} {{ site.social.name }} {% endif %} {% include read-time.html content=content prompt=true lang=lang %}
{{ content }}
{% if page.categories.size > 0 %}
{% for category in page.categories %} {{ category }} {%- unless forloop.last -%},{%- endunless -%} {% endfor %}
{% endif %} {% if page.tags.size > 0 %}
{% for tag in page.tags %} {% endfor %}
{% endif %}
{% if site.data.locales[lang].copyright.license.template %} {% capture _replacement %} {{ site.data.locales[lang].copyright.license.name }} {% endcapture %} {{ site.data.locales[lang].copyright.license.template | replace: ':LICENSE_NAME', _replacement }} {% endif %}
{% include post-sharing.html lang=lang %}