Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix icons count #307

Merged
merged 1 commit into from
Aug 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/bootstrap4/templates/icons.html
Original file line number Diff line number Diff line change
Expand Up @@ -15631,5 +15631,5 @@ <h2>Icons</h2>
<div class="name text-muted text-decoration-none text-center pt-1">zoom-out</div>
</li>
</ul>
{% endblock %}
<p>This is a total of 1953 icons.</p>
{% endblock %}
2 changes: 1 addition & 1 deletion examples/bootstrap5/templates/icons.html
Original file line number Diff line number Diff line change
Expand Up @@ -15631,5 +15631,5 @@ <h2>Icons</h2>
<div class="name text-muted text-decoration-none text-center pt-1">zoom-out</div>
</li>
</ul>
{% endblock %}
<p>This is a total of 1953 icons.</p>
{% endblock %}
6 changes: 2 additions & 4 deletions examples/update-icons.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,9 @@ def generate(version):
'''
file.write(item)
number += 1
tail = '''</ul>
{% endblock %}
'''
file.write(tail)
file.write('</ul>\n')
file.write(f'<p>This is a total of {number} icons.</p>\n')
file.write('{% endblock %}\n')
print(f'For Bootstrap{version}, a total of {number} icons are supported.')

for value in (4, 5):
Expand Down