Skip to content

Commit

Permalink
docs: Remove mention of a file size limit for readFile
Browse files Browse the repository at this point in the history
The limit itself was removed in this PR: gohugoio#8172.
  • Loading branch information
avdva authored Jan 23, 2021
1 parent ee9c136 commit ed3071b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions docs/content/en/functions/readfile.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/

0 comments on commit ed3071b

Please sign in to comment.