From 64b40e15dca31d14a1ba97d338d3c7b9b2f4cb09 Mon Sep 17 00:00:00 2001 From: Pander Date: Mon, 24 Jul 2023 17:58:14 +0200 Subject: [PATCH] fix icons count --- examples/bootstrap4/templates/icons.html | 2 +- examples/bootstrap5/templates/icons.html | 2 +- examples/update-icons.py | 6 ++---- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/examples/bootstrap4/templates/icons.html b/examples/bootstrap4/templates/icons.html index d100a0a8..fed5f06f 100644 --- a/examples/bootstrap4/templates/icons.html +++ b/examples/bootstrap4/templates/icons.html @@ -15631,5 +15631,5 @@

Icons

zoom-out
-{% endblock %}

This is a total of 1953 icons.

+{% endblock %} diff --git a/examples/bootstrap5/templates/icons.html b/examples/bootstrap5/templates/icons.html index 4205116e..1aff32c4 100644 --- a/examples/bootstrap5/templates/icons.html +++ b/examples/bootstrap5/templates/icons.html @@ -15631,5 +15631,5 @@

Icons

zoom-out
-{% endblock %}

This is a total of 1953 icons.

+{% endblock %} diff --git a/examples/update-icons.py b/examples/update-icons.py index 7db3a326..c8373217 100644 --- a/examples/update-icons.py +++ b/examples/update-icons.py @@ -38,11 +38,9 @@ def generate(version): ''' file.write(item) number += 1 - tail = ''' -{% endblock %} -''' - file.write(tail) + file.write('\n') file.write(f'

This is a total of {number} icons.

\n') + file.write('{% endblock %}\n') print(f'For Bootstrap{version}, a total of {number} icons are supported.') for value in (4, 5):