eclipsefdn-hugo-solstice-theme 2.0.0 → 3.0.0

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.
Files changed (31) hide show
  1. package/config.toml +521 -286
  2. package/exampleSite/config/_default/config.toml +2 -2
  3. package/layouts/_default/baseof.html +0 -1
  4. package/layouts/partials/breadcrumbs.html +26 -33
  5. package/layouts/partials/featured_story_popup.html +6 -0
  6. package/layouts/partials/footer.html +60 -19
  7. package/layouts/partials/footer_js.html +1 -1
  8. package/layouts/partials/head.html +10 -10
  9. package/layouts/partials/header.html +8 -8
  10. package/layouts/partials/jumbotron.html +73 -85
  11. package/layouts/partials/main_prefix.html +16 -18
  12. package/layouts/partials/main_suffix.html +1 -18
  13. package/layouts/partials/mega_menu.html +47 -51
  14. package/layouts/partials/mobile_menu.html +43 -97
  15. package/layouts/partials/nav.html +47 -60
  16. package/layouts/partials/navbar.html +108 -29
  17. package/layouts/partials/sidebar.html +48 -54
  18. package/layouts/partials/socials.html +15 -90
  19. package/layouts/partials/toolbar.html +4 -70
  20. package/package.json +3 -3
  21. package/webpack.mix.js +4 -4
  22. package/layouts/partials/featured_story.html +0 -38
  23. package/layouts/partials/footer_links/footer-copyright.html +0 -19
  24. package/layouts/partials/footer_links/footer-eclipse-foundation.html +0 -11
  25. package/layouts/partials/footer_links/footer-legal.html +0 -12
  26. package/layouts/partials/footer_links/footer-other.html +0 -10
  27. package/layouts/partials/footer_links/footer-useful-links.html +0 -11
  28. package/layouts/partials/footer_links/links.html +0 -3
  29. package/layouts/partials/footer_links/prefix.html +0 -0
  30. package/layouts/partials/footer_links/suffix.html +0 -36
  31. package/layouts/partials/working_group_footer.html +0 -55
@@ -1,108 +1,54 @@
1
- {{/*
2
- Copyright (c) 2023 Eclipse Foundation, Inc.
1
+ <!--
2
+ Copyright (c) 2025 Eclipse Foundation AISBL
3
3
 
4
4
  This program and the accompanying materials are made available under the
5
5
  terms of the Eclipse Public License v. 2.0 which is available at
6
6
  http://www.eclipse.org/legal/epl-2.0.
7
7
 
8
- Contributors:
9
- Olivier Goulet <olivier.goulet@eclipse-foundation.org>
10
-
11
8
  SPDX-License-Identifier: EPL-2.0
12
- */}}
9
+ -->
13
10
 
14
11
  {{ $main_menu := .Scratch.Get "main_menu" }}
15
12
  {{ $current_page := . }}
16
-
17
- <nav class="mobile-menu hidden" aria-expanded="false">
18
- <ul>
19
- {{ range (index .Site.Menus $main_menu) }}
20
- {{ $menu_id := .Identifier | default (lower .Name) }}
21
- {{ $target_menu := printf "%s-menu" $menu_id }}
22
- {{ $menu_type := "link" }}
23
-
24
- {{/* If the desktop menu uses basic dropdowns, set menu type to "dropdown". */}}
25
- {{ if .HasChildren }}
26
- {{ $menu_type = "dropdown" }}
27
- {{ end }}
28
-
29
- {{/* Unless if any of the menus are 3-levels deep then we know the desktop menu type is "mega". */}}
30
- {{ range .Children }}
31
- {{ if .HasChildren }}
32
- {{ $menu_type = "mega" }}
33
- {{ end }}
34
- {{ end }}
35
-
36
- {{ $args := dict "target_menu" $target_menu "Name" .Name "URL" .URL "Identifier" .Identifier "Children" .Children }}
37
-
38
- {{ if eq $menu_type "link" }}
39
- {{ template "mobile_menu_link" $args }}
40
- {{ else if eq $menu_type "dropdown" }}
41
- {{ template "mobile_menu_dropdown" $args }}
42
- {{ else if eq $menu_type "mega" }}
43
- {{ template "mobile_menu_mega" $args }}
44
- {{ end }}
45
- {{ end }}
46
- </ul>
47
- </nav>
48
-
49
- {{ define "mobile_menu_link" }}
50
- <li>
51
- <a class="mobile-menu-item" href="{{ .URL }}">{{ .Name }}</a>
52
- </li>
53
- {{ end }}
54
-
55
- {{ define "mobile_menu_dropdown" }}
56
- <li class="mobile-menu-dropdown">
57
- <a class="mobile-menu-item mobile-menu-dropdown-toggle" data-target="{{ .target_menu }}">
58
- <span>{{ .Name }}</span>
59
- <i class="fa fa-chevron-down" aria-hidden="true"></i>
60
- </a>
61
- <div class="mobile-menu-sub-menu-wrapper">
62
- <ul class="mobile-menu-sub-menu mobile-menu-links-menu hidden" id="{{ .Identifier }}-menu">
63
- {{ range .Children }}
64
- {{ template "mobile_menu_link" . }}
65
- {{ end }}
66
- </ul>
67
- </div>
68
- </li>
69
- {{ end }}
70
-
71
- {{ define "mobile_menu_mega" }}
72
- <li class="mobile-menu-dropdown">
73
- <a class="mobile-menu-item mobile-menu-dropdown-toggle" data-target="{{ .target_menu }}">
74
- <span>{{ .Name }}</span>
75
- <i class="fa fa-chevron-down" aria-hidden="true"></i>
76
- </a>
77
- <div class="mobile-menu-sub-menu-wrapper">
78
- <ul class="mobile-menu-sub-menu hidden" id="{{ .Identifier }}-menu">
79
- {{ range .Children }}
80
- <li class="mobile-menu-dropdown">
81
- <a
82
- data-target="{{ .Identifier }}-sub-menu"
83
- class="mobile-menu-item mobile-menu-dropdown-toggle"
84
- aria-expanded="false"
85
- >
86
- <span>{{ .Name }}</span>
87
- <i class="fa fa-chevron-down" aria-hidden="true"></i>
88
- </a>
89
- <div class="mobile-menu-sub-menu-wrapper">
90
- <ul
91
- class="mobile-menu-sub-menu mobile-menu-links-menu hidden"
92
- id="{{ .Identifier }}-sub-menu"
93
- >
94
- {{ range .Children }}
95
- <li>
96
- <a class="mobile-menu-item" href="{{ .URL }}">
97
- {{ .Name }}
98
- </a>
99
- </li>
100
- {{ end }}
101
- </ul>
102
- </div>
103
- </li>
13
+ <div class="mobile-menu hidden">
14
+ <nav class="mobile-menu-nav">
15
+ {{ template "mobile_menu_list" (dict "current_page" $current_page "menu_id" nil "menu" (index .Site.Menus $main_menu)) }}
16
+ </nav>
17
+ </div>
18
+
19
+ {{ define "mobile_menu_list" }}
20
+ {{ $current_page := .current_page }}
21
+
22
+ {{ $has_parent := false }}
23
+
24
+ <!-- Detect whether this menu is the root or not. -->
25
+ {{ range .menu }}
26
+ {{ if .Parent }}
27
+ {{ $has_parent = true }}
28
+ {{ end }}
29
+ {{ end }}
30
+
31
+ <ul {{ if $has_parent -}} class="collapse" id="{{ .menu_id }}" {{- end -}}>
32
+ {{ range .menu }}
33
+ {{ $menu_id := .Identifier | default (lower .Name) }}
34
+ {{ $target_menu := printf "mobile-menu-%s" $menu_id }}
35
+ <li>
36
+ {{ if .HasChildren }}
37
+ <a
38
+ role="button"
39
+ href="#{{ $target_menu }}"
40
+ data-toggle="collapse"
41
+ aria-expanded="false"
42
+ aria-controls="{{ $target_menu }}"
43
+ >
44
+ {{ .Name }}
45
+ <i class="fa-solid fa-chevron-down" aria-hidden="true"></i>
46
+ </a>
47
+ {{ template "mobile_menu_list" (dict "current_page" $current_page "menu_id" $target_menu "menu" .Children) }}
48
+ {{ else }}
49
+ <a href="{{ .URL }}" {{ with .Params.target -}} target="{{ . | safeHTMLAttr }}" {{- end }}>{{ .Name }}</a>
104
50
  {{ end }}
105
- </ul>
106
- </div>
107
- </li>
51
+ </li>
52
+ {{ end }}
53
+ </ul>
108
54
  {{ end }}
@@ -1,82 +1,69 @@
1
- {{/*
2
- Copyright (c) 2023 Eclipse Foundation, Inc.
1
+ <!--
2
+ Copyright (c) 2025 Eclipse Foundation AISBL
3
3
 
4
4
  This program and the accompanying materials are made available under the
5
5
  terms of the Eclipse Public License v. 2.0 which is available at
6
6
  http://www.eclipse.org/legal/epl-2.0.
7
7
 
8
- Contributors:
9
- Olivier Goulet <olivier.goulet@eclipse-foundation.org>
10
-
11
8
  SPDX-License-Identifier: EPL-2.0
12
- */}}
9
+ -->
13
10
 
14
11
  {{ if .Page.Params.main_menu }}
15
12
  {{ .Scratch.Set "main_menu" .Page.Params.main_menu }}
16
13
  {{ else if (index .Site.Menus "main") }}
17
14
  {{ .Scratch.Set "main_menu" "main" }}
18
15
  {{ else }}
19
- {{ .Scratch.Set "main_menu" "astro" }}
16
+ {{ .Scratch.Set "main_menu" "neptune" }}
20
17
  {{ end }}
21
18
 
19
+
22
20
  {{ $main_menu := .Scratch.Get "main_menu" }}
23
21
  {{ $current_page := . }}
24
22
 
25
- <nav class="header-navbar-nav">
26
- <ul class="header-navbar-nav-links">
27
- {{ range (index .Site.Menus $main_menu) }}
28
- {{ $menu_id := .Identifier | default (lower .Name) }}
29
- {{ $target_menu := printf "%s-menu" $menu_id }}
30
- {{ $active_class := "" }}
31
- {{ $menu_type := "link" }}
23
+ <nav class="navigation-bar-nav hidden-xs hidden-sm">
24
+ <ul>
25
+ {{ range (index .Site.Menus $main_menu) }}
26
+ {{ $menu_id := .Identifier | default (lower .Name) }}
27
+ {{ $target_menu := printf "%s-menu" $menu_id }}
28
+ {{ $active_class := "" }}
29
+ {{ $menu_type := "link" }}
32
30
 
33
- {{ if $current_page.IsMenuCurrent $main_menu . }}
34
- {{ $active_class = "active" }}
35
- {{ end }}
36
-
37
- {{/* If the menu has children, we will show a dropdown */}}
38
- {{ if .HasChildren }}
39
- {{ $menu_type = "dropdown" }}
40
- {{ end }}
31
+ {{ if $current_page.IsMenuCurrent $main_menu . }}
32
+ {{ $active_class = "active" }}
33
+ {{ end }}
41
34
 
42
- {{/* Unless if any of the menus are 3-levels deep then we will show a mega menu. */}}
43
- {{ range .Children }}
44
- {{ if .HasChildren }}
45
- {{ $menu_type = "mega" }}
46
- {{ end }}
47
- {{ end }}
35
+ {{/* If the menu has children, we will show a dropdown */}}
36
+ {{ if .HasChildren }}
37
+ {{ $menu_type = "dropdown" }}
38
+ {{ end }}
48
39
 
49
- <li class="navbar-nav-links-item {{ $active_class }}">
50
- {{ if eq $menu_type "link" }}
51
- <a class="link-unstyled" href="{{ .URL }}">{{ .Name }}</a>
52
- {{ else if eq $menu_type "dropdown" }}
53
- <div class="dropdown">
54
- <button class="btn-link link-unstyled" id="{{ $menu_id }}" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
55
- {{ .Name }}
56
- <i class="fa fa-caret-down" aria-hidden="true"></i>
57
- </button>
58
- <ul class="dropdown-menu" aria-labelledby="{{ $menu_id }}">
59
- {{ range .Children }}
60
- <li>
61
- <a class="link-unstyled" href="{{ .URL }}" {{ with .Params.target -}} target="{{ . | safeHTMLAttr }}" {{- end }}>
62
- {{ .Name }}
63
- {{ with .Params.external }}<i class="external-icon fa-solid fa-arrow-up-right-from-square" aria-hidden="true"></i>{{ end }}
64
- </a>
65
- </li>
66
- {{ end }}
67
- </ul>
68
- </div>
69
- {{ else }}
70
- <button
71
- class="nav-link-js btn-link link-unstyled"
72
- type="button"
73
- aria-expanded="true"
74
- data-menu-target="{{ $target_menu }}"
75
- >
76
- {{ .Name }}
77
- </button>
78
- {{ end }}
79
- </li>
40
+ {{/* Unless if any of the menus are 3-levels deep then we will show a mega menu. */}}
41
+ {{ range .Children }}
42
+ {{ if .HasChildren }}
43
+ {{ $menu_type = "mega" }}
80
44
  {{ end }}
81
- </ul>
45
+ {{ end }}
46
+
47
+ {{ if eq $menu_type "link" }}
48
+ <li>
49
+ <a href="{{ .URL }}">{{ .Name }}</a>
50
+ </li>
51
+ {{ else if eq $menu_type "dropdown" }}
52
+ <li class="dropdown">
53
+ <button
54
+ class="dropdown-toggle btn btn-link"
55
+ data-toggle="dropdown"
56
+ aria-haspopup="true"
57
+ aria-expanded="false"
58
+ >
59
+ {{ .Name }}
60
+ </button>
61
+ </li>
62
+ {{ else if eq $menu_type "mega" }}
63
+ <li>
64
+ <button type="button" class="btn btn-link" data-target="{{ $target_menu }}">{{ .Name }}</button>
65
+ </li>
66
+ {{ end }}
67
+ {{ end }}
68
+ </ul>
82
69
  </nav>
@@ -1,17 +1,14 @@
1
- {{/*
2
- Copyright (c) 2023 Eclipse Foundation, Inc.
1
+ <!--
2
+ Copyright (c) 2025 Eclipse Foundation AISBL
3
3
 
4
4
  This program and the accompanying materials are made available under the
5
5
  terms of the Eclipse Public License v. 2.0 which is available at
6
6
  http://www.eclipse.org/legal/epl-2.0.
7
7
 
8
- Contributors:
9
- Olivier Goulet <olivier.goulet@eclipse-foundation.org>
10
-
11
8
  SPDX-License-Identifier: EPL-2.0
12
- */}}
9
+ -->
13
10
 
14
- {{ $logo := .Site.Params.logo | default "https://www.eclipse.org/eclipse.org-common/themes/solstice/public/images/logo/eclipse-foundation-grey-orange.svg" }}
11
+ {{ $logo := .Site.Params.logo | default "https://www.eclipse.org/eclipse.org-common/themes/solstice/public/images/logo/eclipse-foundation-white-orange.svg" }}
15
12
  {{ $logo_width := .Site.Params.logo_width | default "150" }}
16
13
  {{ $logo_title := .Site.Params.logo_title | default $.Site.Title }}
17
14
 
@@ -22,30 +19,112 @@
22
19
 
23
20
  {{ $hide_cfa := .Site.Params.hide_call_for_action | default .Page.Params.hide_call_for_action | default false }}
24
21
 
25
- <div class="header-navbar-wrapper">
26
- <div class="container">
27
- <div class="header-navbar">
28
- <div class="header-navbar-brand">
29
- <a class="logo-wrapper" href="/" title="{{ $logo_title }}">
30
- <img src="{{ $logo }}" alt="" width="{{ $logo_width }}" />
31
- </a>
32
- </div>
33
- {{ partial "nav.html" . }}
34
- <div class="header-navbar-end">
35
- {{ if not $hide_cfa }}
22
+ <div class="navigation-bar dark">
23
+ <div class="container">
24
+ <div class="navigation-bar-inner">
25
+ <div class="navigation-bar-left">
26
+ <a class="focus-highlight focus-inverse" href="/">
27
+ <img
28
+ class="navigation-bar-brand"
29
+ src="{{ $logo }}"
30
+ alt="{{ $logo_title }}"
31
+ />
32
+ </a>
33
+ </div>
34
+ {{ partial "nav.html" . }}
35
+ <div class="navigation-bar-right">
36
+ <!-- Navbar controls -->
37
+ <div class="navigation-bar-controls hidden-xs hidden-sm">
38
+ <ul>
39
+ <li class="dropdown">
40
+ <a
41
+ class="dropdown-toggle link-unstyled focus-highlight"
42
+ tabindex="0"
43
+ id="search-dropdown-toggle"
44
+ data-toggle="dropdown"
45
+ href="#"
46
+ aria-label="Search"
47
+ >
48
+ <i class="fa-solid fa-magnifying-glass" aria-hidden="true"></i>
49
+ </a>
50
+ <form
51
+ class="search-bar dropdown-menu dropdown-menu-right"
52
+ aria-labelledby="search-dropdown-toggle"
53
+ action="https://www.eclipse.org/home/search/"
54
+ method="get"
55
+ >
56
+ <input class="search-bar-input" name="q" placeholder="Search" />
57
+ <button class="btn btn-link" type="submit">
58
+ <i class="fa-solid fa-arrow-right"></i>
59
+ </button>
60
+ </form>
61
+ </li>
62
+ <li class="dropdown">
63
+ <a
64
+ class="dropdown-toggle focus-highlight"
65
+ id="user-menu"
66
+ href="#"
67
+ data-toggle="dropdown"
68
+ aria-haspopup="true"
69
+ aria-expanded="false"
70
+ tabindex="0"
71
+ >
72
+ <i class="fa-regular fa-user" aria-hidden="true"></i>
73
+ </a>
74
+ <ul
75
+ class="dropdown-menu dropdown-menu-right"
76
+ aria-labelledby="user-menu"
77
+ >
78
+ <li>
79
+ <a href="https://accounts.eclipse.org/user">
80
+ <i
81
+ class="fa-solid fa-user margin-right-10"
82
+ aria-hidden="true"
83
+ ></i>
84
+ View my account
85
+ </a>
86
+ </li>
87
+ <li>
88
+ <a href="https://accounts.eclipse.org/user/edit">
89
+ <i
90
+ class="fa-solid fa-edit margin-right-10"
91
+ aria-hidden="true"
92
+ ></i>
93
+ Edit my account
94
+ </a>
95
+ </li>
96
+ <li>
97
+ <a role="link" class="toolbar-manage-cookies" href="#" tabindex="0">
98
+ <i
99
+ class="fa-solid fa-wrench margin-right-10"
100
+ aria-hidden=""
101
+ ></i>
102
+ Manage cookies
103
+ </a>
104
+ </li>
105
+ </ul>
106
+ </li>
107
+ </ul>
108
+ </div>
109
+ <!-- Navbar controls end -->
110
+ {{ if not $hide_cfa }}
111
+ <div class="navigation-bar-ctas hidden-xs hidden-sm">
112
+ <ul>
113
+ <li>
36
114
  <a
37
- class="header-navbar-end-download-btn btn btn-primary"
38
- href="{{ $call_for_action_url }}"
39
- {{ with $call_for_action_id -}} id="{{ . }}" {{- end }}
115
+ class="btn btn-outline-primary"
116
+ {{ with $call_for_action_id -}} id="{{ . }}" {{- end }}
117
+ href="{{ $call_for_action_url }}"
40
118
  >
41
- <i class="fa {{ $call_for_action_icon }}" aria-hidden="true"></i>
42
119
  {{ $call_for_action_text }}
43
- </a>
44
- {{ end }}
45
- <button class="mobile-menu-btn" aria-label="Toggle mobile navigation menu" aria-expanded="false">
46
- <i class="fa fa-bars fa-xl"></i>
47
- </button>
48
- </div>
49
- </div>
120
+ </a>
121
+ </li>
122
+ </ul>
123
+ </div>
124
+ {{ end }}
125
+ <a class="mobile-menu-toggle visible-xs visible-sm" aria-expanded="false">
126
+ </a>
127
+ </div>
50
128
  </div>
129
+ </div>
51
130
  </div>
@@ -1,15 +1,12 @@
1
- {{/*
2
- Copyright (c) 2023, 2024 Eclipse Foundation, Inc.
1
+ <!--
2
+ Copyright (c) 2025 Eclipse Foundation AISBL
3
+
3
4
  This program and the accompanying materials are made available under the
4
5
  terms of the Eclipse Public License v. 2.0 which is available at
5
6
  http://www.eclipse.org/legal/epl-2.0.
6
7
 
7
- Contributors:
8
- Olivier Goulet <olivier.goulet@eclipse-foundation.org>
9
- Zachary Sabourin <zachary.sabourin@eclipse-foundation.org>
10
-
11
8
  SPDX-License-Identifier: EPL-2.0
12
- */}}
9
+ -->
13
10
 
14
11
  {{ if isset .Site.Menus "sidebar" }}
15
12
  {{ $identifiers := slice "home" }}
@@ -23,57 +20,54 @@
23
20
  {{ $menu_sections := where .Site.Menus.sidebar "Identifier" "in" $identifiers}}
24
21
 
25
22
  {{ with $menu_sections }}
26
- <aside class="main-sidebar-default-margin" id="main-sidebar">
27
- {{ range . }}
28
- {{ if .HasChildren }}
29
- <ul class="ul-left-nav" id="leftnav" role="tablist" aria-multiselectable="true">
30
- <li class="main-sidebar-main-item main-sidebar-item-indented separator">
31
- {{ if .URL }}
32
- <a class="main-sidebar-heading link-unstyled" href="{{ .URL }}">
33
- {{ .Name }}
34
- </a>
35
- {{ else }}
36
- <p class="main-sidebar-heading">
37
- {{ .Name }}
38
- </p>
39
- {{ end }}
40
- </li>
41
- {{ range .Children }}
42
- <li class="main-sidebar-item main-sidebar-item-indented">
43
- {{ if .HasChildren }}
44
- <li class="main-sidebar-item main-sidebar-item-indented">
45
- <a class="link-unstyled" role="button" data-toggle="collapse" href="#{{ .Identifier }}" aria-expanded="false" aria-controls="{{ .Identifier }}">
46
- <span>{{ .Name }}</span>
47
- <i class="main-sidebar-item-icon fa fa-chevron-down" aria-hidden="true"></i>
48
- </a>
49
- <div class="collapse" id="{{ .Identifier }}">
50
- <ul class="main-sidebar-item-submenu list-unstyled">
23
+ <aside class="sidebar">
24
+ <a
25
+ class="sidebar-toggle sidebar-toggle-open"
26
+ type="button"
27
+ href="#sidebar-open"
28
+ >
29
+ <i class="fa-solid fa-bars" aria-hidden="true"></i>
30
+ </a>
31
+ <a
32
+ class="sidebar-toggle sidebar-toggle-close"
33
+ type="button"
34
+ href="#sidebar-close"
35
+ >
36
+ <i class="fa-solid fa-close" aria-hidden="true"></i>
37
+ </a>
38
+ <nav>
39
+ <ul class="sidebar-menu">
40
+ {{ range $index, $menu := . }}
41
+ <li class="menu-group">
42
+ <!-- bootstrap 3 collapse -->
43
+ <a href="#{{ $menu.Identifier }}" data-toggle="collapse" aria-expanded="{{ if eq $index 0 -}} true {{- else -}} false {{- end}}" class="dropdown-toggle">
44
+ {{ $menu.Name }}
45
+ </a>
46
+ <ul class="collapse {{ if eq $index 0 -}} in {{- end }}" id="{{ $menu.Identifier }}">
47
+ {{ range $menu.Children }}
48
+ {{ if .HasChildren }}
49
+ <li class="menu-subgroup">
50
+ <a href="#{{ .Identifier }}" data-toggle="collapse" aria-expanded="false" class="dropdown-toggle">
51
+ {{ .Name }}
52
+ </a>
53
+ <ul class="collapse" id="{{ .Identifier }}">
51
54
  {{ range .Children }}
52
- <li class="submenu-item">
53
- {{ .Pre }}
54
- <a class="link-unstyled" href="{{ .URL | relURL }}" target="_self">{{ .Name }}</a>
55
- </li>
55
+ <li><a href="{{ .URL }}">{{ .Name }}</a></li>
56
56
  {{ end }}
57
57
  </ul>
58
- </div>
59
- </li>
60
- {{ else }}
61
- <li class="main-sidebar-item main-sidebar-item-indented">
62
- <a class="link-unstyled" href="{{ .URL | relURL }}">
63
- <div>
64
- <span class="main-sidebar-item-pre" aria-hidden="true">
65
- {{ .Pre }}
66
- </span>
67
- {{ .Name }}
68
- </div>
69
- </a>
70
- </li>
58
+ </li>
59
+ {{ else }}
60
+ <li>
61
+ <a href="{{ .URL }}">{{ .Name }}</a>
62
+ </li>
63
+ {{ end }}
71
64
  {{ end }}
72
- </li>
73
- {{ end }}
74
- </ul>
75
- {{ end }}
76
- {{ end }}
65
+ </ul>
66
+ </li>
67
+ {{ end }}
68
+ </ul>
69
+ </nav>
77
70
  </aside>
78
71
  {{ end }}
79
72
  {{ end }}
73
+