Content entry

Example

Display the name of the first projects. "name" being one of the custom fields described in the content type "Projects".

{{ contents.projects.first.name }}

Attributes

Name Type Description
_label String the label as displayed in the back-office to identify the entry
_permalink String unique identifier for urls
_slug String alias for _permalink
next ContentEntry the next entry for the parent content type based on the order defined in the back-office. Nil if no entry found
previous ContentEntry the next entry for the parent content type based on the order defined in the back-office. Nil if no entry found
seo_title String alternative title for the entry used for SEO purpose
meta_keywords String keywords used for SEO purpose
meta_description String description used for SEO purpose
created_at Date Entry creation date time (automatically set)
© 2024 LocomotiveCMS Terms of use Privacy Policy
Back to top