From 3c7ece5405436c85282f156cf387b11d08cc2d87 Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Thu, 28 Apr 2022 17:48:31 +0000
Subject: [PATCH] fix: append trailing slash, fixes #111
---
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 425ec67..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 := printf "%s%s" $host .}}
+ {{$l := printf "%s%s/" $host .}}
{{with (index $contentTable .)}}
<li>
<a href="{{$l}}">{{index (index . "title")}}</a>
--
Gitblit v1.10.0