From f7c2e915e6386b89a774e7e1c57290e8a9749f15 Mon Sep 17 00:00:00 2001 From: Sukka Date: Sat, 2 Mar 2024 21:01:20 +0800 Subject: [PATCH] Remove unnecessary `polyfill.io` (#3763) Remove `polyfill.io` --- CHANGES.txt | 1 + docs/manual.rst | 8 -------- nikola/data/themes/base-jinja/templates/base_helper.tmpl | 3 --- nikola/data/themes/base/templates/base_helper.tmpl | 3 --- .../themes/bootblog4-jinja/templates/base_helper.tmpl | 3 --- nikola/data/themes/bootblog4/templates/base_helper.tmpl | 3 --- .../themes/bootstrap4-jinja/templates/base_helper.tmpl | 3 --- nikola/data/themes/bootstrap4/templates/base_helper.tmpl | 3 --- 8 files changed, 1 insertion(+), 26 deletions(-) diff --git a/CHANGES.txt b/CHANGES.txt index 93eaeefdae..5ef6e3de6c 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -22,6 +22,7 @@ Other promising support for versions supported by the Python core team, Ubuntu LTS, or Debian stable, and taking into consideration Debian oldstable and PyPy. +* Remove polyfill from `polyfill.io`. New in v8.3.0 ============= diff --git a/docs/manual.rst b/docs/manual.rst index 0f8f00ea5a..57b7b07575 100644 --- a/docs/manual.rst +++ b/docs/manual.rst @@ -1690,10 +1690,6 @@ For Mako: .. code:: html % if date_fanciness != 0: - %if date_fanciness == 2: - - - %endif @@ -1712,10 +1708,6 @@ For Jinja2: .. code:: html {% if date_fanciness != 0 %} - {% if date_fanciness == 2 %} - - - {% endif %} diff --git a/nikola/data/themes/base-jinja/templates/base_helper.tmpl b/nikola/data/themes/base-jinja/templates/base_helper.tmpl index 30faac67b5..d3fd153377 100644 --- a/nikola/data/themes/base-jinja/templates/base_helper.tmpl +++ b/nikola/data/themes/base-jinja/templates/base_helper.tmpl @@ -78,9 +78,6 @@ lang="{{ lang }}"> {% endif %} {% endif %} {% if date_fanciness != 0 %} - {% if date_fanciness == 2 %} - - {% endif %} {% 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 a03ae50705..a89478ea0d 100644 --- a/nikola/data/themes/base/templates/base_helper.tmpl +++ b/nikola/data/themes/base/templates/base_helper.tmpl @@ -78,9 +78,6 @@ lang="${lang}"> % endif % endif % if date_fanciness != 0: - % if date_fanciness == 2: - - % endif % 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 be879131fd..69c31c7994 100644 --- a/nikola/data/themes/bootblog4-jinja/templates/base_helper.tmpl +++ b/nikola/data/themes/bootblog4-jinja/templates/base_helper.tmpl @@ -82,9 +82,6 @@ lang="{{ lang }}"> {% endif %} {% endif %} {% if date_fanciness != 0 %} - {% if date_fanciness == 2 %} - - {% endif %} {% if use_cdn %} {% else %} diff --git a/nikola/data/themes/bootblog4/templates/base_helper.tmpl b/nikola/data/themes/bootblog4/templates/base_helper.tmpl index 7ba4e9256d..83b4ce17c8 100644 --- a/nikola/data/themes/bootblog4/templates/base_helper.tmpl +++ b/nikola/data/themes/bootblog4/templates/base_helper.tmpl @@ -82,9 +82,6 @@ lang="${lang}"> %endif %endif %if date_fanciness != 0: - %if date_fanciness == 2: - - %endif %if use_cdn: %else: diff --git a/nikola/data/themes/bootstrap4-jinja/templates/base_helper.tmpl b/nikola/data/themes/bootstrap4-jinja/templates/base_helper.tmpl index 167e8df1f6..4c6a12783e 100644 --- a/nikola/data/themes/bootstrap4-jinja/templates/base_helper.tmpl +++ b/nikola/data/themes/bootstrap4-jinja/templates/base_helper.tmpl @@ -82,9 +82,6 @@ lang="{{ lang }}"> {% endif %} {% endif %} {% if date_fanciness != 0 %} - {% if date_fanciness == 2 %} - - {% endif %} {% if use_cdn %} {% else %} diff --git a/nikola/data/themes/bootstrap4/templates/base_helper.tmpl b/nikola/data/themes/bootstrap4/templates/base_helper.tmpl index c5895cd2b1..f34a5d8d7f 100644 --- a/nikola/data/themes/bootstrap4/templates/base_helper.tmpl +++ b/nikola/data/themes/bootstrap4/templates/base_helper.tmpl @@ -82,9 +82,6 @@ lang="${lang}"> %endif %endif %if date_fanciness != 0: - %if date_fanciness == 2: - - %endif %if use_cdn: %else: