Skip to content
Alexandre Vicenzi edited this page Apr 21, 2020 · 4 revisions

How the main menu works?

If MAIN_MENU = True, the order is:

Home, MENUITEMS, Atom and RSS if available.

How sidebar menu works?

The order is Pages and LINKS.

You can control LINKS with LINKS_IN_NEW_TAB, more details in Settings.

How social menu works?

All icons are provided by Font Awesome.

A set of icons have custom background. If the one you choose does not, include in your custom CSS or send a PR to the project.

You can customize colors with:

a.sc-<icon> {
  background-color: #color;
}

Example

MAIN_MENU = True

LINKS = (
    ("Portfolio", "http://alexandrevicenzi.com"),
)

SOCIAL = (
    ("linkedin", "https://www.linkedin.com/in/alexandrevicenzi/en"),
    ("github", "https://github.com/alexandrevicenzi"),
    ("twitter", "https://twitter.com/alxvicenzi"),
)

MENUITEMS = (
    ("Archives", "/archives.html"),
    ("Categories", "/categories.html"),
    ("Tags", "/tags.html"),
)

Archives, Authors, Categories, and Tags will be properly translated when used in MENUITEMS, but not other words.