newbird is a theme for Pelican, a static site generator written in Python. The theme relies heavily on new.css.
- Lightweight, using minimal CSS and Javascript, resulting in snappy page loads
- Google Analytics support via the
GOOGLE_ANALYTICS
variable - Twitter Cards metadata for when articles are shared on Twitter
- Facebook Open Graph metadata for when articles are shared on Facebook
- Jupyter Notebooks are supported via the liquid tags plugin
- MathJax for adding mathematical notation into posts
- This theme purposefully doesn't include social sharing buttons in order to keep it lightweight
For a working example of this theme, see pelicanconf.py.
GOOGLE_ANALYTICS
to use Google Analytics, set this to your GA property idTWITTER_CARDS
should be a boolean indicating whether or not you'd like Twitter Cards to be used when your links are shared on TwitterTWITTER_NAME
should be your Twitter username. It is used to set theauthor
metadata field for Twitter Cards.LOGO_IMAGE
should be the path to your site's logo, which will be displayed in metadata when links are shared on social networksFAVICON_IMAGE
should be the path to your site's faviconINDEX_PAGE_HEADER
is the message you'd like displayed on your index page, above the siteDESCRIPTION
.NAV_LINKS
is used for displaying the site's navigation bar. This variable should contain a list of dictionaries with each dictionary containing aname
andurl
key:NAV_LINKS = [{'name': 'Blog', 'url': '/blog/', ...}]
.COPYRIGHT_START_YEAR
for displaying the site's copyright message in the footer