readded hugo-book theme files.
This commit is contained in:
6
themes/hugo-book/layouts/_markup/render-image.html
Normal file
6
themes/hugo-book/layouts/_markup/render-image.html
Normal file
@@ -0,0 +1,6 @@
|
||||
{{- $destination := .Destination -}}
|
||||
{{- if .Page.Site.Params.BookPortableLinks -}}
|
||||
{{- $destination = partial "docs/links/portable-image" . -}}
|
||||
{{- end -}}
|
||||
<img src="{{ $destination | safeURL }}" alt="{{ .Text }}" {{ with .Title }}title="{{ . }}"{{ end }}/>
|
||||
{{- /**/ -}}
|
||||
Reference in New Issue
Block a user