Log in Sign up

Custom Metadata Defaults

If I’m using custom metadata, is there a way to set a default in the template?

1 replies Asked Sep 17 '21 at 14:55 · Improve this question

Yes, let’s say you are using the custom metadata key Author for this example. In your template you would do the following:

  Written by {{entry.metadata.author}}

  Written by the Editorial Board

This involves a Mustache inverted section. Please let me know if you have any questions about this or anything else.

Answered Sep 18 '21 at 19:50 · Improve this answer

Please, log in to add a reply.