...
Code Block |
---|
featured-image-path.png |
attachment.content
Returns the file’s content, but only if the file contains plain text and is readable
Input:
Code Block |
---|
{{ post.featured_image.content }} |
Files that are considered plain text and readable are:
Plain text files, like TXT, or code files like JSON, HTML, CSV, etc.
SVG image files