Skip to content

stencil.ReadFile

ReadFile reads a file from the current directory and returns it's contents

go
{{ stencil.ReadFile "myfile.txt" }}