Show title instead of name on view
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Peter Stuifzand 2020-05-18 23:19:08 +02:00
parent 4840eca7eb
commit b5de4173ab

View File

@ -8,7 +8,7 @@
<h3>Linked references</h3> <h3>Linked references</h3>
<ul> <ul>
{{ range $name, $refs := .Backrefs }} {{ range $name, $refs := .Backrefs }}
<li><a href="/{{ $name }}">{{ $name }}</a> <li><a href="/{{ $name }}">{{ (index $refs 0).Title }}</a>
<ul> <ul>
{{ range $ref := $refs }} {{ range $ref := $refs }}
<li>{{ $ref.Line }}</li> <li>{{ $ref.Line }}</li>