docs: Remove mention of a file size limit for readFile
authorAleksandr Demakin <alexander.demakin@gmail.com>
Sat, 23 Jan 2021 13:14:51 +0000 (13:14 +0000)
committerGitHub <noreply@github.com>
Sat, 23 Jan 2021 13:14:51 +0000 (14:14 +0100)
The limit itself was removed in this PR: https://github.com/gohugoio/hugo/pull/8172.

docs/content/en/functions/readfile.md

index ca7f230756308e8b263809b546863874a0802621..bcd845c96413854cb5ba31ac250f078db94bb354 100644 (file)
@@ -28,8 +28,6 @@ So, if you have a file with the name `README.txt` in the root of your project wi
 
 If you receive a "file doesn't exist" error with a path listed, do take note that the path is the last one checked by the function, and may not accurately reflect your target. You should generally double-check your path for mistakes.
 
-Note that there is a 1 MB file size limit.
-
 For more information on using `readDir` and `readFile` in your templates, see [Local File Templates][local].
 
 [local]: /templates/files/