diff options
author | Vitaly Takmazov | 2017-10-04 15:31:44 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2017-10-04 17:29:14 +0300 |
commit | 45a8cd55e8b28abc36884a28527b58842c5cee10 (patch) | |
tree | d7973654cbaecf8e88b6d0863691cfb6efe4b58e /juick-www/src/main/java/com/juick | |
parent | a33ffed053db33a9abd425cd7d641f47e6ab8651 (diff) |
www: microdata
Diffstat (limited to 'juick-www/src/main/java/com/juick')
-rw-r--r-- | juick-www/src/main/java/com/juick/www/controllers/User.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/juick-www/src/main/java/com/juick/www/controllers/User.java b/juick-www/src/main/java/com/juick/www/controllers/User.java index 8b7f2e09..d42d3ed3 100644 --- a/juick-www/src/main/java/com/juick/www/controllers/User.java +++ b/juick-www/src/main/java/com/juick/www/controllers/User.java @@ -142,6 +142,7 @@ public class User { } else if (before > 0 || paramShow != null) { head += "<meta name=\"robots\" content=\"noindex\"/>"; } + model.addAttribute("pageUrl", "http://juick.com/" + user.getName()); model.addAttribute("title", title); model.addAttribute("headers", head); model.addAttribute("visitor", visitor); |