diff options
author | 2017-08-24 15:39:52 +0300 | |
---|---|---|
committer | 2017-08-24 15:39:52 +0300 | |
commit | a98daeb0535608098f14c3c827768f6ee3087b84 (patch) | |
tree | 24b30d7414f9d4a0f0742ed0702b602f592aae9a | |
parent | c18878076df4efb9cc4e7d3276c32e1fd69e7476 (diff) |
www: fix yandex description tag
-rw-r--r-- | juick-www/src/main/java/com/juick/www/controllers/UserThread.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/juick-www/src/main/java/com/juick/www/controllers/UserThread.java b/juick-www/src/main/java/com/juick/www/controllers/UserThread.java index f1f275c6..780b2ed1 100644 --- a/juick-www/src/main/java/com/juick/www/controllers/UserThread.java +++ b/juick-www/src/main/java/com/juick/www/controllers/UserThread.java @@ -117,7 +117,7 @@ public class UserThread { "<meta property=\"og:url\" content=\"" + pageUrl + "\" />\n" + "<meta property=\"og:title\" content=\"" + msg.getUser().getName() + " at Juick\" />\n" + "<meta property=\"og:description\" content=\"" + cardDescription + "\" />\n" + - "<meta property=\"description\" content=\"" + cardDescription + "\" />\n" + + "<meta name=\"Description\" content=\"" + cardDescription + "\" />\n" + "<meta property=\"og:image\" content=\"" + msgImage + "\" />"; String twitterName = crosspostService.getTwitterName(msg.getUser().getUid()); if (StringUtils.isNotEmpty(twitterName)) { |