s:metadata

Access a file metadata.

INPUT
<metadata file="index.sunsed">
    {{@s: name without extension }}
</metadata>
OUTPUT
index
☼ ☼ ☼ anotomy ☼ ☼ ☼
file=""  path=""  loc=""  

Used to provide the file path.

hidden=""  

By default, <metadata> only returns information about a file if it's not hidden. Use the hidden= attribute to disable this behaviour and force it to show metadata information even for hidden files.

@...

Any metadata set by you or other contributors.

EXAMPLE
{{@title}} => file title.
{{@description}} => file description
@s: path
EXAMPLE
blog/my-blog-post.sunsed
@s: url path
EXAMPLE
blog/my-blog-post
@s: name
EXAMPLE
my-blog-post.sunsed
@s: name without extension
EXAMPLE
my-blog-post
@s: name friendly
EXAMPLE
my blog post
@s: hidden?
EXAMPLE
#false
@s: md5 checksum
EXAMPLE
97565d1dc97be2e579c0fb68bccb8793
@s: number of words
EXAMPLE
58 
@s: number of chars
EXAMPLE
315
@s: published?

Indicates if the file is considered published. SunSed looks at different metadata like publish-date to try to guess if a page is published or not.

EXAMPLE
#true