From 9c5ecccf25c35cd94bc6c7468d45e4c3e6a932bc Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Fri, 01 Apr 2022 21:17:35 +0000
Subject: [PATCH] Merge pull request #82 from meleu/patch-1

---
 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