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_ANALYTICSvariable - 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_ANALYTICSto use Google Analytics, set this to your GA property idTWITTER_CARDSshould be a boolean indicating whether or not you'd like Twitter Cards to be used when your links are shared on TwitterTWITTER_NAMEshould be your Twitter username. It is used to set theauthormetadata field for Twitter Cards.LOGO_IMAGEshould be the path to your site's logo, which will be displayed in metadata when links are shared on social networksFAVICON_IMAGEshould be the path to your site's faviconINDEX_PAGE_HEADERis the message you'd like displayed on your index page, above the siteDESCRIPTION.NAV_LINKSis used for displaying the site's navigation bar. This variable should contain a list of dictionaries with each dictionary containing anameandurlkey:NAV_LINKS = [{'name': 'Blog', 'url': '/blog/', ...}].COPYRIGHT_START_YEARfor displaying the site's copyright message in the footer

