Skip to content
Discussion options

You must be logged in to vote

An Antlers-only way might look something like this (with the main addition being the antlers modifier):

{{
    _entry = ({collection:views slug:is="hero" limit="1"} | first);
    _entry.markup.code | antlers
/}}

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@jasonpolito
Comment options

@ryanmitchell
Comment options

@JohnathonKoster
Comment options

Answer selected by jasonpolito
@jasonpolito
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
3 participants