_layouts/default.html in kcc-gem-theme-2.37.1 vs _layouts/default.html in kcc-gem-theme-3.0.0

- old
+ new

@@ -1,10 +1,10 @@ {% include document-head.html %} {% include styles/fonts.html %} {% include scripts/google-tag.html %} {% include styles/vendor.html %} - {% if page.sheet_key %} + {% if page.sheet_key or page.include_datatables %} <!-- dataTables stylesheets --> <!-- dataTables Bootstrap4 themed stylesheet --> <link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/1.10.18/css/dataTables.bootstrap4.min.css" crossorigin="anonymous"> <!-- dataTables "Responsive" extension stylesheet for bootstrap4 theme --> <link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/responsive/2.2.2/css/responsive.bootstrap4.min.css" crossorigin="anonymous"> @@ -21,10 +21,10 @@ {% include scripts/vendor-cdn.html %} {% include scripts/kcc-nav.html %} {% include scripts/kcc-theme.html %} {% include scripts/emergency-alerts.html %} {% include scripts/google-api.html %} - {% if page.sheet_key %} + {% if page.sheet_key or page.include_datatables %} {% include scripts/table-cdn.html %} {% endif %} {% include scripts/custom.html %} {% if site.translate == true %}<!-- Link to this site's custom google translate stylesheet --> {% include scripts/translate.html %}{% endif %}