Templating the Key Text field
The Key Text field allows content writers to enter a single string.
- ejs
- pug
- pug (API v1)
Copy
<h1 class="title"><%= document.data.title %></h1>
Copy
h1.title !{ document.data.title }
Copy
h1.title !{ document.getText('blog-post.title') }