From 8eeed31eb2f86ac982fa4b26f93b15828289c56d Mon Sep 17 00:00:00 2001 From: Unit 193 Date: Thu, 22 Apr 2021 20:22:47 -0400 Subject: New upstream version 8.1.3. --- docs/theming.rst | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'docs/theming.rst') diff --git a/docs/theming.rst b/docs/theming.rst index c9fb8c2..f875104 100644 --- a/docs/theming.rst +++ b/docs/theming.rst @@ -6,7 +6,7 @@ .. description: .. author: The Nikola Team -:Version: 8.1.2 +:Version: 8.1.3 :Author: Roberto Alsina .. class:: alert alert-primary float-md-right @@ -35,7 +35,7 @@ assets The included themes use `Bootstrap `_, `baguetteBox `_, `Justified Layout by Flickr - `_ and `Luxon + `_ and `Luxon `_, so they are in assets, along with CSS files for syntax highlighting, reStructuredText and Jupyter, as well as a minified copy of jQuery. @@ -108,7 +108,7 @@ with the same name as your theme, and a ``.theme`` extension, eg. parent = base author = The Nikola Contributors author_url = https://getnikola.com/ - based_on = Bootstrap 3 + based_on = Bootstrap 3 license = MIT tags = bootstrap @@ -167,14 +167,14 @@ Templates --------- In templates there is a number of files whose name ends in ``.tmpl``. Those are the -theme’s page templates. They are done using the `Mako `_ +theme’s page templates. They are done using the `Mako `_ or `Jinja2 `_ template languages. If you want to do a theme, you should learn one first. What engine is used by the theme is declared in the ``engine`` file. .. Tip:: If you are using Mako templates, and want some extra speed when building the site - you can install Beaker and `make templates be cached `__ + you can install Beaker and `make templates be cached `__ Both template engines have a nifty concept of template inheritance. That means that a @@ -452,8 +452,8 @@ at https://www.transifex.com/projects/p/nikola/ If you want to create a theme that has new strings, and you want those strings to be translatable, then your theme will need a custom ``messages`` folder. -`LESS `__ and `Sass `__ -------------------------------------------------------------------- +`LESS `__ and `Sass `__ +-------------------------------------------------------------------- .. note:: The LESS and Sass compilers were moved to the Plugins Index in -- cgit v1.2.3