From e62d512d95bc52f3113cae5e3763665364fa7c72 Mon Sep 17 00:00:00 2001
From: meleu <meleu.dev@gmail.com>
Date: Sun, 03 Apr 2022 19:29:10 +0000
Subject: [PATCH] disable ToC if frontmatter has "enableToc: false"

---
 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..425ec67 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