hugo/content/en/methods/page/_common/output-format-methods.md
Bjørn Erik Pedersen 9b0050e9aa Squashed 'docs/' content from commit 5c085a37b
git-subtree-dir: docs
git-subtree-split: 5c085a37b297bf12f59efeaae591418ec025c10d
2024-01-27 10:48:33 +01:00

779 B

Get IDENTIFIER
(any) Returns the OutputFormat 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 the rel 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.