From 1f51ab29b0f776d5f77b927dda61aae81cd04be8 Mon Sep 17 00:00:00 2001 From: Chris Warrick Date: Sun, 30 Sep 2018 19:58:40 +0200 Subject: [PATCH] Version 8.0.1 Signed-off-by: Chris Warrick --- CHANGES.txt | 5 +- docs/extending.rst | 2 +- docs/man/nikola.1.gz | Bin 1784 -> 1783 bytes docs/man/nikola.rst | 2 +- docs/manual.rst | 2 +- docs/social_buttons.rst | 2 +- docs/sphinx/conf.py | 4 +- docs/support.rst | 2 +- docs/template-variables.rst | 2 +- docs/theming.rst | 2 +- nikola/__init__.py | 2 +- .../base-jinja/templates/base_helper.tmpl | 6 +- .../themes/base/templates/base_helper.tmpl | 6 +- .../templates/base_helper.tmpl | 4 +- .../bootblog4/templates/base_helper.tmpl | 4 +- .../templates/base_helper.tmpl | 4 +- .../bootstrap4/templates/base_helper.tmpl | 4 +- .../node_modules/baguettebox.js/LICENSE | 42 +- .../node_modules/baguettebox.js/README.md | 55 ++- .../baguettebox.js/dist/baguetteBox.css | 2 +- .../baguettebox.js/dist/baguetteBox.js | 30 +- .../baguettebox.js/dist/baguetteBox.min.css | 2 +- .../baguettebox.js/dist/baguetteBox.min.js | 4 +- .../node_modules/baguettebox.js/package.json | 40 +- .../baguettebox.js/src/baguetteBox.js | 28 +- .../baguettebox.js/src/baguetteBox.scss | 392 +++++++++--------- npm_assets/package-lock.json | 6 +- npm_assets/package.json | 2 +- setup.py | 2 +- snapcraft.yaml | 2 +- 30 files changed, 384 insertions(+), 276 deletions(-) diff --git a/CHANGES.txt b/CHANGES.txt index 1538052076..cacd5339c9 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -1,6 +1,9 @@ -New in master +New in v8.0.1 ============= +* Not compatible with Markdown 3.x yet, this release pins the + requirement down to 2.x (until we get 3.x support done) + Features -------- diff --git a/docs/extending.rst b/docs/extending.rst index 7cd7df6b8b..6436eb2eed 100644 --- a/docs/extending.rst +++ b/docs/extending.rst @@ -6,7 +6,7 @@ .. description: .. author: The Nikola Team -:Version: 8.0.0 +:Version: 8.0.1 :Author: Roberto Alsina .. class:: alert alert-primary float-md-right diff --git a/docs/man/nikola.1.gz b/docs/man/nikola.1.gz index ab097758a1edc54276fdf51052793ba61caaa6e0..c1f1924f4bf2430254dfc76ce93d38173f7cf152 100644 GIT binary patch literal 1783 zcmV>~MAwVpX$9wMeIm&TzKvzOjC1#RlQp;L6 znNePwl4?0}b(6ZLmf2W7x;Vn$_&r?@Kiqum(D-j1 z(3w4m;t|CASA(b(OM29&krPg(G*V6y#OSOrGrA1ere+XbQ*GT_DCsGkN$q-te2@j5 z@Mb1YdG}6Mrgm4No+%wA$&aU$B>EmFO20IT!VzBFr>ol!((m@jy?AmG^`hO)lgXaN z(|wC?CsEw`F}%JQT#us|S%|lMqN^p<`Vzzt1HZ7Oms}T--&w<7}ic%eYzP`B~4M$OItLVIz z!dEECvT`f3T(5^q<>n;FO4n4hRR4%NdxJoQ0MSW&vVQ(G{w+%KGaV{lY2~O~v63Xe zjpC=6K0N{S@Uv+s1!mf!2Uw4q$I3N+;nADCYsJ!&G7_ zso~?aHcPC23z$EQs7+r4L|t4AM(20K+wt(`+8fZanX;Upz-CK1wH={Nnb2k(p~Wqxo%vw{jTaV7t3Z<~Djgv=SYhxt~%aWXl*5#3- z;oyAU6a|@_-jA<7h8l@!n0pmXRTz;4m{!^u5>W`-QGii6J{J$H5k}8jjY%&D4D)~I z-w|a-xAj;k=L#9gJcn1Y56lo|n_7VlL_sryf9#;?s+j|0kC0&Rux%=497`pa=S)!YacD#?W zcTzBp544*rDB?o$C%XA(rSd&U?L$H*tIE@-LRhK&v3;JIP+ZZL}WWBlcr${Ax z^vp+1Lu(tfL@mG}RR2;F=D%cX6dC?yI2gfT^7>ltVw`8lSJrnzS#p;hVI8ThsUuW}Rk;*?BGxzOo~ z&PStT?#|!H8?B@-+(IoRI@Lu+!)k^?oue1MHNKgVfv0Z*Tz5k@EzpKoqdA2>2??}eBf685qYGl|U=iF$i7jKRid8^dib zi;5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U zHsz6_;oyAM6b0FgK8>$GhZ>1#n2Cy}Dy&KaOe^gzsVIc)B*5f2zEF>>5k@asjgwvm z80P=ZzY|KWY3s4by)Sg6vkYFv5||;(wsj6RPzB8`{;`9$t7Z<2J3)fQVb@g5IF3p# z$z{&@%OXZ`!DH@&nP$gRQXK1x>(L2671qr8bHzTf{oqQ+gajxUA2mFMa*1F~c7<-T z#`8YP-fP7;5@^53p@<7fPIU9n#oJkCD^j~#OLsImo;CC#>Wf#~D_-wZD^+XwW&ekMJgf!C)-JdAUUo@t5>3Gg)VJa&N^m)ae9BYZ zpj*ru#)1n_jnbuUS#S|(4x+KqO07AxuqM&Yg<$2T;xro6R9)^xEa-nDY-5y=*Y)<& ze^sK{qZd9J8amgYC2Ex{U&{B*IwVl4QOr2Or9~CRnvV5TqAMJy6uS8cmTT8KQEC(b2xErAHgnL#Q& zWy&OLx)_a4xjTO$F*?^$xJACy=u{tB1FIPdb&g&XYowWxf#-XfD&SwbMpwWw^pj@y zLxbxyj&4H=tu*igEp*c6zfHWfIT|75Y@)N;wwUx5T0O2~`W>iS6}_)sfhgkIcUU-xe=!w6;KljcVCfg_XlUWmD&VJ{mo*VtT>s&^;D7;JpL zHQW}usF-%bu568Uwz;iNL=wvx%trb%1H=Cv@XIyH# zhh@OxWcp_}WvBf0yL|oLHo`dKS4 zz9Nnr{k}LB_r3bYA}VaiS4iI1X(Q=cj`FStta zZz*lqn5E$nAmaNb1S{#`K}HDD8$RPWo{CTHes_NX_jMx!IxYuypKrf@>uR1aP&mt7 zvJW%|Nj0-?9UcNIy)qnsyB>^2{j0%ray(auAkijQx&PG6=nm;S;6u2>KxIXDxA$WS znWFyX^v7NtxA}+3!G9s-odHnFm`5H46$zfnRjPmJ6@B9Ot`sVTkvFCzN6~ zocv?qedRu$p0>g Variables available in templates are listed below. diff --git a/docs/theming.rst b/docs/theming.rst index 7e5e2335ce..86cf532198 100644 --- a/docs/theming.rst +++ b/docs/theming.rst @@ -6,7 +6,7 @@ .. description: .. author: The Nikola Team -:Version: 8.0.0 +:Version: 8.0.1 :Author: Roberto Alsina .. class:: alert alert-primary float-md-right diff --git a/nikola/__init__.py b/nikola/__init__.py index 49f85d0fba..6d960702e5 100644 --- a/nikola/__init__.py +++ b/nikola/__init__.py @@ -29,7 +29,7 @@ import os import sys -__version__ = '8.0.0' +__version__ = '8.0.1' DEBUG = bool(os.getenv('NIKOLA_DEBUG')) SHOW_TRACEBACKS = bool(os.getenv('NIKOLA_SHOW_TRACEBACKS')) diff --git a/nikola/data/themes/base-jinja/templates/base_helper.tmpl b/nikola/data/themes/base-jinja/templates/base_helper.tmpl index f27680e715..13aae7ee7e 100644 --- a/nikola/data/themes/base-jinja/templates/base_helper.tmpl +++ b/nikola/data/themes/base-jinja/templates/base_helper.tmpl @@ -65,7 +65,7 @@ lang="{{ lang }}"> {% macro late_load_js() %} {% if use_bundles %} {% if use_cdn %} - + {% if date_fanciness != 0 %} {% endif %} @@ -75,7 +75,7 @@ lang="{{ lang }}"> {% endif %} {% else %} {% if use_cdn %} - + {% if date_fanciness != 0 %} {% endif %} @@ -95,7 +95,7 @@ lang="{{ lang }}"> {% macro html_stylesheets() %} {% if use_bundles %} {% if use_cdn %} - + {% else %} diff --git a/nikola/data/themes/base/templates/base_helper.tmpl b/nikola/data/themes/base/templates/base_helper.tmpl index c699a3e618..0ac62bf5a7 100644 --- a/nikola/data/themes/base/templates/base_helper.tmpl +++ b/nikola/data/themes/base/templates/base_helper.tmpl @@ -65,7 +65,7 @@ lang="${lang}"> <%def name="late_load_js()"> % if use_bundles: % if use_cdn: - + % if date_fanciness != 0: % endif @@ -75,7 +75,7 @@ lang="${lang}"> % endif % else: % if use_cdn: - + % if date_fanciness != 0: % endif @@ -95,7 +95,7 @@ lang="${lang}"> <%def name="html_stylesheets()"> %if use_bundles: %if use_cdn: - + %else: diff --git a/nikola/data/themes/bootblog4-jinja/templates/base_helper.tmpl b/nikola/data/themes/bootblog4-jinja/templates/base_helper.tmpl index b7e49e338d..8bf44131d0 100644 --- a/nikola/data/themes/bootblog4-jinja/templates/base_helper.tmpl +++ b/nikola/data/themes/bootblog4-jinja/templates/base_helper.tmpl @@ -67,7 +67,7 @@ lang="{{ lang }}"> - + {% endif %} {% if use_bundles and use_cdn %} @@ -91,7 +91,7 @@ lang="{{ lang }}"> {% macro html_stylesheets() %} {% if use_cdn %} - + {% endif %} {% if use_bundles and use_cdn %} diff --git a/nikola/data/themes/bootblog4/templates/base_helper.tmpl b/nikola/data/themes/bootblog4/templates/base_helper.tmpl index abcb321b43..2bbc13952d 100644 --- a/nikola/data/themes/bootblog4/templates/base_helper.tmpl +++ b/nikola/data/themes/bootblog4/templates/base_helper.tmpl @@ -67,7 +67,7 @@ lang="${lang}"> - + % endif %if use_bundles and use_cdn: @@ -91,7 +91,7 @@ lang="${lang}"> <%def name="html_stylesheets()"> % if use_cdn: - + % endif %if use_bundles and use_cdn: diff --git a/nikola/data/themes/bootstrap4-jinja/templates/base_helper.tmpl b/nikola/data/themes/bootstrap4-jinja/templates/base_helper.tmpl index 3136bbf1e8..20b9d54c48 100644 --- a/nikola/data/themes/bootstrap4-jinja/templates/base_helper.tmpl +++ b/nikola/data/themes/bootstrap4-jinja/templates/base_helper.tmpl @@ -66,7 +66,7 @@ lang="{{ lang }}"> - + {% endif %} {% if use_bundles and use_cdn %} @@ -90,7 +90,7 @@ lang="{{ lang }}"> {% macro html_stylesheets() %} {% if use_cdn %} - + {% endif %} {% if use_bundles and use_cdn %} diff --git a/nikola/data/themes/bootstrap4/templates/base_helper.tmpl b/nikola/data/themes/bootstrap4/templates/base_helper.tmpl index b31fd18248..0601017ea8 100644 --- a/nikola/data/themes/bootstrap4/templates/base_helper.tmpl +++ b/nikola/data/themes/bootstrap4/templates/base_helper.tmpl @@ -66,7 +66,7 @@ lang="${lang}"> - + % endif %if use_bundles and use_cdn: @@ -90,7 +90,7 @@ lang="${lang}"> <%def name="html_stylesheets()"> %if use_cdn: - + % endif %if use_bundles and use_cdn: diff --git a/npm_assets/node_modules/baguettebox.js/LICENSE b/npm_assets/node_modules/baguettebox.js/LICENSE index 2f10336fbc..61f2faec8c 100644 --- a/npm_assets/node_modules/baguettebox.js/LICENSE +++ b/npm_assets/node_modules/baguettebox.js/LICENSE @@ -1,21 +1,21 @@ -MIT License - -Copyright (c) 2017 Marek Grzybek - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. +MIT License + +Copyright (c) 2017 Marek Grzybek + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/npm_assets/node_modules/baguettebox.js/README.md b/npm_assets/node_modules/baguettebox.js/README.md index 3fc950e15e..3aaa5f8787 100644 --- a/npm_assets/node_modules/baguettebox.js/README.md +++ b/npm_assets/node_modules/baguettebox.js/README.md @@ -1,4 +1,4 @@ -# baguetteBox.js +

baguetteBox.js

[![GitHub Release](https://img.shields.io/github/release/feimosi/baguetteBox.js.svg)](https://github.com/feimosi/baguetteBox.js/releases) [![MIT License](https://img.shields.io/npm/l/baguettebox.js.svg)](https://github.com/feimosi/baguetteBox.js/blob/dev/LICENSE) @@ -7,6 +7,7 @@ [![npm](https://img.shields.io/npm/dm/baguettebox.js.svg)](https://www.npmjs.com/package/baguettebox.js) [![Build Status](https://travis-ci.org/feimosi/baguetteBox.js.svg?branch=master)](https://travis-ci.org/feimosi/baguetteBox.js) +[![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://paypal.me/feimosi) [![Twitter](https://img.shields.io/twitter/url/http/shields.io.svg?style=social)](https://twitter.com/intent/tweet?text=Check%20out%20baguetteBox.js%20-%20simple%20and%20easy%20to%20use%20lightbox%20script%20written%20in%20pure%20JavaScript%0Ahttps%3A%2F%2Fgithub.com%2Ffeimosi%2FbaguetteBox.js) [![Twitter Follow](https://img.shields.io/twitter/follow/feimosi.svg?style=social&label=Follow%20the%20author)](https://twitter.com/feimosi) @@ -14,7 +15,22 @@ Simple and easy to use lightbox script written in pure JavaScript. [Demo page](https://feimosi.github.io/baguetteBox.js/) -![Demo Page screenshot](http://i.imgur.com/uLSDpuW.png) +![Demo Page screenshot](http://i.imgur.com/GMmnud0.jpg) + +## Table of contents + + * [Features](#features) + * [Installation](#installation) + * [Importing](#importing) + * [Usage](#usage) + * [Customization](#customization) + * [API](#api) + * [Responsive images](#responsive-images) + * [Compatibility](#compatibility) + * [Contributing](#contributing) + * [Donation](#donation) + * [Credits](#credits) + * [License](#license) ## Features @@ -28,6 +44,7 @@ Simple and easy to use lightbox script written in pure JavaScript. * CSS3 transitions * SVG buttons, no extra files to download * Around 3.2KB gzipped +* With Accessibility in mind ## Installation @@ -74,6 +91,30 @@ bower install baguettebox.js --save ``` +## Importing + +### Traditional approach + +If you don't use JavaScript modules and include the file with a `