diff --git a/examples/official-site/sqlpage/migrations/02_hero_component.sql b/examples/official-site/sqlpage/migrations/02_hero_component.sql index 5ef2b59b..8066f873 100644 --- a/examples/official-site/sqlpage/migrations/02_hero_component.sql +++ b/examples/official-site/sqlpage/migrations/02_hero_component.sql @@ -66,6 +66,13 @@ FROM ( TRUE, TRUE ), + ( + 'poster', + 'URL of the image to be displayed before the video starts.', + 'URL', + TRUE, + TRUE + ), -- item level ( 'title', diff --git a/sqlpage/templates/hero.handlebars b/sqlpage/templates/hero.handlebars index c62b92e7..c6d182c0 100644 --- a/sqlpage/templates/hero.handlebars +++ b/sqlpage/templates/hero.handlebars @@ -4,7 +4,7 @@
{{~description~}} {{~#if description_md~}} - {{{markdown description_md}}} + {{{markdown description_md}}} {{~/if~}}
{{#if link}} @@ -15,7 +15,12 @@ {{title}} {{/if}} {{#if video}} -