File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -44,8 +44,3 @@ type = string
4444label = Description
4545description = Markdown
4646type = markdown
47-
48- [fields.embeddable]
49- label = Video is Embeddable
50- type = boolean
51- default = true
Original file line number Diff line number Diff line change @@ -50,3 +50,8 @@ type = string
5050[fields.event_url]
5151label = Event URL
5252type = string
53+
54+ [fields.embeddable]
55+ label = Video embeddable
56+ type = boolean
57+ default = true
Original file line number Diff line number Diff line change @@ -4,8 +4,7 @@ <h2><i class="fa fa-video-camera" aria-hidden="true"></i> {{ video.title }}</h2>
44 {{ "by"|trans }}{% if "space_after_by"|trans != 'false' %} {% endif %}{{ video.author }};
55 {{ "published"|trans }} {{ video.pub_date.strftime('%-d %B %Y') }}
66 </ p >
7- < iframe class ="video " src ="{{ video.url }} " frameborder ="0 " allowfullscreen > </ iframe >
8- < p > {{ video.description }}</ p >
7+ {{ render_video(video) }}
98 {% if video.event_url %}
109 < p > < a href ="{{ video.event_url }} "> {{ "as_seen_at"|trans }} {{ video.event_name }}</ a > </ p >
1110 {% else %}
You can’t perform that action at this time.
0 commit comments