Update README.md
This commit is contained in:
parent
081eb6c9ab
commit
19827e6f41
|
@ -217,7 +217,7 @@ And `layouts/_default/_markup/render-image.html` for images:
|
|||
{{- if strings.HasSuffix $url.Path ".md" -}}
|
||||
{{- relref .Page .Destination | safeURL -}}
|
||||
{{- else -}}
|
||||
{{- printf "/%s%s" .Page.File.Dir .Destination | safeURL -}}
|
||||
{{- path.Join "/" .Page.File.Dir .Destination | safeURL -}}
|
||||
{{- end -}}
|
||||
{{- else -}}
|
||||
{{- .Destination | safeURL -}}
|
||||
|
|
Loading…
Reference in New Issue