Tag video in Content files?

Is it possible to have a tag called video in my content files?

Title: foo
----
Video: bar
----
Date: 05.07.2016
----

I do not seem to be able to access it in my template using

<?php echo kirbytext($page->video()) ?>

Daniel

Video is a reserved word, you can either rename your field, or access it via the content method:

<?php echo $page->content()->video()->kirbytext() ?>

https://getkirby.com/docs/panel/blueprints/form-fields#field-names

1 Like