Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {*
- * Template name: Bootstrap4 Jumbotron
- * -------------------------------------
- *
- * This is the jumbotron version of the nine column Bootstrap4 template. It extends the "Bootstrap4 Core"
- * template and provides 9 content sections that can be styled using custom classes as well as a prepending jumbotron.
- *
- * This template can be set as a "default" template and should be "listable".
- *
- * Part of the CMSMS Bootstrap4 template by stom | stom66.co.uk
- *}
- {extends file='cms_template:Bootstrap4 Nonuple Cols'}
- {block name='top' prepend}
- {strip}
- {$jumbotron = "{content block='jumbotron' label='Content' tab='Jumbotron'}" scope=global}
- {$jumbotron_style = "{content block='jumbotron_style' label='Class' tab='Jumbotron' oneline='true'}"|default:"col-12" scope=global}
- {$jumobtron_container_class = "{content block='jumobtron_container_class' label='Container Class' tab='Jumbotron' oneline='true'}"|default:"container-fluid" scope=global}
- {$jumobtron_row_class = "{content block='jumobtron_row_class' label='Row Class' tab='Jumbotron' oneline='true'}"|default:"row" scope=global}
- {$jumbotron_disable_markdown = "{content block='jumbotron_disable_markdown' oneline='true' label='Disable Markdown?' tab='Jumbotron'}"
- scope=global}
- {/strip}{/block}
- {block name='content' prepend}
- {if $jumbotron}
- <div class="{$jumobtron_container_class}">
- <div class="{$jumobtron_row_class}">
- <div class="{$jumobtron__style}">
- {if $jumbotron!=="true" && $mod_Markdown}
- {eval var=$jumobtron|markdown}
- {else}
- {$jumobtron}
- {/if}
- </div>
- </div>
- </div>
- {/if}
- {/block}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement