_layouts/default-landing.html in kcc-gem-theme-2.37.1 vs _layouts/default-landing.html in kcc-gem-theme-3.0.0
- old
+ new
@@ -7,11 +7,11 @@
{% else %}
{% include targetx-head.html %}
{% endif %}
{% endif %}
{% 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">
@@ -26,10 +26,10 @@
{% include scripts/vendor-cdn.html %}
{% include scripts/kcc-theme.html %}
{% if page.landing_page_js %}
{% include scripts/kcc-theme-landing.html %}
{% endif %}
- {% 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 %}