aboutsummaryrefslogtreecommitdiffhomepage
path: root/docs/content/en/methods/page/_common/output-format-methods.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/content/en/methods/page/_common/output-format-methods.md')
-rw-r--r--docs/content/en/methods/page/_common/output-format-methods.md27
1 files changed, 27 insertions, 0 deletions
diff --git a/docs/content/en/methods/page/_common/output-format-methods.md b/docs/content/en/methods/page/_common/output-format-methods.md
new file mode 100644
index 000000000..5e7111fe5
--- /dev/null
+++ b/docs/content/en/methods/page/_common/output-format-methods.md
@@ -0,0 +1,27 @@
+---
+# Do not remove front matter.
+---
+
+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.