summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <code@mail.matthias.benkard.de>2020-09-12 18:45:50 +0200
committerMatthias Andreas Benkard <code@mail.matthias.benkard.de>2020-09-12 18:45:50 +0200
commit685317fb4adab36e95558e0f3e7b1af9f94fdaf1 (patch)
tree846c88c189aa1fa298796e2151c95229460861b9
parent67107cd9458ff540be1be21d621c41cbca189b6a (diff)
Change post view page title.
Change-Id: I01dc16df134a613f4c9d76e748e344f2e5837e97
-rw-r--r--src/main/java/eu/mulk/mulkcms2/benki/posts/PostResource.java2
1 files changed, 1 insertions, 1 deletions
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)