UID templating with Ruby

The UID field is a unique identifier that can be used specifically to create SEO-friendly website URLs.

Usage

Here's how you would get the UID value from the retrieved document object.

Copy
<p> Page uid: <%= @document.uid =></p>