Skip to content
Alexandre Vicenzi edited this page Feb 27, 2016 · 15 revisions

Custom Settings

See Custom Settings

Example

See Configuration Example

How 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. LINKS are shown in a new page.

How social menu works?

All icons are provided by Font Awesome.

A set of icons have custom background, for this you must follow the names below:

  • envelope-o (for email)
  • facebook
  • github
  • github-alt
  • google
  • linkedin
  • pinterest
  • rss
  • stack-overflow
  • twitter
  • youtube

Example:

SOCIAL = (('linkedin', 'https://br.linkedin.com/in/alexandrevicenzi/en'),
          ('github', 'https://github.com/alexandrevicenzi'),)

If you need more icons, you will need to add a custom background to keep all icons similar.

Custom File Metadata

Name What does it do?
Cover Cover image for social sharing (absolute url).
og_locale Open graph locale for article.

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.

Code Highlight

If you want to replace Pygments theme (default is GitHub) take a look at Pygments Docs and replace pygments.min.css.