--- 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 %} {% include likes-views.html tooltip=true lang=lang %} {% include comments-counter.html tooltip=true lang=lang %} {% 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 %}