mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-18 18:34:59 -04:00
Correct RESOURCE.Title example
This commit is contained in:
parent
de03cd28c3
commit
f434e25e85
@ -78,7 +78,7 @@ With a [remote resource], the `Title` method returns a hashed file name.
|
|||||||
|
|
||||||
```go-html-template
|
```go-html-template
|
||||||
{{ with resources.GetRemote "https://example.org/images/a.jpg" }}
|
{{ with resources.GetRemote "https://example.org/images/a.jpg" }}
|
||||||
{{ .Title }} → a_18432433023265451104.jpg
|
{{ .Title }} → /a_18432433023265451104.jpg
|
||||||
{{ end }}
|
{{ end }}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user