-
- {% if page.last_modified_at and page.last_modified_at != page.date %}
-
+
+
+
+ {{ 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 %}
+
-
- {{ site.data.locales[lang].post.views }}
- {% include post-counter.html %}
-
+
+
+ {% include post-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 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 %}
+ {% capture lqip %}
+ {% if page.image.lqip %}
+ lqip="{{ page.image.lqip }}"
+ {% endif %}
+ {% endcapture %}
-
{% if page.author %}
- {% assign authors = page.author %}
+ {% assign authors = page.author %}
{% elsif page.authors %}
- {% assign authors = page.authors %}
+ {% assign authors = page.authors %}
{% endif %}
{{ site.data.locales[lang].post.written_by }}
- {% if authors %}
+ {% if authors %}
{% for author in authors %}
- {{ site.data.authors[author].name }}
- {% unless forloop.last %}, {% endunless %}
+ {{ site.data.authors[author].name }}
+ {% unless forloop.last %}, {% endunless %}
{% endfor %}
- {% else %}
+ {% else %}
{{ site.social.name }}
- {% endif %}
+ {% endif %}
@@ -96,8 +101,8 @@ tail_includes:
{% for category in page.categories %}
-
{{ category }}
- {%- unless forloop.last -%}, {%- endunless -%}
+
{{ category }}
+ {%- unless forloop.last -%}, {%- endunless -%}
{% endfor %}
{% endif %}
@@ -106,12 +111,11 @@ tail_includes:
{% if page.tags.size > 0 %}
{% endif %}
@@ -121,13 +125,13 @@ tail_includes:
{% if site.data.locales[lang].copyright.license.template %}
- {% capture _replacement %}
-
- {{ site.data.locales[lang].copyright.license.name }}
-
- {% endcapture %}
+ {% capture _replacement %}
+
+ {{ site.data.locales[lang].copyright.license.name }}
+
+ {% endcapture %}
- {{ site.data.locales[lang].copyright.license.template | replace: ':LICENSE_NAME', _replacement }}
+ {{ site.data.locales[lang].copyright.license.template | replace: ':LICENSE_NAME', _replacement }}
{% endif %}