From 055d42ce1bc45009098b15d31708393dd216620d Mon Sep 17 00:00:00 2001 From: adinhodovic Date: Wed, 17 Apr 2024 23:35:24 +0200 Subject: [PATCH 1/2] fix: use correct page value for last update display --- wagtail_resume/templates/wagtail_resume/resume_page_body.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wagtail_resume/templates/wagtail_resume/resume_page_body.html b/wagtail_resume/templates/wagtail_resume/resume_page_body.html index 39ca186..fcf2884 100644 --- a/wagtail_resume/templates/wagtail_resume/resume_page_body.html +++ b/wagtail_resume/templates/wagtail_resume/resume_page_body.html @@ -41,7 +41,7 @@

{{ page.full_name }}

{% endfor %} - {% if page.latest_revision_created_at %} + {% if page.display_last_update %}

Last update: {{ page.latest_revision_created_at|date }}

{% endif %} From eadc09a70a49be466e90184b63feec081fcdccd4 Mon Sep 17 00:00:00 2001 From: adinhodovic Date: Wed, 17 Apr 2024 23:36:43 +0200 Subject: [PATCH 2/2] chore: Update version --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 932daa3..7405968 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,7 +6,7 @@ build-backend = "poetry.core.masonry.api" name = "wagtail-resume" authors = ["Adin Hodovic "] license = "MIT" -version = "2.7.1" +version = "2.7.2" readme = "README.md" homepage = "https://github.com/adinhodovic/wagtail-resume" repository = "https://github.com/adinhodovic/wagtail-resume"