landing-page-gem 1.0.1 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e44f308d7e87cdd0f774056f59236c21791d2718999734883229b4a4dca3bd68
4
- data.tar.gz: 583a04290b1464b296702cc2ad91491a696144d49a59648509e76421a0e51b28
3
+ metadata.gz: 9a5c1cc3822b2a1f37b936600212ef59d5b872622afd89b2afed383659a4156d
4
+ data.tar.gz: f62d360429729c78b973abd6e31ac9baff7d2b61a4731cb2fb413bb49ad1a614
5
5
  SHA512:
6
- metadata.gz: b9e088b17de70cfab38930e347be5c8bd192d774aa4e33b039ed13bb6635e809ffdc09481ff6ccfd21f2e682cede535ce29a318d4cb44b6f80f1f511672c124f
7
- data.tar.gz: f58b3265ae81d31af49071a2d1155101aa5a302bc17cccb2c2a922a9b8ec4f0b376d363661bff895c407e3890ee45c2fadd88d7b87a155acb72bf160fe4553b3
6
+ metadata.gz: 182b737fd7465e474af6616c96b2d6c81fa508124c225c3ea35e9374daccd10d399bb7a69f421e0455d5cef0eeca82b417be55310417594f175e7a830ee6b5da
7
+ data.tar.gz: bd4936f8fbc65e021193eb87c5d7526209c77f9428f559b7a2ac3faf5df4657a8ae0aa22bdec24b17c2448a3c06c1e6b398a8bee5c14506486ef4300d4a99322
@@ -1,13 +1,29 @@
1
1
  <!-- preconnect to assets -->
2
2
  <!-- fonts -->
3
+ {% if site.include_eurostile_font or page.include_eurostile_font %}
3
4
  <!-- preconnect to the Eurostile typekit font -->
4
5
  <link rel="preconnect" href="https://use.typekit.net">
6
+ {% endif %}
5
7
  <!-- Google fonts -->
6
8
  <link rel="preconnect" href="https://fonts.googleapis.com">
7
9
  <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
8
- <!-- Google Cusom Search -->
9
- <link rel="preconnect" href="https://clients1.google.com">
10
- <link rel="preconnect" href="https://www.google.com">
10
+ {% if page.include_gapi %}
11
+ <!-- Google API -->
12
+ <link rel="preconnect" href="https://apis.google.com/js/api.js">
13
+ {% endif %}
14
+ {% if page.include_datatables %}
15
+ <link rel="preconnect" href="https://cdn.datatables.net/1.10.18/css/dataTables.bootstrap4.min.css" crossorigin="anonymous">
16
+ <!-- dataTables "Responsive" extension stylesheet for bootstrap4 theme -->
17
+ <link rel="preconnect" href="https://cdn.datatables.net/responsive/2.2.2/css/responsive.bootstrap4.min.css" crossorigin="anonymous">
18
+ <!-- jQuery for pages that use DataTabes -->
19
+ <link rel="preconnect" href="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.1/jquery.min.js" crossorigin="anonymous">
20
+ <!-- dataTables assets -->
21
+ <link rel="preconnect" href="https://cdn.datatables.net/1.10.18/js/jquery.dataTables.min.js" crossorigin="anonymous">
22
+ <!-- dataTable's Bootstrap4 theme's JS -->
23
+ <link rel="preconnect" href="https://cdn.datatables.net/1.10.18/js/dataTables.bootstrap4.min.js" crossorigin="anonymous">
24
+ <!-- dataTable's JS for "Responsive" extension -->
25
+ <link rel="preconnect" href="https://cdn.datatables.net/responsive/2.2.2/js/dataTables.responsive.min.js" crossorigin="anonymous">
26
+ {% endif %}
11
27
  <!-- Custom theme JS -->
12
28
  <link rel="preload" as="script" href="{{page.baseurl}}assets/js/dist/kcc-landing-page.{% include hash/landing.yml %}.bundle.js">
13
29
  <link rel="preload" as="style" href="{{page.baseurl}}assets/js/dist/kcc-landing-page.{% include hash/landing.yml %}.css">
@@ -0,0 +1,2 @@
1
+ <!-- Google API -->
2
+ <script src="https://apis.google.com/js/api.js" defer></script>
@@ -0,0 +1,8 @@
1
+ <!-- jQuery for pages that use DataTabes -->
2
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.1/jquery.min.js" integrity="sha512-v2CJ7UaYy4JwqLDIrZUI/4hqeoQieOmAZNXBeQyjo21dadnwR+8ZaIJVT8EE2iyI61OV8e6M8PP2/4hpQINQ/g==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
3
+ <!-- dataTable's JS (v1.10.18 for use w/ bootstrap4 theme) -->
4
+ <script src="https://cdn.datatables.net/1.10.18/js/jquery.dataTables.min.js" crossorigin="anonymous"></script>
5
+ <!-- dataTable's Bootstrap4 theme's JS -->
6
+ <script src="https://cdn.datatables.net/1.10.18/js/dataTables.bootstrap4.min.js" crossorigin="anonymous"></script>
7
+ <!-- dataTable's JS for "Responsive" extension -->
8
+ <script src="https://cdn.datatables.net/responsive/2.2.2/js/dataTables.responsive.min.js" crossorigin="anonymous"></script>
@@ -1,4 +1,6 @@
1
- <!-- Typkit font for KCC logo-font -->
1
+ {% if site.include_eurostile_font or page.include_eurostile_font %}
2
+ <!-- Typekit font for KCC logo-font -->
2
3
  <link rel="stylesheet" href="https://use.typekit.net/mli7lsm.css">
4
+ {% endif %}
3
5
  <!-- Link to Google Font -->
4
- <link href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&family=Oswald:wght@400;500;700&family=Roboto:wght@400;500;700;900&family=Saira:wght@700&display=swap" rel="stylesheet">
6
+ <link href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&family=Oswald:wght@400;500;700&family=Roboto:wght@400;500;700;900&family=Saira:wght@700{% if page.include_material_icons %}&family=Material+Icons{% endif %}&display=swap" rel="stylesheet">
@@ -1,3 +1,10 @@
1
1
  <!-- CDN assets -->
2
2
  <!-- Bootstrap 4 minified stylesheet -->
3
3
  <link rel="stylesheet" href="{{ page.baseurl }}assets/js/dist/bootstrap.{% include hash/landing.yml %}.css">
4
+ {% if page.include_datatables %}
5
+ <!-- dataTables stylesheets -->
6
+ <!-- dataTables Bootstrap themed stylesheet -->
7
+ <link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/1.10.18/css/dataTables.bootstrap4.min.css" crossorigin="anonymous">
8
+ <!-- dataTables "Responsive" extension stylesheet for bootstrap4 theme -->
9
+ <link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/responsive/2.2.2/css/responsive.bootstrap4.min.css" crossorigin="anonymous">
10
+ {% endif %}
@@ -10,5 +10,10 @@
10
10
  {% include navbar.html %}
11
11
  {{ content }}
12
12
  {% include footer.html %}
13
+ {% if page.include_gapi %}
14
+ {% include scripts/google-api.html %}
15
+ {% endif %}
16
+ {%- if page.include_datatables -%}
17
+ {% include scripts/table-cdn.html %}{% endif %}
13
18
  {% include scripts/custom-theme.html %}
14
19
  {% include foot.html %}
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: landing-page-gem
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - wdzajicek
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-05-09 00:00:00.000000000 Z
11
+ date: 2024-05-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -46,8 +46,10 @@ files:
46
46
  - _includes/navbar.html
47
47
  - _includes/preconnect.html
48
48
  - _includes/scripts/custom-theme.html
49
+ - _includes/scripts/google-api.html
49
50
  - _includes/scripts/google-noscript.html
50
51
  - _includes/scripts/google-tag.html
52
+ - _includes/scripts/table-cdn.html
51
53
  - _includes/styles/fonts.html
52
54
  - _includes/styles/main.html
53
55
  - _includes/styles/vendor.html