mirror of
https://github.com/jackyzha0/hugo-obsidian.git
synced 2024-06-14 11:42:35 +03:00
9 lines
289 B
HTML
9 lines
289 B
HTML
|
<ol class="backlinks">
|
||
|
{{$curPage := strings.TrimRight "/" .Page.RelPermalink }}
|
||
|
{{$inbound := index $.Site.Data.linkIndex.index.backlinks $curPage}}
|
||
|
{{- range $inbound -}}
|
||
|
<li>
|
||
|
<a href="{{index . "source"}}">{{index . "source"}}</a>
|
||
|
</li>
|
||
|
{{- end -}}
|
||
|
</ol>
|