Skip to content

Commit 4b60cb7

Browse files
Additional branding changes...
This shuffles some of the footer menu, makes changes to branding colors and font.
1 parent c337472 commit 4b60cb7

File tree

11 files changed

+282
-49
lines changed

11 files changed

+282
-49
lines changed

.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Auto detect text files and perform LF normalization
2+
* text=auto

_config.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,11 @@ remote_theme : "mmistakes/minimal-mistakes"
1515
minimal_mistakes_skin : "contrast" # "air", "aqua", "contrast", "dark", "dirt", "neon", "mint", "plum", "sunrise"
1616

1717
# Site Settings
18+
legal_name : "Blue Yonder Group, Inc."
19+
name : "Blue Yonder"
1820
locale : "en-US"
1921
title : "Blue Yonder Tech Blog"
2022
title_separator : "-"
21-
name : "Blue Yonder"
2223
description : "A blog on technology and open source software."
2324
url : https://tech.blueyonder.com
2425
baseurl : # the subpath of your site, e.g. "/blog"
@@ -134,19 +135,21 @@ head_scripts:
134135

135136
# Site Footer
136137
footer:
137-
links:
138+
social_links:
138139
- label: "Twitter"
139140
icon: "fab fa-fw fa-twitter-square"
140141
url: "https://twitter.com/TechJda"
141142
- label: "GitHub"
142143
icon: "fab fa-fw fa-github"
143144
url: "https://github.com/JDASoftwareGroup"
145+
146+
legal_links:
144147
- label: "Privacy Policy"
145148
url: "https://blueyonder.com/privacy-policy"
146-
icon: ""
147149
- label: "Terms of Use"
148150
url: "https://blueyonder.com/terms-of-use"
149-
icon: ""
151+
152+
150153

151154

152155

_data/navigation.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,17 @@
22
main:
33
- title: "Posts by Tags"
44
url: /tags
5-
- title: "About"
6-
url: /about
5+
- title: "About Blue Yonder"
6+
url: https://blueyonder.com/
7+
- title: Careers
8+
url: https://blueyonder.com/careers
9+
710

811
# side menu
912
docs:
10-
- title: Careers
11-
url: https://blueyonder.com/careers
1213
- title: GitHub
13-
children:
14-
- title: "Blue Yonder"
15-
url: https://github.com/blue-yonder
16-
- title: "JDA"
14+
children:
15+
- title: "Blue Yonder, Inc."
1716
url: https://github.com/JDASoftwareGroup
17+
- title: "Blue Yonder GmbH"
18+
url: https://github.com/blue-yonder

_includes/footer.html

Lines changed: 29 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,34 @@
11
<div class="page__footer-follow">
2-
<ul class="social-icons">
3-
{% if site.data.ui-text[site.locale].follow_label %}
4-
<li><strong>{{ site.data.ui-text[site.locale].follow_label }}</strong></li>
5-
{% endif %}
2+
<ul class="social-icons">
3+
{% if site.data.ui-text[site.locale].follow_label %}
4+
<li><strong>{{ site.data.ui-text[site.locale].follow_label }}</strong></li>
5+
{% endif %}
66

7-
{% if site.footer.links %}
8-
{% for link in site.footer.links %}
9-
{% if link.label and link.url %}
10-
<li><a href="{{ link.url }}" rel="nofollow noopener noreferrer"><i class="{{ link.icon | default: 'fas fa-link' }}" aria-hidden="true"></i> {{ link.label }}</a></li>
11-
{% endif %}
12-
{% endfor %}
13-
{% endif %}
7+
{% if site.footer.social_links %}
8+
{% for link in site.footer.social_links %}
9+
{% if link.label and link.url %}
10+
<li><a href="{{ link.url }}" rel="nofollow noopener noreferrer"><i class="{{ link.icon | default: 'fas fa-link' }}" aria-hidden="true"></i> {{ link.label }}</a></li>
11+
{% endif %}
12+
{% endfor %}
13+
{% endif %}
1414

15-
<li><a href="{% if site.atom_feed.path %}{{ site.atom_feed.path }}{% else %}{{ '/feed.xml' | relative_url }}{% endif %}"><i class="fas fa-fw fa-rss-square" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].feed_label | default: "Feed" }}</a></li>
16-
</ul>
15+
<li>
16+
<a href="{% if site.atom_feed.path %}{{ site.atom_feed.path }}{% else %}{{ '/feed.xml' | relative_url }}{% endif %}"><i class="fas fa-fw fa-rss-square" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].feed_label | default: "Feed" }}</a>
17+
</li>
18+
</ul>
1719
</div>
1820

19-
<div class="page__footer-copyright">&copy; {{ site.time | date: '%Y' }} Blue Yonder Group, Inc. All rights reserved.</div>
21+
<div class="page-footer-legal">
22+
<div class="page-footer-legal-copyright">
23+
&copy; {{ site.time | date: '%Y' }} {{ site.legal_name }} All rights reserved.
24+
</div>
25+
<div class="legal-links">
26+
{% if site.footer.social_links %}
27+
{% for link in site.footer.social_links %}
28+
{% if link.label and link.url %}
29+
<a href="{{ link.url }}" target="_blank" rel="noopener">{{ link.label }}</a>
30+
{% endif %}
31+
{% endfor %}
32+
{% endif %}
33+
</div>
34+
</div>

_includes/head.html

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
<meta charset="utf-8">
2+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
3+
<meta name="apple-mobile-web-app-capable" content="yes" />
4+
<meta name="application-name" content="Blue Yonder Tech Blog" />
5+
<meta name="theme-color" content="#000E4E" />
6+
<link href="https://cdn.blueyonder.com/global/images/favicon.ico" rel="shortcut icon" type="image/x-icon" />
7+
<link href="https://cdn.blueyonder.com/global/images/favicon.ico" rel="icon" type="image/x-icon" />
8+
<link href="https://cdn.blueyonder.com/global/images/apple-touch-icon-180x180.png" rel="apple-touch-icon" sizes="180x180" type="image/png" />
9+
<link href="https://cdn.blueyonder.com/global/images/apple-touch-icon-152x152.png" rel="apple-touch-icon" sizes="152x152" type="image/png" />
10+
<link href="https://cdn.blueyonder.com/global/images/apple-touch-icon-144x144.png" rel="apple-touch-icon" sizes="144x144" type="image/png" />
11+
<link href="https://cdn.blueyonder.com/global/images/apple-touch-icon-120x120.png" rel="apple-touch-icon" sizes="120x120" type="image/png" />
12+
<link href="https://cdn.blueyonder.com/global/images/apple-touch-icon-114x114.png" rel="apple-touch-icon" sizes="114x114" type="image/png" />
13+
<link href="https://cdn.blueyonder.com/global/images/apple-touch-icon-76x76.png" rel="apple-touch-icon" sizes="76x76" type="image/png" />
14+
<link href="https://cdn.blueyonder.com/global/images/apple-touch-icon-72x72.png" rel="apple-touch-icon" sizes="72x72" type="image/png" />
15+
<link href="https://cdn.blueyonder.com/global/images/apple-touch-icon-57x57.png" rel="apple-touch-icon" sizes="57x57" type="image/png" />
16+
17+
{% include seo.html %}
18+
19+
<link href="{% if site.atom_feed.path %}{{ site.atom_feed.path }}{% else %}{{ '/feed.xml' | relative_url }}{% endif %}" type="application/atom+xml" rel="alternate" title="{{ site.title }} Feed">
20+
21+
<script>
22+
document.documentElement.className = document.documentElement.className.replace(/\bno-js\b/g, '') + ' js ';
23+
</script>
24+
25+
<link rel="stylesheet" href="{{ '/assets/css/main.css' | relative_url }}">
26+
27+
{% if site.head_scripts %}
28+
{% for script in site.head_scripts %}
29+
{% if script contains "://" %}
30+
{% capture script_path %}{{ script }}{% endcapture %}
31+
{% else %}
32+
{% capture script_path %}{{ script | relative_url }}{% endcapture %}
33+
{% endif %}
34+
<script src="{{ script_path }}"></script>
35+
{% endfor %}
36+
{% endif %}

_includes/masthead.html

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
{% if site.logo contains "://" %}
2+
{% capture logo_path %}{{ site.logo }}{% endcapture %}
3+
{% else %}
4+
{% capture logo_path %}{{ site.logo }}{% endcapture %}
5+
{% endif %}
6+
7+
<div class="masthead">
8+
<div class="masthead__inner-wrap">
9+
<div class="masthead__menu">
10+
<nav id="site-nav" class="greedy-nav">
11+
{% unless logo_path == empty %}
12+
<a class="site-logo" href="{{ '/' | relative_url }}"><img src="{{ logo_path | relative_url }}" alt=""></a>
13+
{% endunless %}
14+
<a class="site-title" href="{{ '/' | relative_url }}" style="display: none;">
15+
{{ site.masthead_title | default: site.title }}
16+
{% if site.subtitle %}<span class="site-subtitle">{{ site.subtitle }}</span>{% endif %}
17+
</a>
18+
<ul class="visible-links">
19+
{%- for link in site.data.navigation.main -%}
20+
{%- if link.url contains '://' -%}
21+
{%- assign url = link.url -%}
22+
{%- else -%}
23+
{%- assign url = link.url | relative_url -%}
24+
{%- endif -%}
25+
<li class="masthead__menu-item">
26+
<a href="{{ url }}" {% if link.description %}title="{{ link.description }}"{% endif %}>{{ link.title }}</a>
27+
</li>
28+
{%- endfor -%}
29+
</ul>
30+
{% if site.search == true %}
31+
<button class="search__toggle" type="button">
32+
<span class="visually-hidden">{{ site.data.ui-text[site.locale].search_label | default: "Toggle search" }}</span>
33+
<svg class="icon" width="16" height="16" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15.99 16">
34+
<path d="M15.5,13.12L13.19,10.8a1.69,1.69,0,0,0-1.28-.55l-0.06-.06A6.5,6.5,0,0,0,5.77,0,6.5,6.5,0,0,0,2.46,11.59a6.47,6.47,0,0,0,7.74.26l0.05,0.05a1.65,1.65,0,0,0,.5,1.24l2.38,2.38A1.68,1.68,0,0,0,15.5,13.12ZM6.4,2A4.41,4.41,0,1,1,2,6.4,4.43,4.43,0,0,1,6.4,2Z" transform="translate(-.01)"></path>
35+
</svg>
36+
</button>
37+
{% endif %}
38+
<button class="greedy-nav__toggle hidden" type="button">
39+
<span class="visually-hidden">{{ site.data.ui-text[site.locale].menu_label | default: "Toggle menu" }}</span>
40+
<div class="navicon"></div>
41+
</button>
42+
<ul class="hidden-links hidden"></ul>
43+
</nav>
44+
</div>
45+
</div>
46+
</div>

_includes/page__hero.html

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
{% if page.header.image contains "://" %}
2+
{% capture img_path %}{{ page.header.image }}{% endcapture %}
3+
{% else %}
4+
{% capture img_path %}{{ page.header.image | relative_url }}{% endcapture %}
5+
{% endif %}
6+
7+
{% if page.header.cta_url contains "://" %}
8+
{% capture cta_path %}{{ page.header.cta_url }}{% endcapture %}
9+
{% else %}
10+
{% capture cta_path %}{{ page.header.cta_url | relative_url }}{% endcapture %}
11+
{% endif %}
12+
13+
{% if page.header.overlay_image contains "://" %}
14+
{% capture overlay_img_path %}{{ page.header.overlay_image }}{% endcapture %}
15+
{% elsif page.header.overlay_image %}
16+
{% capture overlay_img_path %}{{ page.header.overlay_image | relative_url }}{% endcapture %}
17+
{% endif %}
18+
19+
{% if page.header.overlay_filter contains "rgba" %}
20+
{% capture overlay_filter %}{{ page.header.overlay_filter }}{% endcapture %}
21+
{% elsif page.header.overlay_filter %}
22+
{% capture overlay_filter %}rgba(0, 0, 0, {{ page.header.overlay_filter }}){% endcapture %}
23+
{% endif %}
24+
25+
{% if page.header.image_description %}
26+
{% assign image_description = page.header.image_description %}
27+
{% else %}
28+
{% assign image_description = page.title %}
29+
{% endif %}
30+
31+
{% assign image_description = image_description | markdownify | strip_html | strip_newlines | escape_once %}
32+
33+
<div class="page__hero{% if page.header.overlay_color or page.header.overlay_image %}--overlay{% endif %}" style="{% if page.header.overlay_color %}background-color: {{ page.header.overlay_color | default: 'transparent' }};{% endif %} {% if overlay_img_path %}background-image: {% if overlay_filter %}linear-gradient({{ overlay_filter }}, {{ overlay_filter }}), {% endif %}url('{{ overlay_img_path }}');{% endif %}">
34+
{% if page.header.overlay_color or page.header.overlay_image %}
35+
<div class="wrapper">
36+
<h1 id="page-title" class="page__title" itemprop="headline" style="display: none;">
37+
{% if paginator and site.paginate_show_page_num %}
38+
{{ site.title }}{% unless paginator.page == 1 %} {{ site.data.ui-text[site.locale].page | default: "Page" }} {{ paginator.page }}{% endunless %}
39+
{% else %}
40+
{{ page.title | default: site.title | markdownify | remove: "<p>" | remove: "</p>" }}
41+
{% endif %}
42+
</h1>
43+
{% if page.header.show_overlay_excerpt != false and page.excerpt %}
44+
<p class="page__lead">{{ page.excerpt | markdownify | remove: "<p>" | remove: "</p>" }}</p>
45+
{% endif %}
46+
{% if page.read_time %}
47+
<p class="page__meta"><i class="far fa-clock" aria-hidden="true"></i> {% include read-time.html %}</p>
48+
{% endif %}
49+
{% if page.header.cta_url %}
50+
<p><a href="{{ cta_path }}" class="btn btn--light-outline btn--large">{{ page.header.cta_label | default: site.data.ui-text[site.locale].more_label | default: "Learn More" }}</a></p>
51+
{% endif %}
52+
{% if page.header.actions %}
53+
<p>
54+
{% for action in page.header.actions %}
55+
{% if action.url contains "://" %}
56+
{% assign url = action.url %}
57+
{% else %}
58+
{% assign url = action.url | relative_url %}
59+
{% endif %}
60+
<a href="{{ url }}" class="btn btn--light-outline btn--large">{{ action.label | default: site.data.ui-text[site.locale].more_label | default: "Learn More" }}</a>
61+
{% endfor %}
62+
{% endif %}
63+
</div>
64+
{% else %}
65+
<img src="{{ img_path }}" alt="{{ image_description }}" class="page__hero-image">
66+
{% endif %}
67+
{% if page.header.caption %}
68+
<span class="page__hero-caption">{{ page.header.caption | markdownify | remove: "<p>" | remove: "</p>" }}</span>
69+
{% endif %}
70+
</div>

_includes/scripts.html

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
<!-- Google Tag Manager -->
2+
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
3+
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
4+
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
5+
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
6+
})(window,document,'script','dataLayer','GTM-KMKMN5D');</script>
7+
<!-- End Google Tag Manager -->
8+
9+
10+
{% if site.footer_scripts %}
11+
{% for script in site.footer_scripts %}
12+
{% if script contains "://" %}
13+
{% capture script_path %}{{ script }}{% endcapture %}
14+
{% else %}
15+
{% capture script_path %}{{ script | relative_url }}{% endcapture %}
16+
{% endif %}
17+
<script src="{{ script_path }}"></script>
18+
{% endfor %}
19+
{% else %}
20+
<script src="{{ '/assets/js/main.min.js' | relative_url }}"></script>
21+
<script src="https://kit.fontawesome.com/4eee35f757.js"></script>
22+
{% endif %}
23+
24+
{% if site.search == true or page.layout == "search" %}
25+
{%- assign search_provider = site.search_provider | default: "lunr" -%}
26+
{%- case search_provider -%}
27+
{%- when "lunr" -%}
28+
{% include_cached search/lunr-search-scripts.html %}
29+
{%- when "google" -%}
30+
{% include_cached search/google-search-scripts.html %}
31+
{%- when "algolia" -%}
32+
{% include_cached search/algolia-search-scripts.html %}
33+
{%- endcase -%}
34+
{% endif %}
35+
36+
{% include /comments-providers/scripts.html %}
37+
38+
{% if site.after_footer_scripts %}
39+
{% for script in site.after_footer_scripts %}
40+
{% if script contains "://" %}
41+
{% capture script_path %}{{ script }}{% endcapture %}
42+
{% else %}
43+
{% capture script_path %}{{ script | relative_url }}{% endcapture %}
44+
{% endif %}
45+
<script src="{{ script_path }}"></script>
46+
{% endfor %}
47+
{% endif %}

_includes/youtube.html

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
<div class="video-container"><iframe
2-
src="https://www.youtube.com/embed/{{ include.id }}"
3-
frameborder="0"
4-
allowfullscreen>
5-
</iframe></div>
1+
<div class="video-container">
2+
<iframe src="https://www.youtube.com/embed/{{ include.id }}" frameborder="0" allowfullscreen></iframe>
3+
</div>

_layouts/default.html

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -11,21 +11,10 @@
1111
<html lang="{{ site.locale | slice: 0,2 | default: "en" }}" class="no-js">
1212
<head>
1313
{% include head.html %}
14-
{% include head/custom.html %}
15-
<!-- Google Tag Manager -->
16-
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
17-
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
18-
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
19-
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
20-
})(window,document,'script','dataLayer','GTM-KMKMN5D');</script>
21-
<!-- End Google Tag Manager -->
14+
2215
</head>
2316

2417
<body class="layout--{{ page.layout | default: layout.layout }}{% if page.classes or layout.classes %}{{ page.classes | default: layout.classes | join: ' ' | prepend: ' ' }}{% endif %}">
25-
<!-- Google Tag Manager (noscript) -->
26-
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-KMKMN5D"
27-
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
28-
<!-- End Google Tag Manager (noscript) -->
2918
{% include_cached browser-upgrade.html %}
3019
{% include_cached masthead.html %}
3120

@@ -41,7 +30,6 @@
4130

4231
<div class="page__footer">
4332
<footer>
44-
{% include footer/custom.html %}
4533
{% include_cached footer.html %}
4634
</footer>
4735
</div>

0 commit comments

Comments
 (0)