Markdown::File
A class representing a Markdown file
Constructors
Instance methods
True when the content shown for lang comes from another language's source file (only possible when content fallback is enabled)
Whether this post exists for the given language (it always does when content fallback is enabled)
The rendered HTML for this file, memoized per language because computing it means a markdown compile plus a full HTML parse, and it is needed several times per post (html, summary, teaser).
Get language alternate links for this post Returns an array of Hash for Crinja compatibility
Render the fragment from an already-built value() context, so callers that also need the value (page title, breadcrumbs, language links) build it once per page
kv:// inputs for the shortcode templates this post uses, so tasks that render it can declare them as dependencies
Check if the updated date should be shown (at least 1 minute different from post date)
Social-sharing metadata for this page (OpenGraph/Twitter cards): an explicit
descriptionfrom the frontmatter, falling back to a plain-text excerpt of the summary, and apreview_image(also acceptscover_imageorimage) for the card thumbnail.