Zen themes updated

  |   Source   |   Minimap

OK, time to recap some things... As you know, Nikola 7.0.0 was released some weeks ago. It has a lot of improvements, bug fixes and new features. I recommend you to download and try it! As part of the release, we paid attention to update all the plugins and themes inside the Nikola Github organization (don't forget you can contribute with your own plugins and themes!). So, I updated my own themes, in particular, the Zen ones.

As you also now, IPython 2.x was released just some weeks ago too. So, I took into account this two releases and updated the Zen themes to be compatible with both of them. As a consequence of the update, the zen-ipython theme has change a little bit, some bugs were fixed and some features enabled. You can probably has noticed that if you visit my blog in the last two weeks. If you did not notice, first, buy some glasses ;-), and then, take a tour, visit some of my old posts (there are interesting new comments every week) and enjoy the new theme.

And... don't forget! You can get the Zen themes very easily. First, to list all the available themes at the Nikola themes repo:

In [1]:
!nikola install_theme -l
  Click me to hide the output
Themes:
-------
blogtxt
bootstrap3-gradients
bootstrap3-gradients-jinja
ipython
ipython-xkcd
monospace
oldfashioned
planetoid
readable
reveal
reveal-jinja
zen
zen-ipython
zen-jinja

Of course, don't use the ! at the beginning of the line if you are outside IPython.

To install one of them, just write:

In [2]:
!nikola install_theme zen-ipython
  Click me to hide the output
[2014-05-30T18:28:23Z] WARNING: Nikola: Cannot load theme "zen-ipython", using 'bootstrap' instead.
[2014-05-30T18:28:24Z] INFO: install_theme: Downloading: http://themes.getnikola.com/v7/zen-ipython.zip
[2014-05-30T18:28:24Z] INFO: install_theme: Extracting: zen-ipython into themes
[2014-05-30T18:28:24Z] NOTICE: install_theme: This theme has a sample config file.  Integrate it with yours in order to make this theme work!
Contents of the conf.py.sample file:

    NAVIGATION_LINKS = {
        DEFAULT_LANG: (
            ('/index.html', 'Home', 'icon-home'),
            ('/archive.html', 'Archives', 'icon-folder-open-alt'),
            ('/categories/index.html', 'Tags', 'icon-tags'),
            ('/rss.xml', 'RSS', 'icon-rss'),
            ('http://getnikola.com', 'About me', 'icon-user'),
            ('https://twitter.com/getnikola', 'My Twitter', 'icon-twitter'),
            ('https://github.com/getnikola', 'My Github', 'icon-github'),
        )
    }

[2014-05-30T18:28:24Z] INFO: install_theme: Downloading: http://themes.getnikola.com/v7/zen-jinja.zip
[2014-05-30T18:28:26Z] INFO: install_theme: Extracting: zen-jinja into themes
[2014-05-30T18:28:26Z] NOTICE: install_theme: This theme has a sample config file.  Integrate it with yours in order to make this theme work!
Contents of the conf.py.sample file:

    NAVIGATION_LINKS = {
        DEFAULT_LANG: (
            ('/index.html', 'Home', 'icon-home'),
            ('/archive.html', 'Archives', 'icon-folder-open-alt'),
            ('/categories/index.html', 'Tags', 'icon-tags'),
            ('/rss.xml', 'RSS', 'icon-rss'),
            ('http://getnikola.com', 'About me', 'icon-user'),
            ('https://twitter.com/getnikola', 'My Twitter', 'icon-twitter'),
            ('https://github.com/getnikola', 'My Github', 'icon-github'),
        )
    }

[2014-05-30T18:28:26Z] NOTICE: install_theme: Remember to set THEME="zen-ipython" in conf.py to use this theme.

and your theme will be available at the themes folder in your site.

OK, short post for today, more coming soon.

Damián.

Did you like the content? Great!

Or visit my support page for more information.


Btw, don't forget this blog post is an ipynb file itself! So, you can download it from the "Source" link at the top of the post if you want to play with it ;-)

Comments powered by Disqus