Awee

title

Title converts a hyphen-separated slug into a title-cased string.

Title converts a hyphen-separated slug into a title-cased string. Known acronyms (AI, API, GPT, etc.) are uppercased automatically. Additional acronyms can be passed as parameters.

Input

string

Parameters

#TypeRequired
...stringno

Returns

string

Examples

{{ slug | title }}
{{ "hello-world" | title }}
{{ post_slug | title:'seo','cta' }}

How is this guide?

On this page