From 416dc0b85cabfbb1dced0262b11256fa258f5ee9 Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Sat, 30 Apr 2022 20:13:30 +0000
Subject: [PATCH] fix: add update for local hugo-obsidian on make update

---
 layouts/partials/backlinks.html |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/layouts/partials/backlinks.html b/layouts/partials/backlinks.html
index 15f14a4..deb82e8 100644
--- a/layouts/partials/backlinks.html
+++ b/layouts/partials/backlinks.html
@@ -9,7 +9,7 @@
     {{if $inbound}}
     {{$cleanedInbound := apply (apply $inbound "index" "." "source") "replace" "." " " "-"}}
     {{- range $cleanedInbound | uniq -}}
-      {{$l := .}}
+      {{$l := printf "%s%s/" $host .}}
       {{with (index $contentTable .)}}
       <li>
           <a href="{{$l}}">{{index (index . "title")}}</a>

--
Gitblit v1.10.0