Browse Source

Fixed Config page loading meta error

Yoginth 7 years ago
parent
commit
3313b988ef
1 changed files with 2 additions and 1 deletions
  1. 2 1
      templates/base/meta.tmpl

+ 2 - 1
templates/base/meta.tmpl

@@ -5,7 +5,8 @@
 <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
 <meta name="hostname" content="{{AppURL}}">
 
-{{if .PageIsUserProfile}}
+{{if .PageIsAdmin}}
+{{else if .PageIsUserProfile}}
 <link rel="canonical" href="{{.Owner.HTMLURL}}" />
 {{else if .PageIsIssueConversation}}
 <link rel="canonical" href="{{$.Link}}/{{.Index}}" />