daily pastebin goal
57%
SHARE
TWEET

Bootstrap4 Nonuple Cols + Jumbotron

stom66 Oct 7th, 2018 17 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. {*
  2. *   Template name: Bootstrap4 Jumbotron
  3. *   -------------------------------------
  4. *
  5. *   This is the jumbotron version of the nine column Bootstrap4 template. It extends the "Bootstrap4 Core"
  6. *   template and provides 9 content sections that can be styled using custom classes as well as a prepending jumbotron.
  7. *
  8. *   This template can be set as a "default" template and should be "listable".
  9. *
  10. *   Part of the CMSMS Bootstrap4 template by stom | stom66.co.uk
  11. *}
  12. {extends file='cms_template:Bootstrap4 Nonuple Cols'}
  13.  
  14. {block name='top' prepend}
  15. {strip}
  16.     {$jumbotron = "{content block='jumbotron' label='Content' tab='Jumbotron'}" scope=global}
  17.     {$jumbotron_style = "{content block='jumbotron_style' label='Class' tab='Jumbotron' oneline='true'}"|default:"col-12" scope=global}
  18.     {$jumobtron_container_class = "{content block='jumobtron_container_class' label='Container Class' tab='Jumbotron' oneline='true'}"|default:"container-fluid" scope=global}
  19.     {$jumobtron_row_class = "{content block='jumobtron_row_class' label='Row Class' tab='Jumbotron' oneline='true'}"|default:"row" scope=global}
  20.     {$jumbotron_disable_markdown = "{content block='jumbotron_disable_markdown' oneline='true' label='Disable Markdown?' tab='Jumbotron'}"
  21.         scope=global}
  22. {/strip}{/block}
  23.  
  24. {block name='content' prepend}
  25.     {if $jumbotron}
  26.         <div class="{$jumobtron_container_class}">
  27.             <div class="{$jumobtron_row_class}">
  28.                 <div class="{$jumobtron__style}">
  29.                     {if $jumbotron!=="true" && $mod_Markdown}
  30.                         {eval var=$jumobtron|markdown}
  31.                     {else}
  32.                         {$jumobtron}
  33.                     {/if}
  34.                 </div>
  35.             </div>
  36.         </div>
  37.     {/if}
  38. {/block}
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top