From 7c471d66db9e2ed285e7ce697fe903c83f0c4e5b Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Thu, 30 Jun 2022 14:07:11 +0300 Subject: Add `noindex` conditions --- src/main/java/com/juick/www/controllers/Site.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java/com/juick') diff --git a/src/main/java/com/juick/www/controllers/Site.java b/src/main/java/com/juick/www/controllers/Site.java index 9eb4c917..5f034b86 100644 --- a/src/main/java/com/juick/www/controllers/Site.java +++ b/src/main/java/com/juick/www/controllers/Site.java @@ -147,7 +147,7 @@ public class Site { String head = "\n"; - if (paramBefore > 0 || paramShow != null) { + if (paramBefore > 0 || paramShow != null || paramTo > 0 || page > 0 || paramSearch != null) { head = ""; } model.addAttribute("title", title); -- cgit v1.2.3