eclipsefdn-hugo-solstice-theme 0.2.0 → 0.2.2

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.
package/config.toml CHANGED
@@ -188,7 +188,7 @@
188
188
 
189
189
  [[menu.neptune]]
190
190
  name = "Read success stories"
191
- url = "https://www-www.eclipse.org/org/value/"
191
+ url = "https://www.eclipse.org/org/value/"
192
192
  weight = 3
193
193
  parent = "industry-collaborations"
194
194
 
@@ -419,19 +419,19 @@
419
419
 
420
420
  [[menu.neptune]]
421
421
  name = "View case studies"
422
- url = "https://www-www.eclipse.org/org/value/#success_stories"
422
+ url = "https://www.eclipse.org/org/value/#success_stories"
423
423
  weight = 1
424
424
  parent = "industry-intelligence-insights"
425
425
 
426
426
  [[menu.neptune]]
427
427
  name = "View whitepapers"
428
- url = "https://www-www.eclipse.org/org/value/#whitepapers"
428
+ url = "https://www.eclipse.org/org/value/#whitepapers"
429
429
  weight = 2
430
430
  parent = "industry-intelligence-insights"
431
431
 
432
432
  [[menu.neptune]]
433
433
  name = "View surveys & reports"
434
- url = "https://www-www.eclipse.org/org/value/#surveyReports"
434
+ url = "https://www.eclipse.org/org/value/#surveyReports"
435
435
  weight = 3
436
436
  parent = "industry-intelligence-insights"
437
437
 
@@ -562,7 +562,7 @@
562
562
 
563
563
  [[menu.neptune]]
564
564
  name = "Contact us"
565
- url = "https://www-www.eclipse.org/org/foundation/contact.php"
565
+ url = "https://www.eclipse.org/org/foundation/contact.php"
566
566
  weight = 3
567
567
  parent = "more"
568
568
 
@@ -839,7 +839,7 @@
839
839
 
840
840
  [[menu.astro]]
841
841
  name = "Awards & Recognition"
842
- url = "https://www-www.eclipse.org/org/foundation/eclipseawards/"
842
+ url = "https://www.eclipse.org/org/foundation/eclipseawards/"
843
843
  weight = 5
844
844
  parent = "resources-happening"
845
845
 
@@ -1072,9 +1072,10 @@
1072
1072
 
1073
1073
  [[menu.footer]]
1074
1074
  name = "Manage Cookies"
1075
- url = "#"
1076
1075
  parent = "legal"
1077
1076
  weight = 6
1077
+ [menu.footer.params]
1078
+ class = "toolbar-manage-cookies"
1078
1079
 
1079
1080
  [[menu.footer]]
1080
1081
  name = "More"
@@ -1,6 +1,6 @@
1
1
  {{ if ne .Page.Params.show_featured_footer false }}
2
- <aside class="featured-footer" id="featured-footer" data-publish-target="{{ .Page.Params.featured_content_publish_target | default .Site.Params.featured_content_publish_target | default "eclipse_org"}}">
3
- <div class="eclipsefdn-featured-footer container-fluid">
2
+ <aside class="featured-footer" id="featured-footer">
3
+ <div class="eclipsefdn-featured-footer container-fluid" data-publish-target="{{ .Page.Params.featured_content_publish_target | default .Site.Params.featured_content_publish_target | default "eclipse_org"}}">
4
4
  <div class="row">
5
5
  <div class="col-sm-24 featured-container">
6
6
  </div>
@@ -75,9 +75,11 @@
75
75
  <link rel="alternate" href="{{ .RelPermalink }}" type="application/rss+xml" title="">
76
76
  {{ end }}
77
77
  {{ if ne .Page.Params.disable_css "true" }}
78
- {{- $default_css := "https://eclipse.org/eclipse.org-common/themes/solstice/public/stylesheets/quicksilver.min.css" -}}
78
+ {{- $default_css := "https://www.eclipse.org/public/css/quicksilver.css" -}}
79
79
  {{- if eq .Site.Params.layout_style "astro" -}}
80
- {{- $default_css = "https://eclipse.org/eclipse.org-common/themes/solstice/public/stylesheets/astro.min.css" -}}
80
+ {{- $default_css = "https://www.eclipse.org/public/css/astro.css" -}}
81
+ {{ else if eq .Site.Params.layout_style "neptune" -}}
82
+ {{- $default_css = "https://www.eclipse.org/public/css/neptune.css" -}}
81
83
  {{- end -}}
82
84
  {{- with .Site.Params.styles | default $default_css }}
83
85
  <link rel="stylesheet" href="{{ . | relURL }}?v={{ now.Unix }}">
@@ -19,7 +19,13 @@
19
19
  <li>
20
20
  <ul>
21
21
  {{ range .Children }}
22
- <li><a href="{{ .URL }}">{{ .Name }}</a></li>
22
+ <li>
23
+ {{ if .URL }}
24
+ <a href="{{ .URL }}" {{ with .Params.class -}} class="{{ . }}" {{- end }}>{{ .Name }}</a>
25
+ {{ else }}
26
+ <button type="button" class="btn btn-link {{ with .Params.class -}} {{ . }} {{- end }}">{{ .Name }}</button>
27
+ {{ end }}
28
+ </li>
23
29
  {{ end }}
24
30
  </ul>
25
31
  </li>
@@ -41,20 +41,18 @@
41
41
  </li>
42
42
  {{ else if eq $menu_type "dropdown" }}
43
43
  <li class="dropdown">
44
- <a
45
- class="dropdown-toggle"
46
- id=""
44
+ <button
45
+ class="dropdown-toggle btn btn-link"
47
46
  data-toggle="dropdown"
48
47
  aria-haspopup="true"
49
48
  aria-expanded="false"
50
- href="#"
51
49
  >
52
50
  {{ .Name }}
53
- </a>
51
+ </button>
54
52
  </li>
55
53
  {{ else if eq $menu_type "mega" }}
56
54
  <li>
57
- <a href="#" data-target="{{ $target_menu }}">{{ .Name }}</a>
55
+ <button type="button" class="btn btn-link" data-target="{{ $target_menu }}">{{ .Name }}</button>
58
56
  </li>
59
57
  {{ end }}
60
58
  {{ end }}
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "main": "webpack.min.js",
5
5
  "author": "Christopher Guindon",
6
6
  "license": "EPL-2.0",
7
- "version": "0.2.0",
7
+ "version": "0.2.2",
8
8
  "bugs": {
9
9
  "url": "https://gitlab.eclipse.org/eclipsefdn/it/webdev/hugo-solstice-theme/-/issues"
10
10
  },
@@ -23,7 +23,7 @@
23
23
  "readmeFilename": "README.md",
24
24
  "dependencies": {
25
25
  "axios": "^1.7.7",
26
- "eclipsefdn-solstice-assets": "0.2.0",
26
+ "eclipsefdn-solstice-assets": "0.2.1",
27
27
  "json2yaml": "^1.1.0",
28
28
  "toml": "^3.0.0"
29
29
  },