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 +4 -4
- data/_config.yml +3 -1
- data/_includes/preconnect.html +12 -2
- data/_includes/scripts/custom-theme.html +1 -1
- data/_includes/styles/main.html +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 06eca9347b4c10f582e51e6f175db2e561e7ca0167356003ac92015658c7e717
|
4
|
+
data.tar.gz: 36637a94b6df78379e5f8e03380d4df105eb1681179629b00ef55612ed04ed55
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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: "
|
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
|
data/_includes/preconnect.html
CHANGED
@@ -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.
|
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="
|
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.
|
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 %}
|
data/_includes/styles/main.html
CHANGED
@@ -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.
|
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 %}
|