소스 검색

Fixed Config page loading meta error

Yoginth 7 년 전
부모
커밋
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}}" />