From e4cc625c33ecd2992dcf60f408417c3067b4fa2b Mon Sep 17 00:00:00 2001
From: Aiden Bai <aiden.bai05@gmail.com>
Date: Tue, 03 May 2022 16:34:27 +0000
Subject: [PATCH] Add future note about init function
---
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