eclipsefdn-hugo-solstice-theme 0.0.218 → 0.1.1

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
@@ -39,7 +39,7 @@
39
39
 
40
40
  [[menus.astro]]
41
41
  name = "Edge & IoT"
42
- url = "https://www.eclipse.org/topics/edge-and-iot"
42
+ url = "https://www.eclipse.org/topics/edge-and-iot/"
43
43
  weight = 3
44
44
  parent = "projects-technologies"
45
45
 
@@ -69,13 +69,13 @@
69
69
 
70
70
  [[menus.astro]]
71
71
  name = "Project Resources"
72
- url = "https://www.eclipse.org/projects/resources"
72
+ url = "https://www.eclipse.org/projects/resources/"
73
73
  weight = 3
74
74
  parent = "projects-projects"
75
75
 
76
76
  [[menus.astro]]
77
77
  name = "Specifications"
78
- url = "https://www.eclipse.org/specifications"
78
+ url = "https://www.eclipse.org/specifications/"
79
79
  weight = 4
80
80
  parent = "projects-projects"
81
81
 
@@ -152,7 +152,7 @@
152
152
 
153
153
  [[menus.astro]]
154
154
  name = "Corporate Sponsorship"
155
- url = "https://www.eclipse.org/org/corporate_sponsors"
155
+ url = "https://www.eclipse.org/org/corporate-sponsors/"
156
156
  weight = 2
157
157
  parent = "supporters-sponsorship"
158
158
 
@@ -336,7 +336,7 @@
336
336
 
337
337
  [[menus.astro]]
338
338
  name = "Board & Governance"
339
- url = "https://www.eclipse.org/org/governance"
339
+ url = "https://www.eclipse.org/org/governance/"
340
340
  weight = 2
341
341
  parent="the-foundation-about"
342
342
 
@@ -348,7 +348,7 @@
348
348
 
349
349
  [[menus.astro]]
350
350
  name = "Services"
351
- url = "https://www.eclipse.org/org/services"
351
+ url = "https://www.eclipse.org/org/services/"
352
352
  weight = 4
353
353
  parent="the-foundation-about"
354
354
 
@@ -378,7 +378,7 @@
378
378
 
379
379
  [[menus.astro]]
380
380
  name = "Compliance"
381
- url = "https://www.eclipse.org/legal/compliance"
381
+ url = "https://www.eclipse.org/legal/compliance/"
382
382
  weight = 4
383
383
  parent="the-foundation-legal"
384
384
 
@@ -1,34 +1,290 @@
1
+
2
+ [[main]]
3
+ name = "Examples"
4
+ url = "#"
5
+ weight = 2
6
+ identifier = "examples"
7
+
8
+ [main.params]
9
+ description = """
10
+ Examples of the different layouts and features offered by Hugo Solstice Theme.
11
+ """
12
+
13
+ [[main]]
14
+ name = "Layouts"
15
+ url = "#"
16
+ weight = 1
17
+ parent = "examples"
18
+ identifier = "layouts"
19
+
20
+ [[main]]
21
+ name = "Features"
22
+ url = "#"
23
+ weight = 2
24
+ parent = "examples"
25
+ identifier = "features"
26
+
27
+ [[main]]
28
+ name = "Single Page"
29
+ url = "/single_page/"
30
+ weight = 1
31
+ parent = "layouts"
32
+
33
+ [[main]]
34
+ name = "News sample"
35
+ url = "/news/"
36
+ weight = 2
37
+ parent = "layouts"
38
+
39
+ [[main]]
40
+ name = "Membership sample"
41
+ url = "/membership/"
42
+ weight = 3
43
+ parent = "features"
44
+
45
+ [[main]]
46
+ name = "Events sample"
47
+ url = "/events/"
48
+ weight = 3
49
+ parent = "features"
50
+
51
+ [[main]]
52
+ name = "FAQ sample"
53
+ url = "/faq/"
54
+ weight = 4
55
+ parent = "features"
56
+
57
+ [[main]]
58
+ name = "Hide Call For Action"
59
+ url = "/hide_call_for_action/"
60
+ weight = 5
61
+ parent = "features"
62
+
63
+ [[main]]
64
+ name = "Without Breadcrumb"
65
+ url = "/without_breadcrumb/"
66
+ weight = 6
67
+ parent = "features"
68
+
69
+ [[main]]
70
+ name = "multi-children mobile sidebar sample"
71
+ url = "/third-parent/"
72
+ weight = 7
73
+ parent = "layouts"
74
+
75
+ [[main]]
76
+ name = "Subsite Custom Logo"
77
+ url = "/subsite-1/"
78
+ weight = 8
79
+ parent = "layouts"
80
+
81
+ [[main]]
82
+ name = "Custom Jumbotron"
83
+ url = "/custom-jumbotron/"
84
+ weight = 9
85
+ parent = "layouts"
86
+
87
+ [[main]]
88
+ name = "Coming Soon"
89
+ url = "/coming-soon/"
90
+ weight = 10
91
+ parent = "layouts"
92
+
93
+ [[main]]
94
+ name = "Components"
95
+ url = "/components/"
96
+ weight = 3
97
+ identifier = "components"
98
+
99
+ [[main]]
100
+ name = "Solstice Additions"
101
+ url = "/components/#solstice"
102
+ weight = 1
103
+ parent = "components"
104
+ identifier = "solstice"
105
+
106
+ [[main]]
107
+ name = "Events Framework"
108
+ url = "/components/#events-framework"
109
+ weight = 2
110
+ parent = "components"
111
+ identifier = "events"
112
+
113
+ [[main]]
114
+ name = "Dynamic Content"
115
+ url = "/components/#dynamic"
116
+ weight = 3
117
+ parent = "components"
118
+ identifier = "dynamic"
119
+
120
+ [[main]]
121
+ name = "Deprecated"
122
+ url = "/components/#deprecated"
123
+ weight = 4
124
+ parent = "components"
125
+ identifier = "deprecated"
126
+
127
+ [[main]]
128
+ name = "Meeting Minutes"
129
+ url = "/components/meeting_minutes/"
130
+ weight = 3
131
+ parent = "deprecated"
132
+
133
+ [[main]]
134
+ name = "Membership"
135
+ url = "/components/members/"
136
+ weight = 3
137
+ parent = "solstice"
138
+
139
+ [[main]]
140
+ name = "Taxonomy list"
141
+ url = "/components/taxonomy_list/"
142
+ weight = 3
143
+ parent = "solstice"
144
+
145
+ [[main]]
146
+ name = "Testimonials"
147
+ url = "/components/testimonials/"
148
+ weight = 3
149
+ parent = "solstice"
150
+
1
151
  [[main]]
2
- name = "About"
3
- url = "/about/"
4
- weight = 1
5
- identifier = "about"
152
+ name = "YouTube videos"
153
+ url = "/components/youtube/"
154
+ weight = 3
155
+ parent = "solstice"
156
+
157
+ [[main]]
158
+ name = "FAQ"
159
+ url = "/components/faq/"
160
+ weight = 4
161
+ parent = "solstice"
162
+
163
+ [[main]]
164
+ name = "Hubspot Contact Form"
165
+ url = "/components/hubspot/"
166
+ weight = 5
167
+ parent = "solstice"
168
+
169
+ [[main]]
170
+ name = "Featured Footer"
171
+ url = "/components/featured_footer/"
172
+ weight = 3
173
+ parent = "solstice"
174
+
175
+ [[main]]
176
+ name = "Featured Story"
177
+ url = "/components/featured_story/"
178
+ weight = 3
179
+ parent = "solstice"
180
+
181
+ [[main]]
182
+ name = "EclipseFdn Projects page"
183
+ url = "/components/eclipsefdn_projects_page/"
184
+ weight = 3
185
+ parent = "solstice"
186
+
187
+ [[main]]
188
+ name = "EclipseFdn Members List"
189
+ url = "/components/eclipsefdn_members_list/"
190
+ weight = 4
191
+ parent = "solstice"
6
192
 
7
193
  [[main]]
8
- name = "Membership"
9
- url = "/membership/"
10
- weight = 2
11
- identifier = "membership"
194
+ name = "HTML Tables"
195
+ url = "/components/tables/"
196
+ weight = 3
197
+ parent = "solstice"
198
+
199
+ [[main]]
200
+ name = "Text Target"
201
+ url = "/components/text_target/"
202
+ weight = 3
203
+ parent = "solstice"
204
+
205
+ [[main]]
206
+ name = "Twitter Timeline"
207
+ url = "/components/twitter_timeline/"
208
+ weight = 3
209
+ parent = "solstice"
210
+
211
+ [[main]]
212
+ name = "Twitter Buttons"
213
+ url = "/components/twitter_button/"
214
+ weight = 3
215
+ parent = "solstice"
12
216
 
13
217
  [[main]]
14
- name = "Participate"
15
- url = "/participate/"
16
- weight = 3
17
- identifier = "participate"
218
+ name = "RSS Feed"
219
+ url = "/components/rss/"
220
+ weight = 3
221
+ parent = "dynamic"
18
222
 
19
223
  [[main]]
20
- name = "Participation and Membership FAQ"
21
- url = "/about/participation-and-membership-faq/"
22
- weight = 3
23
- identifier = "participation-and-membership-faq"
224
+ name = "Video List"
225
+ url = "/components/video_list"
226
+ weight = 3
227
+ parent = "solstice"
24
228
 
25
229
  [[main]]
26
- name = "Testing Submenu"
27
- url = "/test/"
28
- weight = 1
29
- identifier = "testing-submenu"
30
- parent = "about"
230
+ name = "Adopters"
231
+ url = "/components/adopters"
232
+ weight = 3
233
+ parent = "solstice"
31
234
 
235
+ [[main]]
236
+ name = "Users Display"
237
+ url = "/components/user_display/"
238
+ weight = 3
239
+ parent = "events"
240
+
241
+ [[main]]
242
+ name = "User Bios"
243
+ url = "/components/user_bios/"
244
+ weight = 3
245
+ parent = "events"
246
+
247
+ [[main]]
248
+ name = "Registration"
249
+ url = "/components/registration/"
250
+ weight = 3
251
+ parent = "events"
252
+
253
+ [[main]]
254
+ name = "Agenda"
255
+ url = "/components/agenda/"
256
+ weight = 3
257
+ parent = "events"
258
+
259
+ [[main]]
260
+ name = "Newsroom News"
261
+ url = "/components/newsroom/news/"
262
+ weight = 3
263
+ parent = "dynamic"
264
+
265
+ [[main]]
266
+ name = "Newsroom Events"
267
+ url = "/components/newsroom/events/"
268
+ weight = 3
269
+ parent = "dynamic"
270
+
271
+ [[main]]
272
+ name = "Newsroom Resources"
273
+ url = "/components/newsroom/resources/"
274
+ weight = 3
275
+ parent = "dynamic"
276
+
277
+ [[main]]
278
+ name = "News"
279
+ url = "/components/news/"
280
+ weight = 2
281
+ parent = "deprecated"
282
+
283
+ [[main]]
284
+ name = "Events"
285
+ url = "/components/events/"
286
+ weight = 3
287
+ parent = "deprecated"
32
288
 
33
289
  [[sidebar]]
34
290
  name = "Hugo Solstice Theme"
@@ -128,45 +384,3 @@
128
384
  name = "Go Home"
129
385
  url = "/"
130
386
  weight = 1
131
-
132
- # Custom sidebar
133
- [[sidebar]]
134
- identifier = "sidebar-custom"
135
- name = "Eclipse Working Groups"
136
- url = "https://www.eclipse.org/collaborations/"
137
- weight = 1
138
-
139
- [[sidebar]]
140
- parent = "sidebar-custom"
141
- name = "Explore Working Groups"
142
- weight = 1
143
- url = "https://www.eclipse.org/org/working-groups/explore/"
144
-
145
- [[sidebar]]
146
- parent = "sidebar-custom"
147
- name = "About Working Groups"
148
- weight = 2
149
- url = "https://www.eclipse.org/org/working-groups/about/"
150
-
151
- [[sidebar]]
152
- identifier = "sidebar-additional"
153
- name = "Related Links"
154
- weight = 2
155
-
156
- [[sidebar]]
157
- parent = "sidebar-additional"
158
- name = "Working Group Process"
159
- weight = 1
160
- url = "https://www.eclipse.org/org/working-groups/process/"
161
-
162
- [[sidebar]]
163
- parent = "sidebar-additional"
164
- name = "Working Group Operations"
165
- weight = 2
166
- url = "https://www.eclipse.org/org/working-groups/operations/"
167
-
168
- [[sidebar]]
169
- parent = "sidebar-additional"
170
- name = "Working Group Development Effort Guidelines"
171
- weight = 3
172
- url = "https://www.eclipse.org/org/working-groups/wgfi-program/"
@@ -6,7 +6,7 @@ hide_sidebar: true
6
6
  You can add meeting minutes to a markdown file using the shortcode:
7
7
  `{{</* eclipsefdn_meeting_minutes */>}}`
8
8
 
9
- {{< grid/div class="alert alert-warning" isMarkdown="false" >}} This is for
9
+ {{< grid/div class="alert alert-warning stay-visible" isMarkdown="false" >}} This is for
10
10
  demonstration only. The only link which is expected to work is under the
11
11
  Specification Committee tab. {{</ grid/div >}}
12
12
 
@@ -29,8 +29,7 @@ Following list of projects has been filtered to display "Jakarta EE" projects, r
29
29
  classes="margin-top-30"
30
30
  display_categories="true"
31
31
  categories="/js/featured-projects-categories.json"
32
- page_size="3"
33
- sorting_method="random"
32
+ page_size="8"
34
33
  >}}
35
34
 
36
35
  {{< grid/div isMarkdown="false" >}}
@@ -3,8 +3,9 @@ title: "Meeting Minutes"
3
3
  date: 2019-04-17T15:52:13-04:00
4
4
  ---
5
5
 
6
- {{< grid/div class="alert alert-danger" isMarkdown="false" >}}
7
- The "meeting_minutes" shortcode is deprecated and will be removed in Hugo Solstice Theme v1.0.
6
+ {{< grid/div class="alert alert-danger stay-visible" isMarkdown="false" >}}
7
+ The "meeting_minutes" shortcode is deprecated and will be removed in Hugo
8
+ Solstice Theme v1.0.
8
9
  {{</ grid/div >}}
9
10
 
10
11
  You can add meeting minutes to a markdown file using the shortcode: **{{&lt; meeting_minutes &gt;}}**
@@ -7,7 +7,7 @@ custom_jumbotron: "<h2 class=\"margin-top-10\">Guiding the Future of IDE Develop
7
7
  date: 2021-03-07T08:00:00-24:00
8
8
  hide_breadcrumb: true
9
9
  summary: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed imperdiet tortor id rhoncus pulvinar. Suspendisse nec aliquam ante. Sed vel convallis ex, ac elementum nisi."
10
- links: [[href: "#",text: "Call for Papers"]]
10
+ links: [[href: "#",text: "Call for Papers"], [href: "#",text: "Register", class: "btn btn-secondary"]]
11
11
  layout: single
12
12
  show_featured_story: true
13
13
  show_featured_footer: false
@@ -12,7 +12,9 @@ types:
12
12
 
13
13
  items:
14
14
  - name: Open-source software
15
- presenter: Ken K.
15
+ presenters:
16
+ - Ken K.
17
+ - Bob M.
16
18
  abstract: "<p>Sample abstract <a href='#'>Sample link</a></p>"
17
19
  organization: test 1
18
20
  type: 1
package/i18n/en.toml CHANGED
@@ -109,6 +109,9 @@
109
109
  [footer-sr-facebook-text]
110
110
  other = "Facebook account"
111
111
 
112
+ [footer-sr-instagram-text]
113
+ other = "Instagram account"
114
+
112
115
  [footer-sr-youtube-text]
113
116
  other = "Youtube account"
114
117
 
@@ -25,7 +25,7 @@
25
25
  {{ if or (isset .Page.Params "headline") (eq $hide_jumbotron false) }}
26
26
  {{ .Scratch.Set "has_jumbotron" true }}
27
27
 
28
- <div class="jumbotron featured-jumbotron featured-jumbotron-dark featured-jumbotron-astro margin-bottom-0">
28
+ <div class="jumbotron featured-jumbotron featured-jumbotron-dark margin-bottom-0">
29
29
  <div class="{{ $jumbotron_container }}">
30
30
  <div class="row">
31
31
  <div class="{{- .Params.jumbotron_class | default .Site.Params.jumbotron_class | default "col-md-20 col-md-offset-2 col-sm-18 col-sm-offset-3" }}">
@@ -62,10 +62,16 @@
62
62
  {{- with .Params.jumbotron_btn_class | default .Site.Params.jumbotron_btn_class | default "btn btn-primary" }}
63
63
  {{ $.Scratch.Set "jumbotron_btn" . }}
64
64
  {{ end }}
65
- <ul class="list-inline">
65
+ <ul class="featured-jumbotron-links list-inline">
66
66
  {{ range $key,$val := index .Page.Params.links}}
67
+ {{ $btn_class := "" }}
68
+ {{ with (index $val 2) }}
69
+ {{ $btn_class = .class }}
70
+ {{ else }}
71
+ {{ $btn_class = $.Scratch.Get "jumbotron_btn" }}
72
+ {{ end }}
67
73
  <li>
68
- <a class="{{ $.Scratch.Get "jumbotron_btn" }}" href="{{ (index $val 0).href}}">
74
+ <a class="{{ $btn_class }}" href="{{ (index $val 0).href}}">
69
75
  {{ (index $val 1).text}}
70
76
  </a>
71
77
  </li>
@@ -51,7 +51,7 @@
51
51
  {{ range .Children }}
52
52
  <li class="submenu-item">
53
53
  {{ .Pre }}
54
- <a class="link-unstyled" href="{{ .URL }}" target="_self">{{ .Name }}</a>
54
+ <a class="link-unstyled" href="{{ .URL | relURL }}" target="_self">{{ .Name }}</a>
55
55
  </li>
56
56
  {{ end }}
57
57
  </ul>
@@ -59,7 +59,7 @@
59
59
  </li>
60
60
  {{ else }}
61
61
  <li class="main-sidebar-item main-sidebar-item-indented">
62
- <a class="link-unstyled" href="{{ .URL }}">
62
+ <a class="link-unstyled" href="{{ .URL | relURL }}">
63
63
  <div>
64
64
  <span class="main-sidebar-item-pre" aria-hidden="true">
65
65
  {{ .Pre }}
@@ -12,6 +12,7 @@
12
12
 
13
13
  {{ $twitter_url := $.Site.Params.twitter_url | default "https://twitter.com/EclipseFdn" }}
14
14
  {{ $facebook_url := $.Site.Params.facebook_url | default "https://www.facebook.com/eclipse.org" }}
15
+ {{ $instagram_url := $.Site.Params.instagram_url }}
15
16
  {{ $youtube_url := $.Site.Params.youtube_url | default "https://www.youtube.com/user/EclipseFdn" }}
16
17
  {{ $linkedin_url := $.Site.Params.linkedin_url | default "https://www.linkedin.com/company/eclipse-foundation" }}
17
18
 
@@ -36,6 +37,17 @@
36
37
  </span>
37
38
  </a>
38
39
  </li>
40
+ {{ if $instagram_url }}
41
+ <li>
42
+ <a class="link-unstyled" href="{{ $instagram_url }}" title="{{ i18n "footer-sr-instagram-text" }}">
43
+ <span class="fa fa-stack">
44
+ <i class="fa fa-circle fa-stack-2x" aria-hidden="true"></i>
45
+ <i class="fa fa-instagram fa-stack-1x fa-inverse" aria-hidden="true"></i>
46
+ <span class="sr-only">{{ i18n "footer-sr-instagram-text" }}</span>
47
+ </span>
48
+ </a>
49
+ </li>
50
+ {{ end }}
39
51
  <li>
40
52
  <a class="link-unstyled" href="{{ $youtube_url }}" title="{{ i18n "footer-sr-youtube-text" }}">
41
53
  <span class="fa fa-stack">
@@ -75,6 +75,9 @@
75
75
  {{- with .Site.Params.styles | default $default_css }}
76
76
  <link rel="stylesheet" href="{{ . | relURL }}?v={{ now.Unix }}">
77
77
  {{- end }}
78
+ {{- with .Site.Params.style_overrides }}
79
+ <link rel="stylesheet" href="{{ . | relURL }}?v={{ now.Unix }}">
80
+ {{- end }}
78
81
  {{- with .Page.Params.page_css_file }}
79
82
  <link rel="stylesheet" href="{{ . | relURL }}?v={{ now.Unix }}">
80
83
  {{- end }}
@@ -48,7 +48,13 @@
48
48
  {{- with .Params.jumbotron_btn_class | default .Site.Params.jumbotron_btn_class | default "btn btn-primary"}}{{ $.Scratch.Set "jumbotron_btn" . }}{{end}}
49
49
  <ul class="list-inline">
50
50
  {{range $key,$val := index .Page.Params.links}}
51
- <li><a class="{{ $.Scratch.Get "jumbotron_btn" }}" href="{{ (index $val 0).href}}">{{ (index $val 1).text}}</a></li>
51
+ {{ $btn_class := "" }}
52
+ {{ with (index $val 2) }}
53
+ {{ $btn_class = .class }}
54
+ {{ else }}
55
+ {{ $btn_class = $.Scratch.Get "jumbotron_btn" }}
56
+ {{ end }}
57
+ <li><a class="{{ $btn_class }}" href="{{ (index $val 0).href}}">{{ (index $val 1).text}}</a></li>
52
58
  {{end}}
53
59
  </ul>
54
60
  {{end}}
@@ -25,13 +25,13 @@
25
25
  <aside id="main-sidebar" class="subpage-sidebar">
26
26
  <ul id="leftnav" class="ul-left-nav fa-ul hidden-print">
27
27
  <li class="separator">
28
- <a class="separator" href="{{ .URL | absURL }}">{{ $parentItem.Name }}</a>
28
+ <a class="separator" href="{{ .URL | relURL }}">{{ $parentItem.Name }}</a>
29
29
  </li>
30
30
  {{ range .Children }}
31
31
  {{ if or (eq $parentItem.Identifier $currentSection) (eq .Parent $currentSection) }}
32
32
  <li{{if $currentPage.IsMenuCurrent "main" . }} class="active"{{end}}>
33
33
  {{ .Pre }}
34
- <a href="{{ .URL | absURL }}" target="_self">{{ .Name }}</a>
34
+ <a href="{{ .URL | relURL }}" target="_self">{{ .Name }}</a>
35
35
  </li>
36
36
  {{ end }}
37
37
  {{ end }}
@@ -11,6 +11,8 @@
11
11
  SPDX-License-Identifier: EPL-2.0
12
12
  */}}
13
13
 
14
+ {{ $instagram_url := $.Site.Params.instagram_url }}
15
+
14
16
  <div class="col-md-8 social-media">
15
17
  <ul class="list-inline">
16
18
  <li><a class="social-media-link fa-stack fa-lg" href="{{ $.Site.Params.twitter_url | default "https://twitter.com/EclipseFdn" }}"> <i class="fa fa-circle-thin fa-stack-2x"></i> <i
@@ -19,6 +21,11 @@
19
21
  <li><a class="social-media-link fa-stack fa-lg" href="{{ $.Site.Params.facebook_url | default "https://www.facebook.com/eclipse.org" }}"> <i class="fa fa-circle-thin fa-stack-2x"></i> <i
20
22
  class="fa fa-facebook fa-stack-1x"></i> <span class="sr-only">{{ i18n "footer-sr-facebook-text" }}</span>
21
23
  </a></li>
24
+ {{ if $instagram_url }}
25
+ <li><a class="social-media-link fa-stack fa-lg" href="{{ $instagram_url }}"> <i class="fa fa-circle-thin fa-stack-2x"></i> <i
26
+ class="fa fa-instagram fa-stack-1x"></i> <span class="sr-only">{{ i18n "footer-sr-instagram-text" }}</span>
27
+ </a></li>
28
+ {{ end }}
22
29
  <li><a class="social-media-link fa-stack fa-lg" href="{{ $.Site.Params.youtube_url | default "https://www.youtube.com/user/EclipseFdn" }}"> <i class="fa fa-circle-thin fa-stack-2x"></i> <i
23
30
  class="fa fa-youtube fa-stack-1x"></i> <span class="sr-only">{{ i18n "footer-sr-youtube-text" }}</span>
24
31
  </a></li>
@@ -26,4 +33,4 @@
26
33
  <i class="fa fa-circle-thin fa-stack-2x"></i> <i class="fa fa-linkedin fa-stack-1x"></i> <span class="sr-only">{{ i18n "footer-sr-linkedin-text" }}</span>
27
34
  </a></li>
28
35
  </ul>
29
- </div>
36
+ </div>
@@ -24,7 +24,7 @@
24
24
  {{ range .Children }}
25
25
  {{ if .HasChildren }}
26
26
  <div class="row sidebar-block-item{{ if eq $currentPage.Title .Name }} active{{ end }}">
27
- <a href="{{ .URL | absURL }}" {{ if eq $currentPage.Title .Name }}class="active"{{ end }}>
27
+ <a href="{{ .URL | relURL }}" {{ if eq $currentPage.Title .Name }}class="active"{{ end }}>
28
28
  <div class="col-xs-6">{{ .Pre }}</div>
29
29
  <div class="col-xs-18 sidebar-block-text">{{ .Name }}</div>
30
30
  </a>
@@ -32,7 +32,7 @@
32
32
  <div class="row sidebar-block-sub-items margin-bottom-20">
33
33
  {{ range .Children }}
34
34
  <div class="row sidebar-block-sub-item{{ if eq $currentPage.Title .Name }} active{{ end }}">
35
- <a href="{{ .URL | absURL }}" {{ if eq $currentPage.Title .Name }}class="active"{{ end }}>
35
+ <a href="{{ .URL | relURL }}" {{ if eq $currentPage.Title .Name }}class="active"{{ end }}>
36
36
  <div class="col-xs-18 col-xs-offset-6 sidebar-block-text">{{ .Name }}</div>
37
37
  </a>
38
38
  </div>
@@ -40,7 +40,7 @@
40
40
  </div>
41
41
  {{ else if or (eq $parentItem.Identifier $currentSection) (eq .Parent $currentSection) }}
42
42
  <div class="row sidebar-block-item{{ if eq $currentPage.Title .Name }} active{{ end }}">
43
- <a href="{{ .URL | absURL }}" {{ if eq $currentPage.Title .Name }}class="active"{{ end }}>
43
+ <a href="{{ .URL | relURL }}" {{ if eq $currentPage.Title .Name }}class="active"{{ end }}>
44
44
  <div class="col-xs-6">{{ .Pre }}</div>
45
45
  <div class="col-xs-18 sidebar-block-text">{{ .Name }}</div>
46
46
  </a>
@@ -27,25 +27,23 @@
27
27
 
28
28
  <section id="wg-projects" class="container featured-section featured-section-projects" data-filter-wg="{{ $.Site.Params.projects_working_group }}">
29
29
  <div class="row">
30
- <div id="projects-list" class="col-md-18 col-md-offset-3">
31
- <input aria-label="Search for a project" type="text" class="form-control search center-block" placeholder="Start typing to filter projects…">
32
- {{ if eq $display_categories "true" }}
33
- <p class="margin-bottom-0 margin-top-20 text-center">Filter by categories:</p>
34
- <div id="projects-categories" class="eclipsefdn-project-list-filters text-center" data-categories="{{ $categories }}"></div>
35
- {{ end }}
30
+ <div class="col-xs-24" id="projects-list">
36
31
  <ul class="featured-projects list-inline list {{ $classes }}"
37
- id="{{ $id }}"
38
- data-types="{{ $types }}"
39
- data-project-ids="{{ $projectIds }}"
40
- data-template-id="{{ $templateId }}"
41
- data-url="{{ $url }}"
42
- data-is-static-source="{{ $is_static_source }}"
43
- {{ with $sorting_method -}}
44
- data-sorting-method="{{ . }}"
45
- {{- end }}
46
- {{ with $page_size -}}
47
- data-page-size="{{ . }}"
48
- {{- end }}
32
+ id="{{ $id }}"
33
+ data-types="{{ $types }}"
34
+ data-project-ids="{{ $projectIds }}"
35
+ data-template-id="{{ $templateId }}"
36
+ data-url="{{ $url }}"
37
+ data-is-static-source="{{ $is_static_source }}"
38
+ {{ with $sorting_method -}}
39
+ data-sorting-method="{{ . }}"
40
+ {{- end }}
41
+ {{ with $page_size -}}
42
+ data-page-size="{{ . }}"
43
+ {{- end }}
44
+ {{ with $display_categories -}}
45
+ data-display-categories="{{ . }}"
46
+ {{- end }}
49
47
  ></ul>
50
48
 
51
49
  </div>
@@ -160,15 +160,25 @@ span.eclipsefdn-agenda-legend-icon-{{ urlize .id }}::after {
160
160
  {{ end }}
161
161
  {{ .name }}
162
162
  {{ if isset . "abstract" }}
163
- <a class="margin-left-10" href="#" title="{{ i18n " agenda-abstract-modal-alt" . }}"
164
- data-toggle="modal" data-target="#eclipsefdn-modal-event-session" data-title="{{ .name }}" data-presenter="{{ .presenter }}" data-time="{{ .time }}">
165
- <i class="fa fa-external-link">
166
- <span class="sr-only">
167
- {{ i18n "agenda-abstract-modal-alt" . }}
168
- </span>
169
- </i>
170
- </a>
171
- <div class="modal-content hidden">{{ .abstract | safeHTML }}</div>
163
+ {{/*
164
+ Build the "presenter" data attribute for the modal. If multiple
165
+ presenters, make a comma delimited string.
166
+ */}}
167
+ {{ $presenters := "" }}
168
+ {{ if .presenter }}
169
+ {{ $presenters = .presenter }}
170
+ {{ else if .presenters }}
171
+ {{ $presenters = delimit .presenters ", " }}
172
+ {{ end }}
173
+ <a class="margin-left-10" href="#" title="{{ i18n " agenda-abstract-modal-alt" . }}"
174
+ data-toggle="modal" data-target="#eclipsefdn-modal-event-session" data-title="{{ .name }}" data-presenter="{{ $presenters }}" data-time="{{ .time }}">
175
+ <i class="fa fa-external-link">
176
+ <span class="sr-only">
177
+ {{ i18n "agenda-abstract-modal-alt" . }}
178
+ </span>
179
+ </i>
180
+ </a>
181
+ <div class="modal-content hidden">{{ .abstract | safeHTML }}</div>
172
182
  {{ end }}
173
183
  </td>
174
184
  <td>
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.0.218",
7
+ "version": "0.1.1",
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.0.270",
26
+ "eclipsefdn-solstice-assets": "0.1.3",
27
27
  "json2yaml": "^1.1.0",
28
28
  "toml": "^3.0.0"
29
29
  },