-
- {%- if banner_html -%}
-
- {%- assign banner_html = 'views/' | append: banner_html -%}
- {%- include {{ banner_html }} -%}
-
- {%- else -%}
+ });
+ }
-
-
- {{ heading | default: page.title | escape }}
-
-
- {{ subheading | default: page.subtitle | escape }}
-
-
+ video.onloadstart = function() {
+ video.currentTime = {{ banner_start_at }};
+ video.volume = {{ banner_volume }};
+ video.muted = (video.volume == 0);
+ videoPlay();
+ }
+ video.onended = function() {
+ video.currentTime = {{ banner_start_at }};
+ video.volume = 0;
+ {%- if banner_loop -%}
+ video.play();
{%- endif -%}
+ }
+ })();
+
+ {%- else -%}
+
+
+ {%- endif -%}
+
+
{%- endif -%}
-
diff --git a/_includes/views/header.html b/_includes/views/header.html
index 7089c7e..c3a28dc 100644
--- a/_includes/views/header.html
+++ b/_includes/views/header.html
@@ -29,10 +29,10 @@
{%- for path in page_paths -%} {%- assign my_page = site.pages |
where: "path", path | first -%} {%- if my_page.title -%}
+
{{ my_page.title | upcase | escape }}
-
{%- endif -%} {%- endfor -%} {%- assign name = 'translate_langs' -%}
{%- include functions.html func='get_value' -%} {%- assign
translate_langs = return -%} {%- if translate_langs.size > 0 -%} {%-
diff --git a/_includes/views/site-brand.html b/_includes/views/site-brand.html
index b632b56..32b8880 100644
--- a/_includes/views/site-brand.html
+++ b/_includes/views/site-brand.html
@@ -2,7 +2,7 @@
diff --git a/_layouts/home.html b/_layouts/home.html
index 4753b16..02edfc1 100644
--- a/_layouts/home.html
+++ b/_layouts/home.html
@@ -1,8 +1,8 @@
---
layout: articles
-heading: 'Your awesome heading'
-subheading: 'Your awesome subheading'
-banner: 'default'
+heading: ""
+subheading: ""
+banner: "default"
---
{{ content }}
diff --git a/_sass/misc/google-translate.scss b/_sass/misc/google-translate.scss
index 04fe567..a7bc7cc 100644
--- a/_sass/misc/google-translate.scss
+++ b/_sass/misc/google-translate.scss
@@ -49,7 +49,7 @@ div#google_translate_element {
font-size: 0;
}
- div[id=':0.targetLanguage'] {
+ div[id=":0.targetLanguage"] {
display: inline;
}
@@ -78,7 +78,7 @@ div#google_translate_element {
&:before {
content: "\f1ab \f0d7";
- font-family: FontAwesome;
+ font-family: $base-font-family;
font-size: initial;
color: #fefefe;
border: 1px solid #fefefe85;
@@ -109,7 +109,6 @@ body {
/* OVERRIDE GOOGLE TRANSLATE WIDGET CSS END */
-
// Main look
.ct-language-selected {
@@ -144,7 +143,7 @@ body {
}
&:not(:last-child) {
- border-bottom: 1px solid rgba(0, 0, 0, .04);
+ border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}
a {
@@ -184,13 +183,12 @@ body {
margin-top: 8px;
max-height: 10000px;
visibility: visible;
- box-shadow: 0 0 9px 3px rgba(0, 0, 0, .06);
+ box-shadow: 0 0 9px 3px rgba(0, 0, 0, 0.06);
}
}
&:before {
content: "\f1ab \f0d7";
- font-family: FontAwesome;
+ font-family: $base-font-family;
}
}
-
diff --git a/assets/images/kernel360.png b/assets/images/banners/kernel360.png
similarity index 100%
rename from assets/images/kernel360.png
rename to assets/images/banners/kernel360.png