mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-13 18:15:45 +00:00
Correct RESOURCE.Title example
This commit is contained in:
1 parent
de03cd28c3
commit
f434e25e85
1 file changed
+1
-1
@@ -78,7 +78,7 @@ With a [remote resource], the `Title` method returns a hashed file name.
|
||||
|
||||
```go-html-template
|
||||
{{ with resources.GetRemote "https://example.org/images/a.jpg" }}
|
||||
{{ .Title }} → a_18432433023265451104.jpg
|
||||
{{ .Title }} → /a_18432433023265451104.jpg
|
||||
{{ end }}
|
||||
```
|
||||
|
||||
|
||||
Reference in new issue
Block a user