Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Deininger <adeininger@urbanonline.de>2022-01-13 14:21:13 +0300
committerGitHub <noreply@github.com>2022-01-13 14:21:13 +0300
commitfcbbbef22dac2967c9096c6f1a0aff9b50d7a4cb (patch)
treefb8dbc7bf1d5bf53a8f5e2c29fa10e3be1b9d381 /hugolib/page__meta.go
parent6041adc164f883912262524e0f7f4a2d512db1be (diff)
Fix typo in warning message
Diffstat (limited to 'hugolib/page__meta.go')
-rw-r--r--hugolib/page__meta.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/hugolib/page__meta.go b/hugolib/page__meta.go
index 6a10b1d36..5581b6ebd 100644
--- a/hugolib/page__meta.go
+++ b/hugolib/page__meta.go
@@ -241,7 +241,7 @@ func (p *pageMeta) Path() string {
{{ $path = .Path }}
{{ 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)
}