mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-18 21:11:19 +02:00
Fix typo in warning message
This commit is contained in:
committed by
GitHub
parent
6041adc164
commit
fcbbbef22d
@@ -241,7 +241,7 @@ func (p *pageMeta) Path() string {
|
|||||||
{{ $path = .Path }}
|
{{ $path = .Path }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
`
|
`
|
||||||
helpers.Deprecated(".Path when the page is backed by a file", "We plan to use Path for a canonical source path and you probably want to check the source is a file. To get the current behaviour, you can use a construct simlar to the below:\n"+example, false)
|
helpers.Deprecated(".Path when the page is backed by a file", "We plan to use Path for a canonical source path and you probably want to check the source is a file. To get the current behaviour, you can use a construct similar to the one below:\n"+example, false)
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user