From baa4700934f59f670603e4e740934e9632fa30eb Mon Sep 17 00:00:00 2001 From: Ryo Date: Sat, 28 Sep 2024 23:34:10 +0800 Subject: [PATCH] Remove last updated date --- _layouts/post.html | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/_layouts/post.html b/_layouts/post.html index ae64ccd9..91e72e8c 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -25,14 +25,6 @@

{{ page.title }}

{% 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.override_image and page.show_image_in_post != false %} {% capture src %}src="{{ page.override_image.path | default: page.override_image.path }}"{% endcapture %} @@ -44,7 +36,7 @@

{{ page.title }}

{{ page.override_image.alt }}
{%- endif -%} - {% elsif page.image and page.show_image_in_post != false %} + {% elsif page.image and page.show_image_in_post != false %} {% capture src %}src="{{ page.image.path | default: page.image.path }}"{% endcapture %} {% capture class %}class="preview-img{% if page.image.no_bg %}{{ ' no-bg' }}{% endif %}"{% endcapture %} @@ -55,7 +47,7 @@

{{ page.title }}

{{ page.image.alt }}
{%- endif -%} - {% endif %} + {% endif %}