2021-07-19 00:02:53 +07:00
|
|
|
<h3>Backlinks</h3>
|
|
|
|
<ul class="backlinks">
|
2021-07-18 20:35:42 +07:00
|
|
|
{{$curPage := strings.TrimRight "/" .Page.RelPermalink }}
|
|
|
|
{{$inbound := index $.Site.Data.linkIndex.index.backlinks $curPage}}
|
2021-07-19 00:02:53 +07:00
|
|
|
{{if $inbound}}
|
2021-07-18 20:35:42 +07:00
|
|
|
{{- range $inbound -}}
|
|
|
|
<li>
|
|
|
|
<a href="{{index . "source"}}">{{index . "source"}}</a>
|
|
|
|
</li>
|
|
|
|
{{- end -}}
|
2021-07-19 00:02:53 +07:00
|
|
|
{{else}}
|
|
|
|
<li>
|
|
|
|
No backlinks found
|
|
|
|
</li>
|
|
|
|
{{end}}
|
|
|
|
</ul>
|