fix: remove last modified, thumbnail

This commit is contained in:
2023-07-01 13:33:48 +09:00
parent 465b2db623
commit 3dd9aae35e

View File

@@ -21,14 +21,14 @@ tail_includes:
</span> </span>
<!-- lastmod date --> <!-- lastmod date -->
{% if page.last_modified_at and page.last_modified_at != page.date %} <!-- {% if page.last_modified_at and page.last_modified_at != page.date %}
<span> <span>
{{ site.data.locales[lang].post.updated }} {{ site.data.locales[lang].post.updated }}
{% include datetime.html date=page.last_modified_at tooltip=true lang=lang %} {% include datetime.html date=page.last_modified_at tooltip=true lang=lang %}
</span> </span>
{% endif %} {% endif %} -->
{% if page.image %} <!-- {% if page.image %}
{% capture src %}src="{{ page.image.path | default: page.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 class %}class="preview-img{% if page.image.no_bg %}{{ ' no-bg' }}{% endif %}"{% endcapture %}
{% capture alt %}alt="{{ page.image.alt | default: "Preview Image" }}"{% endcapture %} {% capture alt %}alt="{{ page.image.alt | default: "Preview Image" }}"{% endcapture %}
@@ -45,7 +45,7 @@ tail_includes:
<figcaption class="text-center pt-2 pb-2">{{ page.image.alt }}</figcaption> <figcaption class="text-center pt-2 pb-2">{{ page.image.alt }}</figcaption>
{%- endif -%} {%- endif -%}
</div> </div>
{% endif %} {% endif %} -->
<div class="d-flex justify-content-between"> <div class="d-flex justify-content-between">
<!-- author(s) --> <!-- author(s) -->