landing-page-gem 0.3.4 → 0.3.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 678b0fde8bc1da80f8f2fbc71e2a1025b5332b94f429349af01f8fe005a5db3a
4
- data.tar.gz: 60dfbff2ead5960f934c42a9ada83c1348237e9f7c3e653908beffeec99aa305
3
+ metadata.gz: 06eca9347b4c10f582e51e6f175db2e561e7ca0167356003ac92015658c7e717
4
+ data.tar.gz: 36637a94b6df78379e5f8e03380d4df105eb1681179629b00ef55612ed04ed55
5
5
  SHA512:
6
- metadata.gz: efb3d7d58efbb27de2227acb9217d291df46681e003b6ba0917c489518b2790735e5884c2f333d7af360d7d267fc7332a59b38cf76e1ecc6bcca5188876cd322
7
- data.tar.gz: 6a4a2c95752840ed7293bcea89888a986731b1b056c582cbd6f3fc2db170be0bb853c33cda61d07f073e6e65f3e32e58b36f88be7938cce5b4645fb4c0c0f692
6
+ metadata.gz: 56e44c92072617632a452427c45a4a3e4e2aab51a7d3734158dff0f5b59752405e60bb3e47a0892272605c58fd44952facf1b8fda749e4e81cd0a4ae3b618d6e
7
+ data.tar.gz: 357af93e695ed9766fad3d41ab97c3807f3de8f5fe5996eab661e4a315dab43a20f26baff275e81b9bcb02b52188d9aee0e605e0d13f8e6feeae9d273a089430
data/_config.yml CHANGED
@@ -1,7 +1,7 @@
1
1
  #### ANY CHANGE TO THIS FILE REQUIRES THE BUILD-COMMAND TO BE RESTARTED ####
2
2
  title: "KCC"
3
3
  site_name: Veterans
4
- public-url: "http://www.kcc.edu"
4
+ public-url: "https://subdomain.kcc.edu"
5
5
  url: 'URL is needed for robots.txt to work properly' ## NO TRAILING SLASHES!!/<--nope
6
6
  port: 3000
7
7
  # contact_phone: 815-802-8888
@@ -9,6 +9,8 @@ timezone: America/Chicago
9
9
  google-tag_key: Google Tag Manager key goes here
10
10
  theme_config: true
11
11
  humans_file: true
12
+ custom_site_js: false
13
+ custom_site_styling: false
12
14
  permalink: pretty
13
15
  description: > # this means to ignore newlines until "baseurl:"
14
16
  # Delete this comment and place description on this line
@@ -3,11 +3,21 @@
3
3
  <!-- preconnect to the Eurostile typekit font -->
4
4
  <link rel="preconnect" href="https://use.typekit.net">
5
5
  <!-- Google fonts -->
6
- <link rel="preconnect" href="https://fonts.gstatic.com">
6
+ <link rel="preconnect" href="https://fonts.googleapis.com">
7
+ <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
7
8
  <!-- Google Cusom Search -->
8
9
  <link rel="preconnect" href="https://clients1.google.com">
9
10
  <link rel="preconnect" href="https://www.google.com">
10
11
  <!-- Custom theme JS -->
11
- <link rel="preconnect" as="script" href="{{page.baseurl}}assets/js/dist/kcc-landing-page.{% include hash/landing.yml %}.bundle.js">
12
+ <link rel="preload" as="script" href="{{page.baseurl}}assets/js/dist/kcc-landing-page.{% include hash/landing.yml %}.bundle.js">
13
+ <link rel="preload" as="style" href="{{page.baseurl}}assets/js/dist/kcc-landing-page.{% include hash/landing.yml %}.css">
14
+ {% if site.custom_site_js == true %}
12
15
  <link rel="preconnect" as="script" href="{{page.baseurl}}assets/js/dist/main{% if site.data.hash %}.{{ site.data.hash }}{% endif %}.bundle.js">
16
+ {% endif %}
17
+ {% if site.custom_site_styling == true %}
18
+ <link rel="preload" as="style" href="{{page.baseurl}}assets/js/dist/main{% if site.data.hash %}.{{ site.data.hash }}{% endif %}.css">
19
+ {% endif %}
20
+ {% if page.background_image %}
21
+ <link rel="preload" as="image" href="{{ page.background_image }}">
22
+ {% endif %}
13
23
  <!-- End of preconnects -->
@@ -1,6 +1,6 @@
1
1
 
2
2
  <!-- custom compiled and minified javascript -->
3
3
  <script src="{{page.baseurl}}assets/js/dist/kcc-landing-page.{% include hash/landing.yml %}.bundle.js" defer></script>
4
- {% if site.custom_js == true %}
4
+ {% if site.custom_site_js == true %}
5
5
  <script src="{{ page.baseurl }}assets/js/dist/main.{% if site.data.hash %}{{ site.data.hash }}.{% endif %}bundle.js" defer></script>
6
6
  {% endif %}
@@ -1,7 +1,7 @@
1
1
  {%- if jekyll.environment == "production" or jekyll.environment == "publish" -%}
2
2
  <!-- Custom CSS for the KCC Theme -->
3
3
  <link rel="stylesheet" href="{{page.baseurl}}assets/js/dist/kcc-landing-page.{% include hash/landing.yml %}.css">
4
- {%- if site.custom_styling == true -%}
4
+ {%- if site.custom_site_styling == true -%}
5
5
  <!-- Link to this site's main stylesheet -->
6
6
  <link rel="stylesheet" href="{{page.baseurl}}assets/js/dist/main{% if site.data.hash %}.{{ site.data.hash }}{% endif %}.css">
7
7
  {% endif %}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: landing-page-gem
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.4
4
+ version: 0.3.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - wdzajicek