1.2 KiB
Columns
Organize content horizontally. Renders a markdown list as up to 3 side-by-side columns.
Syntax
{{%/* columns [ratio="1:1"] [class="..."] */%}}
- ### Left
Content...
- ### Right
Content...
{{%/* /columns */%}}
Example
{{% columns %}}
-
File-Tree Menu
The sidebar menu is automatically generated from your content directory structure. Pages are ordered by
weightfrontmatter. -
Hugo Menus
Additional menu entries can be added above or below the file-tree using Hugo's standard menu system in your site config.
-
Landing Menu
Pages with
layout: landinguse a separate menu defined undermenu.homefor header navigation. {{% /columns %}}
Custom Ratio
Set relative column widths with the ratio parameter
{{%/* columns ratio="1:2" */%}}
- ### Sidebar
- ### Content Area
{{%/* /columns */%}}
{{% columns ratio="1:2" %}}
-
File-Tree Menu
The sidebar menu is automatically generated from your content directory structure. Pages are ordered by
weightfrontmatter. -
Hugo Menus
Additional menu entries can be added above or below the file-tree using Hugo's standard menu system in your site config. {{% /columns %}}