From 3789df80e437f9e31560e7eed14e33d80e5ff3a0 Mon Sep 17 00:00:00 2001
From: Aiden Bai 白宇彤 <aiden.bai05@gmail.com>
Date: Tue, 03 May 2022 16:33:00 +0000
Subject: [PATCH] Merge branch 'hugo' into fix-popover

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

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

--
Gitblit v1.10.0