hugo

Unnamed repository; edit this file 'description' to name the repository.

git clone git://git.shimmy1996.com/hugo.git
commit fcbbbef22dac2967c9096c6f1a0aff9b50d7a4cb
parent 6041adc164f883912262524e0f7f4a2d512db1be
Author: Andreas Deininger <adeininger@urbanonline.de>
Date:   Thu, 13 Jan 2022 12:21:13 +0100

Fix typo in warning message


Diffstat:
Mhugolib/page__meta.go | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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)
 
 	}