From 16f8cd7100c7733b8ee29296fb0369ae24f899cd Mon Sep 17 00:00:00 2001
From: meleu <meleu@users.noreply.github.com>
Date: Sat, 02 Apr 2022 16:37:12 +0000
Subject: [PATCH] separate links with ​
---
layouts/partials/backlinks.html | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/layouts/partials/backlinks.html b/layouts/partials/backlinks.html
index 166e1fd..ee6c535 100644
--- a/layouts/partials/backlinks.html
+++ b/layouts/partials/backlinks.html
@@ -9,9 +9,12 @@
{{if $inbound}}
{{$cleanedInbound := apply (apply $inbound "index" "." "source") "replace" "." " " "-"}}
{{- range $cleanedInbound | uniq -}}
- <li>
- <a href="{{$url}}{{.}}">{{index (index $contentTable .) "title"}}</a>
- </li>
+ {{$l := .}}
+ {{with (index $contentTable .)}}
+ <li>
+ <a href="{{$l}}">{{index (index . "title")}}</a>
+ </li>
+ {{end}}
{{- end -}}
{{else}}
<li>
--
Gitblit v1.10.0