London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
AI OnAI Off
London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
You could create your own DisplayTemplates that will be used instead of the default ones. See this post for more information: http://joelabrahamsson.com/how-episervers-html-helper-propertyfor-works/.
Hope this helps.
Frederik
Hello,
Any recommendations on the best way to generate clean markup when you have optional properties in a block or page?
For example, I might have something like this:
If that property isn't populated, we end up with an empty
tag.
I've done something like this:
That can get repetetive, are there any common ways to tackle this issue?
Thanks,