Version 0.7.0 has been released! See the release announcement for more information.

Also, if you like BluestNight, please consider supporting its development.

This page contains information on the general configuration of the sidebar in BluestNight. For how to configure a particular sidebar widget, see that widget’s documentation instead.

Alignment

The sidebar in BluestNight can be aligned on the left or right side of the page. To set this globally, set params.sidebar.align to "left" or "right" (default). See examples to see examples of setting the alignment in each configuration format.

Disabling the sidebar

You can globally disable the sidebar by setting params.sidebar.disable to true in your site’s configuration file. The content section of the page will expand to fill the page.

You can also disable the sidebar for a particular page by setting sidebar.disable to true in its front matter (see the examples below).

Examples

Global configuration:

[params.sidebar]
    align = "right"
    disable = false
params:
    sidebar:
        align: right
        disable: false
{
    "params": {
        "sidebar": {
            "align": "right",
            "disable": false
        }
    }
}

Per-Page Configuration

+++
title = "Sidebar Configuration"
[sidebar]
    align = "right"
    disable = false
+++
---
title: Sidebar Configuration
sidebar:
    align: right
    disable: false
---
{
    "title": "Sidebar Configuration",
    "sidebar": {
        "align": "right",
        "disable": false
    }
}