mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-29 20:32:09 -05:00
5fd1e74903
``` git subtree add --prefix=docs/ https://github.com/gohugoio/hugoDocs.git master --squash ``` Closes #11925
779 B
779 B
- Get IDENTIFIER
- (
any
) Returns theOutputFormat
object with the given identifier. - MediaType
- (
media.Type
) Returns the media type of the output format. - MediaType.MainType
- (
string
) Returns the main type of the output format's media type. - MediaType.SubType
- (
string
) Returns the subtype of the current format's media type. - Name
- (
string
) Returns the output identifier of the output format. - Permalink
- (
string
) Returns the permalink of the page generated by the current output format. - Rel
- (
string
) Returns therel
value of the output format, either the default or as defined in the site configuration. - RelPermalink
- (
string
) Returns the relative permalink of the page generated by the current output format.