From 685317fb4adab36e95558e0f3e7b1af9f94fdaf1 Mon Sep 17 00:00:00 2001 From: Matthias Andreas Benkard Date: Sat, 12 Sep 2020 18:45:50 +0200 Subject: Change post view page title. Change-Id: I01dc16df134a613f4c9d76e748e344f2e5837e97 --- src/main/java/eu/mulk/mulkcms2/benki/posts/PostResource.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/eu/mulk/mulkcms2/benki/posts/PostResource.java b/src/main/java/eu/mulk/mulkcms2/benki/posts/PostResource.java index f58140e..47e1594 100644 --- a/src/main/java/eu/mulk/mulkcms2/benki/posts/PostResource.java +++ b/src/main/java/eu/mulk/mulkcms2/benki/posts/PostResource.java @@ -212,7 +212,7 @@ public abstract class PostResource { return postList .data("postDays", new PostPage<>(null, null, null, List.of(post)).days()) - .data("pageTitle", pageTitle) + .data("pageTitle", String.format("Post #%d", id)) .data("showBookmarkForm", false) .data("showLazychatForm", false) .data("hasPreviousPage", false) -- cgit v1.2.3