/pelican-foundation

Pelican-Foundation is a theme for Pelican based off ZURB Foundation.

Primary LanguageHTMLMIT LicenseMIT

Pelican-Foundation

Pelican-Foundation is a theme for Pelican that makes heavy use of the ZURB Foundation front-end framework.

AUTHORS

LICENSE

Released under the MIT License. See full details in the LICENSE file.

DEMO

You can see the theme in action or the site code here.

theme screenshot

INSTALLATION

Download or clone the repository. Edit pelicanconf.py and modify the THEME variable to point to the downloaded theme location.

PELICANCONF.PY

The following are the Pelican global variables currently supported by the theme. You may wish to view Kevin Richardson's pelicanconf.py for more information.

display settings

  • LOGO_URL -- the URL of the logo for the site. If this is not set, the image will default to static/img/default-logo.png.
  • TAGLINE -- the text to display underneath AUTHOR in the left-hand menu.
  • DISPLAY_PAGES_ON_MENU = True/False. If True, display a list of pages defined within content/pages
  • MENUITEMS -- (('name1', 'url1'), ('name2', 'url2'))
  • LINKS -- (('name1', 'url1'), ('name2', 'url2'))`
  • FOOTER_MESSAGE -- the message to display in the footer of the page. Defaults to "Powered by Pelican and Pelican-Foundation."
  • TWITTER_USERNAME -- if set, a link to the specified Twitter account will be displayed in the footer
  • FACEBOOK_USERNAME -- if set, a link to the specified Facebook account will be displayed in the footer
  • INSTAGRAM_USERNAME -- if set, a link to the specified Instagram account will be displayed in the footer
  • PINTEREST_USERNAME -- if set, a link to the specified Pinterest account will be displayed in the footer
  • YOUTUBE_USERNAME -- if set, a link to the specified YouTube account will be displayed in the footer

other

  • DEFAULT_DATE_FORMAT = ('%b %d, %Y') -- date format for post publication dates
  • FEED_DOMAIN = SITEURL. The prefix URL for the Atom/RSS feeds.
  • FEED_ATOM -- ATOM feed name. ex: 'feeds/all.atom.xml'
  • FEED_RSS -- RSS feed name. ex: 'feeds/all.rss'
  • GOOGLE_ANALYTICS -- the site's Google Analytics key string.

When developing locally, set the following variable:

SITEURL = http://localhost:8000

Thanks to...