summaryrefslogtreecommitdiffstats
path: root/templates/base
diff options
context:
space:
mode:
authorAndrey Nering <andrey.nering@gmail.com>2017-05-27 17:40:09 -0300
committerGitHub <noreply@github.com>2017-05-27 17:40:09 -0300
commite67ece26f0b97437200998b9b153b4c3a87a65aa (patch)
tree17532418661ed29a41d8f701c64e29d532a2be15 /templates/base
parentbafd778c259801f0ceef1f621851afd43eabc3a5 (diff)
parent12dbdaac76b0eaa625d4e656df725bcd63218420 (diff)
downloadgitea-e67ece26f0b97437200998b9b153b4c3a87a65aa.tar.gz
gitea-e67ece26f0b97437200998b9b153b4c3a87a65aa.zip
Merge pull request #1750 from andreynering/dashboard-search-org-repos
More fixes for dashboard search
Diffstat (limited to 'templates/base')
-rw-r--r--templates/base/head.tmpl3
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/base/head.tmpl b/templates/base/head.tmpl
index 8b6c25c643..f357b95166 100644
--- a/templates/base/head.tmpl
+++ b/templates/base/head.tmpl
@@ -14,6 +14,9 @@
{{if .IsSigned}}
<meta name="_uid" content="{{.SignedUser.ID}}" />
{{end}}
+ {{if .ContextUser}}
+ <meta name="_context_uid" content="{{.ContextUser.ID}}" />
+ {{end}}
{{if .GoGetImport}}
<meta name="go-import" content="{{.GoGetImport}} git {{.CloneLink.HTTPS}}">
<meta name="go-source" content="{{.GoGetImport}} _ {{.GoDocDirectory}} {{.GoDocFile}}">