-
-
Notifications
You must be signed in to change notification settings - Fork 331
Flex Menus
Alexandre Vicenzi edited this page Jan 11, 2017
·
4 revisions
By default, all article content is shown on Home.
If the article has a custom Summary, the custom summary is shown.
If setting SUMMARY_MAX_LENGTH
is set, the default article summary is shown.
If MAIN_MENU = True
, the order is: Home, MENUITEMS
, Atom and RSS if available.
The order is Pages and LINKS
. LINKS
are shown in a new page.
All icons are provided by Font Awesome.
A set of icons have a custom background, for this, you must follow the names below:
- envelope-o (for email)
- github
- gitlab
- github-alt
- rss
- stack-overflow
- soundcloud
- youtube
MAIN_MENU = True
LINKS = (('Portfolio', 'http://alexandrevicenzi.com'),)
SOCIAL = (('linkedin', 'https://br.linkedin.com/in/alexandrevicenzi/en'),
('github', 'https://github.com/alexandrevicenzi'),
('google', 'https://google.com/+AlexandreVicenzi'),
('twitter', 'https://twitter.com/alxvicenzi'),
('rss', '//blog.alexandrevicenzi.com/feeds/all.atom.xml'))
MENUITEMS = (('Archives', '/archives.html'),
('Categories', '/categories.html'),
('Tags', '/tags.html'),)
If you need more icons, you will need to add a custom background to keep all icons similar.