From ed3071b753c8dec83a2c054624e49b204553ecd3 Mon Sep 17 00:00:00 2001 From: Aleksandr Demakin Date: Sat, 23 Jan 2021 13:14:51 +0000 Subject: [PATCH] docs: Remove mention of a file size limit for readFile The limit itself was removed in this PR: https://github.com/gohugoio/hugo/pull/8172. --- docs/content/en/functions/readfile.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/docs/content/en/functions/readfile.md b/docs/content/en/functions/readfile.md index ca7f2307563..bcd845c9641 100644 --- a/docs/content/en/functions/readfile.md +++ b/docs/content/en/functions/readfile.md @@ -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/