From 0958fe5a4eddeca1c005f5022c9aaeb61b097a00 Mon Sep 17 00:00:00 2001 From: Unknwon Date: Sat, 11 Feb 2017 00:03:10 -0500 Subject: Improve Open Graph Meta tags (#3664) --- templates/base/head.tmpl | 26 ++++++++++++++++++++------ 1 file changed, 20 insertions(+), 6 deletions(-) (limited to 'templates/base/head.tmpl') diff --git a/templates/base/head.tmpl b/templates/base/head.tmpl index 3014b6ba..e0180114 100644 --- a/templates/base/head.tmpl +++ b/templates/base/head.tmpl @@ -4,7 +4,7 @@ - + @@ -15,11 +15,25 @@ {{end}} - - - - - + {{if .PageIsUserProfile}} + + + + + + {{else if .Repository}} + + + + + {{else}} + + + + + + + {{end}} -- cgit v1.2.3