Skip to content

Commit 26662ed

Browse files
committed
Copy all files from assets/images to publish folder
Images referenced directly in HTML codes are not copied by default gohugoio/hugo#6266
1 parent 7be67bf commit 26662ed

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,6 @@
1+
2+
{{ with resources.Match "/images/**" }}
3+
{{ range . }} {{ $foo := .RelPermalink }} {{ end }}
4+
{{ end }}
5+
16
<img src="{{ .Site.BaseURL}}{{ .Get "src" }}" style="display:inline; vertical-align:middle; margin:0">

0 commit comments

Comments
 (0)