Просмотр исходного кода

Fixed Config page loading meta error

Yoginth 7 лет назад
Родитель
Сommit
3313b988ef
1 измененных файлов с 2 добавлено и 1 удалено
  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}}" />