From 1fc2da4fe293f47ec47a7b5d33fa94fa3a06bb3b Mon Sep 17 00:00:00 2001
From: Blake Allen <blakesnake100@gmail.com>
Date: Tue, 26 Oct 2021 23:58:37 +0000
Subject: [PATCH] Merge branch 'hugo' of https://github.com/bur3ku/quartz into hugo
---
layouts/partials/backlinks.html | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/layouts/partials/backlinks.html b/layouts/partials/backlinks.html
index 2e97820..744f7e3 100644
--- a/layouts/partials/backlinks.html
+++ b/layouts/partials/backlinks.html
@@ -6,9 +6,12 @@
{{$inbound := index $.Site.Data.linkIndex.index.backlinks $curPage}}
{{if $inbound}}
{{- range $inbound -}}
- <li>
- <a href="{{index . "source"}}">{{index . "source"}}</a>
- </li>
+ {{$src := index . "source"}}
+ {{$src = replace $src " " "-"}}
+
+ <li>
+ <a href="{{$src}}">{{index . "source"}}</a>
+ </li>
{{- end -}}
{{else}}
<li>
--
Gitblit v1.10.0