Getting started with Nikola

Français   |   Source

My personal pages went through handcrafted HTML, handcrafted PHP, a good-but-too-heavy CMS; I was looking for something lighter to manage these pages. I almost started to use Django (by the way, Django girls are awesome to start with), but I finally opted for Nikola. It is nonetheless in Python but particularly light-weighted and increadibly easy to start with.

To get started, Nikolas's getting started pages are just what you need. To go further and to solve some minor issues I got with the configuration, tips and tricks from Louis Tiao were particularly useful.

The theme I'm using is a light adaptation of Zen (color, layout and icons twicking). Moreover, I updated Awesome font to get a larger choice of icons (the corresponding lines appear around lines 375-380 in main.css of Zen theme):

@font-face {
  font-family: 'FontAwesome';
  src:url('https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/fonts/fontawesome-webfont.eot?v=4.7.0');
  src:url('https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/fonts/fontawesome-webfont.eot?#iefix&v=4.7.0') format('embedded-opentype'),
  url('https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/fonts/fontawesome-webfont.woff2?v=4.7.0') format('woff2'),
  url('https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/fonts/fontawesome-webfont.woff?v=4.7.0') format('woff'),
  url('https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/fonts/fontawesome-webfont.ttf?v=4.7.0') format('truetype'),
  url('https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/fonts/fontawesome-webfont.svg?v=4.7.0#fontawesomeregular') format('svg');
  font-weight: normal;
  font-style: normal;
}