Hide backrefs on editor page (are visible in sidebar)
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
f8a94455cd
commit
a2c83d87b6
|
@ -18,23 +18,6 @@
|
|||
<input type="hidden" name="p" value="{{ .Name }}"/>
|
||||
{{ .Editor }}
|
||||
</form>
|
||||
|
||||
{{ if .Backrefs }}
|
||||
<div class="backrefs content">
|
||||
<h3>Linked references</h3>
|
||||
<ul>
|
||||
{{ range $name, $refs := .Backrefs }}
|
||||
<li><a href="/edit/{{ $name }}">{{ (index $refs 0).Title }}</a>
|
||||
<ul>
|
||||
{{ range $ref := $refs }}
|
||||
<li>{{ $ref.LineEditHTML }}</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
</div>
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
{{ end }}
|
||||
|
|
Loading…
Reference in New Issue
Block a user