diff --git a/CHANGELOG.md b/CHANGELOG.md index 34b68ff3..46c8b653 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # CHANGELOG.md +## unreleased + + - Icons are now loaded directly from the sqlpage binary instead of loading them from a CDN. + This allows pages to load faster, and to get a better score on google's performance audits, potentially improving your position in search results. + - This also makes it possible to host a SQLPage website on an intranet without access to the internet. + - Fixes https://github.com/lovasoa/SQLpage/issues/37 + ## 0.9.2 (2023-08-01) - Added support for more SQL data types. This notably fixes an issue with the display of datetime columns in tables. diff --git a/sqlpage/tabler-icons.svg b/sqlpage/tabler-icons.svg new file mode 100644 index 00000000..11756433 --- /dev/null +++ b/sqlpage/tabler-icons.svg @@ -0,0 +1 @@ +/* !include https://cdn.jsdelivr.net/npm/@tabler/icons@2.30.0/tabler-sprite.svg */ \ No newline at end of file diff --git a/sqlpage/templates/alert.handlebars b/sqlpage/templates/alert.handlebars index 42c0cf38..3c8802e6 100644 --- a/sqlpage/templates/alert.handlebars +++ b/sqlpage/templates/alert.handlebars @@ -8,7 +8,7 @@ {{#if icon}}
{{/if}} diff --git a/sqlpage/templates/card.handlebars b/sqlpage/templates/card.handlebars index 67174e4b..7983ae78 100644 --- a/sqlpage/templates/card.handlebars +++ b/sqlpage/templates/card.handlebars @@ -45,7 +45,7 @@ {{/if}} {{#if icon}}