[Quicknr]

Monday, 27 June 2016

Quicknr 1.9.0

Pages made by Quicknr are now CSS-styled out of the box with a "base" template, the first in the new "templates" folder.

The "base" template is a set of 3 CSS files that are copied to every new website. The files expose all classes that Quicknr generates and style them at a basic level. Adapt or override them to create your own template.

Together with the new placeholding page header and footer objects in the configuration Head and Tail snippets, the CSS styling results in nearly-complete web pages. If you fill the header and footer with content, Quicknr will produce basic finished pages without any additional CSS work.

News item thumbnails in the news listing page are now loaded as background images, making them easier to style with CSS (ie. presenting rectangular images in a square DIV). This new feature is backwards incompatible. Older websites should have their news list CSS adjusted: copy the floating image code from "quicknr_base_newslist.css" in the new base template.

Finally, this is a good time to get acquainted with custom Python functions, because Quicknr now actually uses the sample "page_style_link" directive, to link the new CSS base files to their appropriate pages.