Layouts


Layouts of List Page Template

Ref: Hugo List Page Template , Bulma Grid System

Configuration Example 1

[templates.list]
    [templates.list.rows.1]
        [templates.list.rows.1.columns.full]
            widgets = ["breadcrumb"]
    [templates.list.rows.2]
        [templates.list.rows.2.columns.full]
            offset = 0
            width = 12
            widgets = ["content"]
    [templates.list.rows.3]
        [templates.list.rows.3.columns.left]
            width = 8
            widgets = ["children"]
        [templates.list.rows.3.columns.right]
            width = 4
            widgets = ["recently", "allcategories", "alltags"]

View:

|-------------------------------------------|
| widget:header (fixed)                     |
|-------------------------------------------|
| widget:breadcrumb                         |
|-------------------------------------------|
| widget:content                            |
|-------------------------------------------|
| widget:children   |   widget:recently     |
|                   |   widget:allcategories|
|                   |   widget:alltags      |
|-------------------------------------------|
| widget:footer (fixed)                     |
|-------------------------------------------|

Configuration Example 2

[templates.list]
    [templates.list.rows.1]
        [templates.list.rows.1.columns.full]
            widgets = ["breadcrumb"]
    [templates.list.rows.2]
        [templates.list.rows.2.columns.left]
            width = 6
            widgets = ["allcategories"]
        [templates.list.rows.2.columns.right]
            width = 6
            widgets = ["alltags"]
    [templates.list.rows.3]
        [templates.list.rows.3.columns.full]
            widgets = ["content"]
    [templates.list.rows.4]
        [templates.list.rows.4.columns.full]
            widgets = ["children"]
    [templates.list.rows.5]
        [templates.list.rows.5.columns.full]
            widgets = ["recently"]

View:

|-------------------------------------------|
| widget:header (fixed)                     |
|-------------------------------------------|
| widget:breadcrumb                         |
|-------------------------------------------|
| widget:allcategories  | widget:alltags    |
|-------------------------------------------|
| widget:content                            |
|-------------------------------------------|
| widget:children                           |
|-------------------------------------------|
| widget:recently                           |
|-------------------------------------------|
| widget:footer (fixed)                     |
|-------------------------------------------|

Layouts of Taxonomy Page Template

Same as Above (List Page Template).

Configuration Example

[templates.taxonomy]
        [templates.taxonomy.rows.1]
            [templates.taxonomy.rows.1.columns.full]
                widgets = ["breadcrumb"]
        [templates.taxonomy.rows.2]
            [templates.taxonomy.rows.2.columns.left]
                width = 8
                widgets = ["children"]
            [templates.taxonomy.rows.2.columns.right]
                width = 4
                widgets = ["allcategories", "alltags", "recently"]

Layouts of Signle Page Template

Same as Above (List Page Template).

Configuration Example

[templates.single]
    [templates.single.rows.1]
        [templates.single.rows.1.columns.full]
            widgets = ["breadcrumb"]
    [templates.single.rows.2]
        [templates.single.rows.2.columns.left]
            width = 8
            widgets = ["content"]
        [templates.single.rows.2.columns.right]
            width = 4
            widgets = ["tableofcontents", "related", "recently"]

Layouts of Error 404 Page Template

Same as Above (List Page Template).

Configuration Example

[templates.error404]
    [templates.error404.rows.1]
        [templates.error404.rows.1.columns.full]
            widgets = ["error404", "recently"]