From fcbbbef22dac2967c9096c6f1a0aff9b50d7a4cb Mon Sep 17 00:00:00 2001 From: Andreas Deininger Date: Thu, 13 Jan 2022 12:21:13 +0100 Subject: [PATCH] Fix typo in warning message --- hugolib/page__meta.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) }