Logo of Land Soil Crop Hub {{< var country >}} Land Soil Crop Hub Kenya
  • Data and Information
  • Maps
  • User stories
  • Community
  • Docs

Page-section Example

This filter creates a HTML markup for a page section.

This code

::: {.page-section section_name='intro'}
The content.
:::

produces:

<div class="page-section page-section-intro">
  <div class="page-section-content container page-section-intro__content">
    The content
  </div>
</div>

Options

  • has_bg_color (boolean): adds a background color, e.g. has_bg_color=true
  • section_name (string): adds a CSS class to the page-section and page-section-content div.
  • LSC Hubs 2024

 
  • Edit this page
  • Report an issue