summaryrefslogtreecommitdiffstats
path: root/templates/explore/code.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/explore/code.tmpl')
-rw-r--r--templates/explore/code.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/explore/code.tmpl b/templates/explore/code.tmpl
index eb7da976b8..418d669fe9 100644
--- a/templates/explore/code.tmpl
+++ b/templates/explore/code.tmpl
@@ -18,7 +18,7 @@
</h3>
<div>
{{range $term := .SearchResultLanguages}}
- <a class="ui {{if eq $.Language $term.Language}}primary {{end}}basic label" href="{{$.AppSubURL}}/explore/code?q={{$.Keyword}}{{if ne $.Language $term.Language}}&l={{$term.Language}}{{end}}">
+ <a class="ui {{if eq $.Language $term.Language}}primary {{end}}basic label" href="{{AppSubUrl}}/explore/code?q={{$.Keyword}}{{if ne $.Language $term.Language}}&l={{$term.Language}}{{end}}">
<i class="color-icon" style="background-color: {{$term.Color}}"></i>
{{$term.Language}}
<div class="detail">{{$term.Count}}</div>