Showing 10 of 1,090 results.

se_is_set_type

The se_is_set_type modifier is a utility modifier that can be used to easily check if a Bard or replicator field contains a specific set at some arbitrary position. As an example, this modifier can be used to simplify template code to dynamically...

se_str_finish Modifier

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 ( ' . ' ) / }}

se_cm_to_hljs Modifier

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...

Modifying the Windows Hosts File

This post will explain how to modify the hosts file on a Windows machine (this post will work for Windows Vista and newer). There are a few different reasons you may need to modify the hosts file, and the most common reason I have seen so far is...

Custom Metadata Tags

While the metadata manager provides numerous builder methods, they do not cover all possible metadata tags. The metadata manager allows us to queue, or add, additional metadata relatively easily.

Front-end Templating | Overview

In order for meta and link tags to appear in the output of your templates, you will need to use the se_meta Antlers tag. You should remove all hardcoded meta/link tags that you will be managing using the metadata builders so duplicates do not...

Pagination Links | Overview

If you are rendering a paginated list and would like to easily add pagination link tags, you can use the se_meta:paginate tag: 1 {{ collection : blog paginate = " 5 " as = " items " }} 2 3 {{# Add the current pagination links to metadata manager....

Filter Search