File tree Expand file tree Collapse file tree 3 files changed +18
-20
lines changed Expand file tree Collapse file tree 3 files changed +18
-20
lines changed Original file line number Diff line number Diff line change 4
4
{%- endif -%}
5
5
{%- for node in sorted_pages -%}
6
6
{%- if node.menu != false -%}
7
- {%- if node.menu or node.title %}
8
7
{%- unless node.parent %}
9
- < a class ="mdl-navigation__link parent{% if node.url == page.url or page.parent and page.parent == node.path %} is-active{% endif %} " href ="{{ node.url | absolute_url }} "{% if node.tab %} target ="_blank "{% endif %} > {% if node.menu %}{{ node.menu }}{% else %}{{ node.title }}{% endif %}</ a >
8
+ < a class ="mdl-navigation__link parent{% if node.url == page.url or page.parent and page.parent == node.path %} is-active{% endif %} " href ="{{ node.url | absolute_url }} "{% if node.tab %} target ="_blank "{% endif %} > {% if node.menu %}{{ node.menu }}{% else %}{{ node.title }}{% endif %}</ a >
10
9
{%- if site.menu_style != 'dropdown' or node.url == page.url or page.parent and page.parent == node.path -%}
11
10
{%- for child in sorted_pages -%}
12
11
{%- if child.menu != false -%}
13
12
{%- if child.menu or child.title %}
14
13
{%- if child.parent %}
15
14
{%- if child.parent == node.path or child.parent == node.id %}
16
- < a class ="mdl-navigation__link child{% if child.url == page.url %} is-active{% endif %} " href ="{{ child.url | absolute_url }} "{% if child.tab %} target ="_blank "{% endif %} > {% if child.menu %}{{ child.menu }}{% else %}{{ child.title }}{% endif %}</ a >
15
+ < a class ="mdl-navigation__link child{% if child.url == page.url %} is-active{% endif %} " href ="{{ child.url | absolute_url }} "{% if child.tab %} target ="_blank "{% endif %} > {% if child.menu %}{{ child.menu }}{% else %}{{ child.title }}{% endif %}</ a >
17
16
{%- endif -%}
18
- {%- endif -%}
19
- {%- endif -%}
20
- {%- endif -%}
21
- {%- endfor -%}
22
- {%- endif -%}
23
- {%- endunless -%}
24
- {%- endif -%}
25
- {%- endif -%}
26
- {%- endfor -%}
17
+ {% endif -%}
18
+ {% endif -%}
19
+ {% endif -%}
20
+ {% endfor -%}
21
+ {% endif -%}
22
+ {% endunless -%}
23
+ {% endif -%}
24
+ {% endfor -%}
Original file line number Diff line number Diff line change 1
- <!DOCTYPE html>
2
- < html lang ="{{ site.lang | default: "en-GB " }}">
1
+ <!doctype html>
2
+ < html lang ="{{ site.lang | default: "en " }}">
3
3
4
4
< head >
5
5
{% include head.html %}
22
22
</ header >
23
23
< div class ="mdl-layout__drawer ">
24
24
< span class ="mdl-layout-title ">
25
- {%- if site.logo %}
25
+ {%- if site.logo %}
26
26
< a id ="site-title " href ="{{ '/' | absolute_url }} ">
27
- < img src ="{{ site.logo | absolute_url }} " alt ="" id ="site-logo ">
27
+ < img src ="{{ site.logo | absolute_url }} " alt ="{{ site.title }} " id ="site-logo ">
28
28
</ a >
29
- {% else %}
29
+ {% else %}
30
30
< a id ="site-title " href ="{{ '/' | absolute_url }} "> {{ site.title }}</ a >
31
- {% endif -%}
31
+ {% endif -%}
32
32
</ span >
33
33
< nav class ="mdl-navigation ">
34
- {%- include menu.html - %}
34
+ {%- include menu.html %}
35
35
</ nav >
36
36
</ div >
37
37
< div class ="ribbon-news " style ="background-image: url('{{ page.image }}'); "> </ div >
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ menu: About Us # Set to false to hide from the menu completely.
10
10
weight : 3 # Lower weights rise to the top of the side navigation menu.
11
11
# Override global color scheme for this page.
12
12
# https://getmdl.io/customize/index.html
13
- mdl_colors : deep_orange-blue
13
+ mdl_colors : green-deep_purple
14
14
search : true # 'false' hides this page from search results.
15
15
# Add the category this page should belong to.
16
16
# When set, the permalink is made up of /:category/:title (e.g. /pages/about)
You can’t perform that action at this time.
0 commit comments