Breadcrumbs top with description

Page header with description & breadcrumbs at top

Page header with page title, description, breadcrumbs at top & content title.

Description

An example of page header with page title, description, breadcrumbs at top & content title.

HTML Markup

This section contains HTML Markup to create page with breadcrumbs top with description.

You can use below HTML breadcrumbs top with description page header snippet in any type of layout. You can also custom above HTML snippet as per your requirements. Modern has a ready to use 10 different types of page headers.

            
              <div class="content-header row">
                  <div class="breadcrumb-wrapper col-12">
                    <ol class="breadcrumb">
                      <li class="breadcrumb-item"><a href="/">Home</a>
                      </li>
                      <li class="breadcrumb-item"><a href="#">Page headers</a>
                      </li>
                      <li class="breadcrumb-item active">Breadcrumbs top with description
                      </li>
                    </ol>
                  </div>
                  <div class="content-header-left col-md-6 col-12">
                    <h3 class="content-header-title mb-0">Breadcrumbs top with description</h3>
                    <p class="text-muted mb-0">Page header with description & breadcrumbs at top</p>
                  </div>
                  <div class="content-header-right col-md-6 col-12">
                    <!-- Custom elements -->
                  </div>
                  <div class="content-header-lead col-12 mt-1">
                    <p class="lead">Page header with page title, description, breadcrumbs at top & content title.</p>
                  </div>
                </div>
            
            

PUG Configuration

Modern Admin use PUG as template engine to generate pages and whole template quickly using node js, for getting start with PUG usage & template generating process please refer template documentation.

PUG Variables

This table contains required PUG block to generate page with breadcrumbs top with description.

Block Parameter Description
page-header 'include page-headers/breadcrumbs-top-with-description' You need to append page-header block parameter as 'include page-headers/breadcrumbs-top-with-description'.
PUG Code

To generate page with breadcrumbs top with description header or template, you need to use following PUG code.

Line no 22-23: page-header block has a page/template specific configuration parameter, in that for breadcrumbs top with description header you need to define parameter include page-headers/breadcrumbs-top-with-description. However you can create your own page header PUG file in pages/page-headers folder.

If you want to use this layout on page level you need to define it on page it self. This template has one example pug file with breadcrumbs top with description breadcrumbs-top-with-description.pug.

            
                block pageVars
                    - var pageTitle    = "Breadcrumbs top with description"
                    - var pageSubTitle = "Page header with description & breadcrumbs at top"
                    - var description  = "Page header with page title, description and breadcrumbs at top."
                    - var activeMenu   = "headers-breadcrumbs-top-with-description"
                
                extends template
                
                append breadcrumbs
                    +breadcrumbs([{url:"index.html",name:"Home"},{url:"#",name:"Page headers"}, {name:"Breadcrumbs top with description"}])
                
                append page-header
                    include page-headers/breadcrumbs-top-with-description
                
                //- Include page content in page block
                append content
                    include ../contents/headers-breadcrumbs-top-with-description.html
                
                //- Page specific dependency
                //------------------------------
                
                //- Add custom page specific CSS
                block pagecss
                    link(rel='stylesheet', type='text/css', href='../../../app-assets/css/plugins/ui/prism.min.css')
                
                //- Add custom page specific JS
                block pagejs
                    script(type='text/javascript' ,src='../../../app-assets/vendors/js/ui/prism.min.js')