-
-
Notifications
You must be signed in to change notification settings - Fork 331
Flex Menus
Alexandre Vicenzi edited this page Apr 21, 2020
·
4 revisions
If MAIN_MENU = True
, the order is:
Home, MENUITEMS
, Atom and RSS if available.
The order is Pages and LINKS
.
You can control LINKS
with LINKS_IN_NEW_TAB
, more details in Settings.
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;
}
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.