huge upgrade to theme and pagefind search bar.
This commit is contained in:
6
themes/hugo-book.backup/layouts/_markup/render-link.html
Normal file
6
themes/hugo-book.backup/layouts/_markup/render-link.html
Normal file
@@ -0,0 +1,6 @@
|
||||
{{- $destination := .Destination -}}
|
||||
{{- if .Page.Site.Params.BookPortableLinks -}}
|
||||
{{- $destination = partial "docs/links/portable-link" . -}}
|
||||
{{- end -}}
|
||||
<a href="{{ $destination | safeURL }}"{{ with .Title}} title="{{ . }}"{{ end }}>{{ .Text | safeHTML }}</a>
|
||||
{{- /**/ -}}
|
||||
Reference in New Issue
Block a user