diff --git a/layouts/shortcodes/embed.html b/layouts/shortcodes/embed.html index 3d0e9ba..a743834 100644 --- a/layouts/shortcodes/embed.html +++ b/layouts/shortcodes/embed.html @@ -7,7 +7,8 @@ {{- $btitle := .Get "btitle" -}} {{- range $pages -}} - {{- .Scratch.Add "backlinks" (slice (dict "page" $this "btext" $btext "btitle" $btitle)) -}} + {{- $anchor := anchorize .Title -}} + {{- .Scratch.Add "backlinks" (slice (dict "anchor" $anchor "page" $this "btext" $btext "btitle" $btitle)) -}} ### [{{ .Title }}]({{ .Permalink }}) {{ .RenderShortcodes }}