Showing 7 of 587 result(s)
The videoAsset method method accepts an Asset instance and generates the following meta tags based on the asset's information: 1 < meta name = "video" property = "og:video" content = "..." > 2 < meta property = "og:video:type" content = "..." > 3...
The videoType method queues a <meta property="og:video:type" content="..."> tag. By default it does not contain a value, and is generally used to construct a large amount of meta tags at once.
The metadata manager will output X/Twitter meta tags by default. The values it uses are pulled from the config/site_essentials/metadata.php configuration file: 1 <?php 2 3 return [ 4 'twitter' => [ 5 'site' => null , 6 'site_id' => null , 7...
The se_cm_to_hljs modifier can be used to convert a Code Mirror language identifier to a Highlight.js language identifier. The target scenario is using Statamic's Code fieldtype in the Control Panel, and using Highlight.js to provide syntax...
The se_str_finish modifier may be used to ensure a given string always ends with the provided cap. 1 {{# the value. #}} 2 {{ 'the value.' | se_str_finish ( '.' ) / }} 3 4 {{# the value. #}} 5 {{ 'the value' | se_str_finish ( '.' ) / }}
The se_capture tag can be used to store the results of a template section, and output it later as a string. This is particularly helpful if you want to reuse the results of a partial, or navigation menu in multiple places without having to render...
Image sizes, and their associated metadata, are configured within the images.php configuration file. Each configured social media image must have the following properties: handle, : A unique handle to internally represent the social media...