aboutsummaryrefslogtreecommitdiff
path: root/tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'tmpl')
-rw-r--r--tmpl/hitView.tmpl4
1 files changed, 3 insertions, 1 deletions
diff --git a/tmpl/hitView.tmpl b/tmpl/hitView.tmpl
index 6e7b5c8..cb05929 100644
--- a/tmpl/hitView.tmpl
+++ b/tmpl/hitView.tmpl
@@ -86,7 +86,9 @@
<table class="table is-striped is-fullwidth details details--referrers">
{{ range .ReferrerSet }}
<tr>
- <td class="details__name">{{ .Name }}</td>
+ <td class="details__name">
+ <a href="/sites/{{ $siteID }}?{{ $payload.QuerySetEncode "referrer" .Name }}">{{ .Name }}</a>
+ </td>
<td class="details__count"><span class="details__percent has-text-right">{{ percent .Count $sum | round 1 }}%</span>&nbsp;({{ .Count }})</td>
</tr>
{{ end }}