File tree Expand file tree Collapse file tree 9 files changed +42
-42
lines changed Expand file tree Collapse file tree 9 files changed +42
-42
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ defaults:
41
41
sidebar : main
42
42
-
43
43
scope :
44
- path : " */*/TEMPLATE_* .md"
44
+ path : " pages/example_pages/TEMPLATE_general_page .md"
45
45
type : " pages"
46
46
values :
47
47
permalink : /:basename:output_ext
Original file line number Diff line number Diff line change @@ -11,20 +11,20 @@ columns:
11
11
width : 3
12
12
children :
13
13
- url_text : Contributors
14
- url : /contributors.html
14
+ url : /contributors
15
15
- url_text : Institutes, projects and funders
16
- url : /support.html
16
+ url : /support
17
17
- type : links
18
18
width : 3
19
19
children :
20
20
- url_text : About
21
- url : /about.html
21
+ url : /about
22
22
- url_text : Contact
23
- url : /contact.html
23
+ url : /contact
24
24
- url_text : Accessibility
25
- url : /accessibility.html
25
+ url : /accessibility
26
26
- url_text : Privacy
27
- url : /privacy.html
27
+ url : /privacy
28
28
- type : image
29
29
image_width : 100px
30
30
width : 1
Original file line number Diff line number Diff line change 1
1
# title: About
2
2
# version: 2.0
3
- # title_url: /events.html
3
+ # title_url: /events
4
4
subitems :
5
5
- title : About
6
6
subitems :
7
7
- title : About this theme
8
- url : /about.html
8
+ url : /about
9
9
- title : Accessibility
10
- url : /accessibility.html
10
+ url : /accessibility
11
11
- title : Documentation
12
12
subitems :
13
13
- title : Markdown cheat sheet
14
- url : /markdown_cheat_sheet.html
14
+ url : /markdown_cheat_sheet
15
15
- title : Navigation structures
16
- url : /navigation_structures.html
16
+ url : /navigation_structures
17
17
- title : Page mechanics
18
- url : /page_mechanics.html
18
+ url : /page_mechanics
19
19
- title : Example pages
20
20
subitems :
21
21
- title : Contributor page
22
- url : /contributors.html
22
+ url : /contributors
23
23
- title : Events
24
- url : /events.html
24
+ url : /events
25
25
- title : News page
26
- url : /news.html
26
+ url : /news
27
27
- title : Logo page
28
- url : /logo_page.html
28
+ url : /logo_page
29
29
- title : Section overview
30
- url : /overview_tiles.html
30
+ url : /overview_tiles
31
31
subitems :
32
32
- title : General page
33
- url : /general_page.html
33
+ url : /general_page
34
34
- title : General page 2
35
- url : /general_page_2.html
35
+ url : /general_page_2
36
36
- title : General page 3
37
- url : /general_page_3.html
37
+ url : /general_page_3
38
38
- title : General page 4
39
- url : /general_page_4.html
39
+ url : /general_page_4
40
40
- title : All resources
41
- url : /all_resources.html
41
+ url : /all_resources
42
42
- title : All trainings
43
- url : /all_trainings.html
43
+ url : /all_trainings
44
44
- title : Website overview
45
- url : /website_overview.html
45
+ url : /website_overview
46
46
- title : 404 page not found
47
- url : /404.html
47
+ url : /404
48
48
Original file line number Diff line number Diff line change 2
2
# # if you want to list an external url, use external_url instead of url. the theme will apply a different link base.
3
3
subitems :
4
4
- title : Home
5
- url : /index.html
5
+ url : /index
6
6
- title : About
7
- url : /about.html
7
+ url : /about
8
8
- title : Example dropdown
9
9
subitems :
10
10
- title : Events
11
- url : /events.html
11
+ url : /events
12
12
- title : News
13
- url : /news.html
13
+ url : /news
14
14
- hr : true
15
15
- title : Contributors
16
- url : /contributors.html
16
+ url : /contributors
17
17
Original file line number Diff line number Diff line change 2
2
<!-- START Bootstrap-Cookie-Alert -->
3
3
< div class ="alert text-center cookiealert rounded-0 " role ="alert ">
4
4
We use cookies to ensure you get the best experience on our website. Read our
5
- < a class ="fw-bold " href ="{{ '/privacy.html ' | relative_url}} "> privacy policy</ a > to find out more.
5
+ < a class ="fw-bold " href ="{{ '/privacy' | relative_url}} "> privacy policy</ a > to find out more.
6
6
< button type ="button " id ="acceptcookies " class ="btn btn-primary ms-2 ">
7
7
Got it!
8
8
</ button >
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ <h2>{{include.event_type | replace: "_", " " | capitalize}}s</h2>
33
33
{%- endfor %}
34
34
</ ul >
35
35
{%- if include.caption == "true" %}
36
- < small > An overview of all our events can be fount on the < a href ="/events.html "> events page</ a > .</ small >
36
+ < small > An overview of all our events can be fount on the < a href ="{{' /events' | relative_url}} "> events page</ a > .</ small >
37
37
{%- endif %}
38
38
</ div >
39
39
< script >
Original file line number Diff line number Diff line change @@ -31,6 +31,6 @@ <h2>Whats new?</h2>
31
31
{%- endfor %}
32
32
</ ul >
33
33
{%- if include.caption == "true" %}
34
- < small > For more news please visit our < a href ="/news.html "> news page</ a > .</ small >
34
+ < small > For more news please visit our < a href ="/news "> news page</ a > .</ small >
35
35
{%- endif %}
36
36
</ div >
Original file line number Diff line number Diff line change 1
1
{%- assign sidebar = site.data.sidebars[page.sidebar] %}
2
- {%- capture reusing -%}{%- if page.url == "/reusing.html " -%}st0{%- else -%}st10{%- endif -%}{%- endcapture -%}
3
- {%- capture preserving -%}{%- if page.url == "/preserving.html " -%}st2{%- else -%}st12{%- endif -%}{%- endcapture -%}
4
- {%- capture analysing -%}{%- if page.url == "/analysing.html " -%}st3{%- else -%}st13{%- endif -%}{%- endcapture -%}
5
- {%- capture processing -%}{%- if page.url == "/processing.html " -%}st4{%- else -%}st14{%- endif -%}{%- endcapture -%}
6
- {%- capture planning -%}{%- if page.url == "/planning.html " -%}st5{%- else -%}st15{%- endif -%}{%- endcapture -%}
7
- {%- capture collecting -%}{%- if page.url == "/collecting.html " -%}st6{%- else -%}st16{%- endif -%}{%- endcapture -%}
8
- {%- capture sharing -%}{%- if page.url == "/sharing.html " -%}st7{%- else -%}st17{%- endif -%}{%- endcapture -%}
2
+ {%- capture reusing -%}{%- if page.url == "/reusing" -%}st0{%- else -%}st10{%- endif -%}{%- endcapture -%}
3
+ {%- capture preserving -%}{%- if page.url == "/preserving" -%}st2{%- else -%}st12{%- endif -%}{%- endcapture -%}
4
+ {%- capture analysing -%}{%- if page.url == "/analysing" -%}st3{%- else -%}st13{%- endif -%}{%- endcapture -%}
5
+ {%- capture processing -%}{%- if page.url == "/processing" -%}st4{%- else -%}st14{%- endif -%}{%- endcapture -%}
6
+ {%- capture planning -%}{%- if page.url == "/planning" -%}st5{%- else -%}st15{%- endif -%}{%- endcapture -%}
7
+ {%- capture collecting -%}{%- if page.url == "/collecting" -%}st6{%- else -%}st16{%- endif -%}{%- endcapture -%}
8
+ {%- capture sharing -%}{%- if page.url == "/sharing" -%}st7{%- else -%}st17{%- endif -%}{%- endcapture -%}
9
9
< button class ="btn text-start d-lg-none collapsed sidebar-collapse w-100 mb-3 " type ="button " data-bs-toggle ="collapse " data-bs-target ="#side-nav " aria-controls ="side-nav " aria-expanded ="true " aria-label ="Toggle navigation ">
10
10
{{ page.sidebar | capitalize | replace: "_", " " }} menu < i title ="navbar-toggler " class ="fa fa-bars ms-2 "> </ i >
11
11
</ button >
Original file line number Diff line number Diff line change 4
4
< a class ="visually-hidden-focusable " href ='#footer '> Skip to footer</ a >
5
5
< nav class ="navbar navbar-expand-lg mb-3 mb-lg-5 ">
6
6
< div class ="container ">
7
- < a class ="navbar-brand " href ="{{ 'index.html ' | relative_url }} "> < img class ="{% if site.topnav_title %}me-3 {% endif %}img-fluid " alt ="{{site.title}} logo " src ="{{ 'assets/img/main_logo.svg' | relative_url }} "> {% if site.topnav_title %}< span class ="me-0 me-lg-3 "> {{site.topnav_title}}</ span > {% endif %}</ a >
7
+ < a class ="navbar-brand " href ="{{ '/ ' | relative_url }} "> < img class ="{% if site.topnav_title %}me-3 {% endif %}img-fluid " alt ="{{site.title}} logo " src ="{{ 'assets/img/main_logo.svg' | relative_url }} "> {% if site.topnav_title %}< span class ="me-0 me-lg-3 "> {{site.topnav_title}}</ span > {% endif %}</ a >
8
8
< button class ="navbar-toggler text-primary " type ="button " data-bs-toggle ="collapse " data-bs-target ="#navbarCollapse " aria-controls ="navbarCollapse " aria-expanded ="false " aria-label ="Toggle navigation ">
9
9
< i title ="navbar-toggler " class ="fa fa-bars "> </ i >
10
10
</ button >
You can’t perform that action at this time.
0 commit comments