mirror of
https://github.com/alrayyes/wiki.git
synced 2024-11-23 03:56:23 +00:00
16 lines
No EOL
399 B
HTML
16 lines
No EOL
399 B
HTML
<h3>Backlinks</h3>
|
|
<ul class="backlinks">
|
|
{{$curPage := strings.TrimRight "/" .Page.RelPermalink }}
|
|
{{$inbound := index $.Site.Data.linkIndex.index.backlinks $curPage}}
|
|
{{if $inbound}}
|
|
{{- range $inbound -}}
|
|
<li>
|
|
<a href="{{index . "source"}}">{{index . "source"}}</a>
|
|
</li>
|
|
{{- end -}}
|
|
{{else}}
|
|
<li>
|
|
No backlinks found
|
|
</li>
|
|
{{end}}
|
|
</ul> |