Buffer
or a simple string, using methods: buffer()
or string()
.FileRef
is available for all Spignite operations and file manipulation, it is NOT available inside any content! In another words, FileRef
is not available for rendering/templating.FileRef
is available for Spignite ops; the context for the rendering/templating.FileRef
has a context()
method that returns actual context that IS available on page! It consist of:site
- global meta datalink
- full link to the fileurl
- permalinksrc
- dir + name of the source filecontent
- string content of a file