eclipsefdn-hugo-solstice-theme 0.0.130 → 0.0.134

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 (34) hide show
  1. package/CONTRIBUTING.md +3 -3
  2. package/NOTICE.md +2 -2
  3. package/README.md +12 -4
  4. package/exampleSite/config/_default/config.toml +3 -1
  5. package/exampleSite/config/_default/menus.en.toml +7 -1
  6. package/exampleSite/config/_default/menus.es.toml +7 -1
  7. package/exampleSite/config/_default/menus.fr.toml +7 -1
  8. package/exampleSite/config/_default/menus.jp.toml +7 -1
  9. package/exampleSite/config/_default/menus.pt.toml +7 -1
  10. package/exampleSite/config/_default/menus.ru.toml +7 -1
  11. package/exampleSite/config/_default/menus.zh.toml +7 -1
  12. package/exampleSite/content/coming-soon/_index.md +3 -2
  13. package/exampleSite/content/components/events.md +3 -3
  14. package/exampleSite/content/components/hubspot/_index.md +8 -0
  15. package/exampleSite/content/components/meeting_minutes.md +2 -2
  16. package/exampleSite/content/components/sponsors.md +34 -6
  17. package/exampleSite/content/search/_index.md +6 -0
  18. package/exampleSite/content/translations.md +23 -23
  19. package/exampleSite/data/en/2020/default/sponsors.yml +7 -7
  20. package/exampleSite/data/en/2020/sample/sponsors.yml +7 -7
  21. package/exampleSite/data/en/default/sponsors.yml +7 -7
  22. package/exampleSite/data/en/default/sponsors_carousel.yml +37 -0
  23. package/exampleSite/data/en/sample/sponsors.yml +7 -7
  24. package/exampleSite/data/events.yml +7 -7
  25. package/exampleSite/data/meeting_minutes.yml +7 -7
  26. package/layouts/coming-soon/{coming-soon.html → index.html} +0 -0
  27. package/layouts/partials/breadcrumbs.html +2 -3
  28. package/layouts/partials/google_search.html +7 -16
  29. package/layouts/shortcodes/hubspot_contact_form.html +22 -0
  30. package/layouts/shortcodes/search_results.html +33 -0
  31. package/package.json +4 -4
  32. package/theme.toml +1 -1
  33. package/webpack.mix.js +23 -15
  34. package/.travis.yml +0 -10
package/CONTRIBUTING.md CHANGED
@@ -4,15 +4,15 @@ Thanks for your interest in this project.
4
4
 
5
5
  ## Project description
6
6
 
7
- hugo-solstice-theme is a project to regroup assets for the Eclipse Foundation look and feel.
7
+ hugo-solstice-theme is a project to regroup assets for the Eclipse Foundation look and feel.
8
8
 
9
- * https://github.com/eclipsefdn/hugo-solstice-theme
9
+ * https://gitlab.eclipse.org/eclipsefdn/it/webdev/hugo-solstice-theme
10
10
 
11
11
  ## Developer resources
12
12
 
13
13
  The project maintains the following source code repositories
14
14
 
15
- * https://github.com/eclipsefdn/hugo-solstice-theme
15
+ * https://gitlab.eclipse.org/eclipsefdn/it/webdev/hugo-solstice-theme
16
16
 
17
17
  ## Eclipse Contributor Agreement
18
18
 
package/NOTICE.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  This content is produced and maintained by the Eclipse Foundation.
4
4
 
5
- * Project home: https://github.com/EclipseFdn/hugo-solstice-theme
5
+ * Project home: https://gitlab.eclipse.org/eclipsefdn/it/webdev/hugo-solstice-theme
6
6
 
7
7
  ## Trademarks
8
8
 
@@ -32,7 +32,7 @@ SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
32
32
 
33
33
  The project maintains the following source code repositories:
34
34
 
35
- * https://github.com/EclipseFdn/hugo-solstice-theme
35
+ * https://gitlab.eclipse.org/eclipsefdn/it/webdev/hugo-solstice-theme
36
36
 
37
37
  ## Third-party Content
38
38
 
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # hugo-solstice-theme
2
2
 
3
- [![Build Status](https://travis-ci.org/EclipseFdn/hugo-solstice-theme.svg?branch=master)](https://travis-ci.org/EclipseFdn/hugo-solstice-theme)
3
+ The official [Hugo](https://gohugo.io/) theme from the Eclipse Foundation.
4
4
 
5
5
  ## Getting Started
6
6
 
@@ -46,7 +46,7 @@ set NODE_ENV=production && npm install
46
46
 
47
47
  #### Alternative Solution
48
48
 
49
- Install [win-node-en](https://github.com/laggingreflex/win-node-env) globally and then install our dependencies by following the steps from our [Getting Started](https://github.com/EclipseFdn/hugo-solstice-theme#getting-started) section.
49
+ Install [win-node-en](https://github.com/laggingreflex/win-node-env) globally and then install our dependencies by following the steps from our [Getting Started](https://gitlab.eclipse.org/eclipsefdn/it/webdev/hugo-solstice-theme/#getting-started) section.
50
50
 
51
51
  ```bash
52
52
  yarn add -g win-node-env
@@ -56,6 +56,14 @@ yarn add -g win-node-env
56
56
 
57
57
  Versions of Hugo 0.60 and beyond do not support raw HTML in markdown files by default. To enable this feature, unsafe HTML rendering can be enabled in the Goldmark engine in the site configuration. This is not recommended as it exposes rendered content vulnerable to injected content on the site.
58
58
 
59
+ ## Contributing
60
+
61
+ 1. [Fork](https://docs.gitlab.com/ee/user/project/repository/forking_workflow.html) the [solstice-assets](https://gitlab.eclipse.org/eclipsefdn/it/webdev/hugo-solstice-theme/) repository
62
+ 2. Clone repository: `git clone https://gitlab.eclipse.org/[your_github_username]/hugo-solstice-theme.git`
63
+ 3. Create your feature branch: `git checkout -b my-new-feature`
64
+ 4. Commit your changes: `git commit -m 'Add some feature' -s`
65
+ 5. Push feature branch: `git push origin my-new-feature`
66
+ 6. Submit a merge request
59
67
 
60
68
  ## Documentation
61
69
 
@@ -63,7 +71,7 @@ Versions of Hugo 0.60 and beyond do not support raw HTML in markdown files by de
63
71
 
64
72
  ## Bugs and Feature Requests
65
73
 
66
- Have a bug or a feature request? Please search for existing and closed issues. If your problem or idea is not addressed yet, [please open a new issue](https://github.com/eclipsefdn/hugo-solstice-theme/issues/new).
74
+ Have a bug or a feature request? Please search for existing and closed issues. If your problem or idea is not addressed yet, [please open a new issue](https://gitlab.eclipse.org/eclipsefdn/it/webdev/hugo-solstice-theme/-/issues/new?issue%5Bassignee_id%5D=&issue%5Bmilestone_id%5D=).
67
75
 
68
76
  ## Author
69
77
 
@@ -80,4 +88,4 @@ Have a bug or a feature request? Please search for existing and closed issues. I
80
88
 
81
89
  ## Copyright and License
82
90
 
83
- Copyright 2018-2020 the [Eclipse Foundation, Inc.](https://www.eclipse.org) and the [hugo-solstice-theme authors](https://github.com/eclipsefdn/hugo-solstice-theme/graphs/contributors). Code released under the [Eclipse Public License Version 2.0 (EPL-2.0)](https://github.com/jakartaee/jakartaee.github.io/blob/src/LICENSE).
91
+ Copyright 2018-2021 the [Eclipse Foundation, Inc.](https://www.eclipse.org) and the [hugo-solstice-theme authors](https://gitlab.eclipse.org/eclipsefdn/it/webdev/hugo-solstice-theme/-/graphs/master). Code released under the [Eclipse Public License Version 2.0 (EPL-2.0)](https://gitlab.eclipse.org/eclipsefdn/it/webdev/hugo-solstice-theme/-/raw/master/LICENSE).
@@ -15,7 +15,9 @@ googleAnalytics = ""
15
15
  # favicon = "images/favicon.ico"
16
16
  styles = "css/styles.css"
17
17
  js = "js/solstice.js"
18
- gcse = ""
18
+ gcse = "011805775785170369411:p3ec0igo0qq"
19
+ gcse_result_url = "/search"
20
+ # eclipse_search_icon = "<i data-feather=\"search\" stroke-width=\"1\"></i>"
19
21
  header_wrapper_class = "header-default-bg-img"
20
22
  call_for_action_text = "Download"
21
23
  call_for_action_url = "/downloads"
@@ -135,6 +135,12 @@
135
135
  weight = 4
136
136
  parent = "solstice"
137
137
 
138
+ [[main]]
139
+ name = "Hubspot Contact Form"
140
+ url = "/components/hubspot/"
141
+ weight = 5
142
+ parent = "solstice"
143
+
138
144
  [[main]]
139
145
  name = "Featured Footer"
140
146
  url = "/components/featured_footer/"
@@ -241,7 +247,7 @@
241
247
 
242
248
  [[sidebar]]
243
249
  name = "GitHub repository"
244
- url = "https://github.com/EclipseFdn/hugo-solstice-theme"
250
+ url = "https://gitlab.eclipse.org/eclipsefdn/it/webdev/hugo-solstice-theme"
245
251
  weight = 2
246
252
  parent = "home"
247
253
  pre = "<i class=\"fa fa-github fa-fw\"></i>"
@@ -129,6 +129,12 @@
129
129
  weight = 4
130
130
  parent = "solstice"
131
131
 
132
+ [[main]]
133
+ name = "Hubspot Contact Form"
134
+ url = "/components/hubspot/"
135
+ weight = 5
136
+ parent = "solstice"
137
+
132
138
  [[main]]
133
139
  name = "Featured Footer"
134
140
  url = "/components/featured_footer/"
@@ -235,7 +241,7 @@
235
241
 
236
242
  [[sidebar]]
237
243
  name = "GitHub repository"
238
- url = "https://github.com/EclipseFdn/hugo-solstice-theme"
244
+ url = "https://gitlab.eclipse.org/eclipsefdn/it/webdev/hugo-solstice-theme"
239
245
  weight = 2
240
246
  parent = "home"
241
247
  pre = "<i class=\"fa fa-github fa-fw\"></i>"
@@ -129,6 +129,12 @@
129
129
  weight = 4
130
130
  parent = "solstice"
131
131
 
132
+ [[main]]
133
+ name = "Hubspot Contact Form"
134
+ url = "/components/hubspot/"
135
+ weight = 5
136
+ parent = "solstice"
137
+
132
138
  [[main]]
133
139
  name = "Pied de page en vedette"
134
140
  url = "/components/featured_footer/"
@@ -236,7 +242,7 @@
236
242
 
237
243
  [[sidebar]]
238
244
  name = "Page GitHub"
239
- url = "https://github.com/EclipseFdn/hugo-solstice-theme"
245
+ url = "https://gitlab.eclipse.org/eclipsefdn/it/webdev/hugo-solstice-theme"
240
246
  weight = 2
241
247
  parent = "home"
242
248
  pre = "<i class=\"fa fa-github fa-fw\"></i>"
@@ -129,6 +129,12 @@
129
129
  weight = 4
130
130
  parent = "solstice"
131
131
 
132
+ [[main]]
133
+ name = "Hubspot Contact Form"
134
+ url = "/components/hubspot/"
135
+ weight = 5
136
+ parent = "solstice"
137
+
132
138
  [[main]]
133
139
  name = "Featured Footer"
134
140
  url = "/components/featured_footer/"
@@ -235,7 +241,7 @@
235
241
 
236
242
  [[sidebar]]
237
243
  name = "GitHub repository"
238
- url = "https://github.com/EclipseFdn/hugo-solstice-theme"
244
+ url = "https://gitlab.eclipse.org/eclipsefdn/it/webdev/hugo-solstice-theme"
239
245
  weight = 2
240
246
  parent = "home"
241
247
  pre = "<i class=\"fa fa-github fa-fw\"></i>"
@@ -129,6 +129,12 @@
129
129
  weight = 4
130
130
  parent = "solstice"
131
131
 
132
+ [[main]]
133
+ name = "Hubspot Contact Form"
134
+ url = "/components/hubspot/"
135
+ weight = 5
136
+ parent = "solstice"
137
+
132
138
  [[main]]
133
139
  name = "Featured Footer"
134
140
  url = "/components/featured_footer/"
@@ -235,7 +241,7 @@
235
241
 
236
242
  [[sidebar]]
237
243
  name = "GitHub repository"
238
- url = "https://github.com/EclipseFdn/hugo-solstice-theme"
244
+ url = "https://gitlab.eclipse.org/eclipsefdn/it/webdev/hugo-solstice-theme"
239
245
  weight = 2
240
246
  parent = "home"
241
247
  pre = "<i class=\"fa fa-github fa-fw\"></i>"
@@ -129,6 +129,12 @@
129
129
  weight = 4
130
130
  parent = "solstice"
131
131
 
132
+ [[main]]
133
+ name = "Hubspot Contact Form"
134
+ url = "/components/hubspot/"
135
+ weight = 5
136
+ parent = "solstice"
137
+
132
138
  [[main]]
133
139
  name = "Featured Footer"
134
140
  url = "/components/featured_footer/"
@@ -235,7 +241,7 @@
235
241
 
236
242
  [[sidebar]]
237
243
  name = "GitHub repository"
238
- url = "https://github.com/EclipseFdn/hugo-solstice-theme"
244
+ url = "https://gitlab.eclipse.org/eclipsefdn/it/webdev/hugo-solstice-theme"
239
245
  weight = 2
240
246
  parent = "home"
241
247
  pre = "<i class=\"fa fa-github fa-fw\"></i>"
@@ -129,6 +129,12 @@
129
129
  weight = 4
130
130
  parent = "solstice"
131
131
 
132
+ [[main]]
133
+ name = "Hubspot Contact Form"
134
+ url = "/components/hubspot/"
135
+ weight = 5
136
+ parent = "solstice"
137
+
132
138
  [[main]]
133
139
  name = "Featured Footer"
134
140
  url = "/components/featured_footer/"
@@ -235,7 +241,7 @@
235
241
 
236
242
  [[sidebar]]
237
243
  name = "GitHub repository"
238
- url = "https://github.com/EclipseFdn/hugo-solstice-theme"
244
+ url = "https://gitlab.eclipse.org/eclipsefdn/it/webdev/hugo-solstice-theme"
239
245
  weight = 2
240
246
  parent = "home"
241
247
  pre = "<i class=\"fa fa-github fa-fw\"></i>"
@@ -1,7 +1,8 @@
1
1
  ---
2
- title: "openresearchsw.eclipse.org"
2
+ title: "coming soon"
3
3
  date: 2021-05-04T10:00:00-04:00
4
- layout: "coming-soon"
4
+ type: "coming-soon"
5
+ layout: "index"
5
6
  footer_class: "footer-darker"
6
7
  ---
7
8
 
@@ -21,7 +21,7 @@ tagline: Come meet the Eclipse Community at these upcoming events!
21
21
  #buttons
22
22
  more_button_text: View More Events <i class="fa fa-arrow-down"></i>
23
23
  submit_button_text: Submit Event
24
- submit_button_link: https://github.com/EclipseFdn/hugo-solstice-theme/issues/new
24
+ submit_button_link: https://gitlab.eclipse.org/eclipsefdn/it/webdev/hugo-solstice-theme/-/issues/new?issue%5Bassignee_id%5D=&issue%5Bmilestone_id%5D=
25
25
 
26
26
  items:
27
27
  -
@@ -29,14 +29,14 @@ items:
29
29
  location: Location, Location
30
30
  date: Month xx, xxxx
31
31
  expire_date: 2030-03-28T23:59:00-00:00
32
- button_url: https://github.com/EclipseFdn/hugo-solstice-theme/issues/new
32
+ button_url: https://gitlab.eclipse.org/eclipsefdn/it/webdev/hugo-solstice-theme/-/issues/new?issue%5Bassignee_id%5D=&issue%5Bmilestone_id%5D=
33
33
  button_text: Button text
34
34
  -
35
35
  name: Example Event 2
36
36
  location: Location, Location
37
37
  date: Month xx, xxxx
38
38
  expire_date: 2030-03-28T23:59:00-00:00
39
- button_url: https://github.com/EclipseFdn/hugo-solstice-theme/issues/new
39
+ button_url: https://gitlab.eclipse.org/eclipsefdn/it/webdev/hugo-solstice-theme/-/issues/new?issue%5Bassignee_id%5D=&issue%5Bmilestone_id%5D=
40
40
  button_text: Button text
41
41
  ~~~~
42
42
 
@@ -0,0 +1,8 @@
1
+ ---
2
+ title: "Hubspot Contact Form"
3
+ seo_title: "Hubspot Contact Form"
4
+ date: 2018-04-05T15:50:25-04:00
5
+ layout: "single"
6
+ ---
7
+
8
+ {{< hubspot_contact_form portalId="5413615" formId="b2d1d804-1d76-4fe9-9647-03f478af1780" >}}
@@ -19,12 +19,12 @@ items:
19
19
  type_1:
20
20
  -
21
21
  title: Type 1 - Hugo Solstice Theme Num-1
22
- url: https://github.com/EclipseFdn/hugo-solstice-theme
22
+ url: https://gitlab.eclipse.org/eclipsefdn/it/webdev/hugo-solstice-theme
23
23
 
24
24
  type_2:
25
25
  -
26
26
  title: Type 2 - Hugo Solstice Theme Num-1
27
- url: https://github.com/EclipseFdn/hugo-solstice-theme
27
+ url: https://gitlab.eclipse.org/eclipsefdn/it/webdev/hugo-solstice-theme
28
28
  ~~~~
29
29
 
30
30
  **Examples:**
@@ -9,44 +9,72 @@ aliases: []
9
9
  toc: false
10
10
  draft: false
11
11
  hide_sidebar: true
12
- container: "fluid-container"
12
+ container: "container-fluid"
13
13
  ---
14
14
 
15
- !! TODO
15
+ Sponsors can be added to the site through an `sponsors.yaml` data file added in a subfolder of the data folder for the target locale (for localization, for default, create/use the "en" folder). An example of this path is as follows, `data/en/default/sponsors.yaml`. The data should be similar to the following format:
16
16
 
17
- ** Note: fluid-container used to show full width components with banner background simulation
17
+ ```
18
+ items:
19
+ - title: Jakarta EE
20
+ url: https://jakarta.ee/
21
+ image: https://www.eclipse.org/org/artwork/images/jakartaee_c.png
22
+ width: 200px
23
+ - title: IoT
24
+ url: https://iot.eclipse.org/
25
+ image: https://www.eclipse.org/org/artwork/images/new_iot_logo_clr.svg
26
+ width: 100px
27
+ - title: Eclipse Foundation
28
+ url: https://www.eclipse.org
29
+ image: https://www.eclipse.org/org/artwork/images/eclipse_foundation_logo.jpg
30
+ width: 200px
31
+ ```
32
+ Items in these data files represent the actual sponsor logo to be represented in the sponsor section.
33
+
34
+ ** Note: container-fluid used to show full width components with banner background simulation
18
35
 
19
36
  ## Default
37
+ Expect url like `/default/sponsors`.
20
38
  {{< events/sponsors >}}
21
39
 
40
+ ---
22
41
  ## Event
42
+ Expect url like `/sample/sponsors`.
23
43
  {{< events/sponsors event="sample" >}}
24
44
 
45
+ ---
25
46
  ## Year
47
+ Expect url like `/2020/default/sponsors`.
26
48
  {{< events/sponsors year="2020" >}}
27
49
 
50
+ ---
28
51
  ## Event + year
52
+ Expect url like `/2020/sample/sponsors`.
29
53
  {{< events/sponsors year="2020" event="sample" >}}
30
54
 
55
+ ---
31
56
  ## Carousel
32
- {{< events/sponsors useCarousel="true">}}
57
+ {{< events/sponsors useCarousel="true" source="sponsors_carousel">}}
33
58
 
59
+ ---
34
60
  ## Carousel w/ altered counts
35
61
  {{< events/sponsors
36
62
  useCarousel="true"
63
+ source="sponsors_carousel"
37
64
  xsSliderCount="3"
38
65
  smSliderCount="4"
39
66
  mdSliderCount="5"
40
67
  lgSliderCount="8"
41
68
  >}}
42
69
 
70
+ ---
43
71
  ## Title
44
72
  {{< events/sponsors title="Sample title">}}
45
73
 
46
-
74
+ ---
47
75
  ## Header class
48
76
  {{< events/sponsors headerClass="text-center heading-underline">}}
49
77
 
78
+ ---
50
79
  ## Item class
51
80
  {{< events/sponsors itemClass="padding-50">}}
52
-
@@ -0,0 +1,6 @@
1
+ ---
2
+ title: "Search"
3
+ date: 2021-05-04T10:00:00-04:00
4
+ ---
5
+
6
+ {{< search_results >}}
@@ -6,43 +6,43 @@ date: 2020-01-19T00:00:00-04:00
6
6
 
7
7
  So you want to translate your site, eh? Here are a few things you'll need! The first thing isn't a file, but a code, a language code. This should be the ISO 639-1 code that represents the language you wish to translate for the site. An easily read list of these codes can be found on the [Wikipedia page for ISO 639-1 codes](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes). This code will be used a few times, so please note it down.
8
8
 
9
- ## [Eclipsefdn/hugo-solstice-theme](https://github.com/eclipsefdn/hugo-solstice-theme) requirements:
10
- 1. Create a new file for the new language based on `./i18n/en.toml`. Copy this file into the same folder and rename it `<YOUR ISO 639-1 CODE>.toml`. This file will be made available to all sites once updated and includes all of the required labels needed for translation in basic sites. Update all of the terms to represent your new value.
9
+ ## [Eclipsefdn/hugo-solstice-theme](https://gitlab.eclipse.org/eclipsefdn/it/webdev/hugo-solstice-theme) requirements:
10
+ 1. Create a new file for the new language based on `./i18n/en.toml`. Copy this file into the same folder and rename it `<YOUR ISO 639-1 CODE>.toml`. This file will be made available to all sites once updated and includes all of the required labels needed for translation in basic sites. Update all of the terms to represent your new value.
11
11
 
12
-
13
- Example For the [Spanish translation file, es.toml](https://github.com/EclipseFdn/hugo-solstice-theme/blob/master/i18n/es.toml)
12
+
13
+ Example For the [Spanish translation file, es.toml](https://gitlab.eclipse.org/eclipsefdn/it/webdev/hugo-solstice-theme/blob/master/i18n/es.toml)
14
14
  ```
15
15
  [navbar-manage-cookies-label]
16
16
  other = "Manage Cookies"
17
- ```
17
+ ```
18
18
 
19
- Becomes:
19
+ Becomes:
20
20
  ```
21
21
  [navbar-manage-cookies-label]
22
22
  other = "Administrar cookies"
23
- ```
23
+ ```
24
24
 
25
- 2. Update the [default languages file of the example site](https://github.com/EclipseFdn/hugo-solstice-theme/blob/master/exampleSite/config/_default/languages.toml). While not strictly required, updating this file can help preview and troubleshoot the changes being made within the translation files. In this section, copy the English section and paste it at the end of the file and make the following updates:
26
- - Update the language code in brackets in the first line with your language code
25
+ 2. Update the [default languages file of the example site](https://gitlab.eclipse.org/eclipsefdn/it/webdev/hugo-solstice-theme/blob/master/exampleSite/config/_default/languages.toml). While not strictly required, updating this file can help preview and troubleshoot the changes being made within the translation files. In this section, copy the English section and paste it at the end of the file and make the following updates:
26
+ - Update the language code in brackets in the first line with your language code
27
27
  - update the `languageName` property to have a value of the language's name in its own language
28
- - Increment the `weight` to be one greater than the greatest weight currently available. This only impacts the order of languages appearing in the language selector dropdown and does not impact content otherwise.
28
+ - Increment the `weight` to be one greater than the greatest weight currently available. This only impacts the order of languages appearing in the language selector dropdown and does not impact content otherwise.
29
29
 
30
- Example using Spanish:
31
- ```
30
+ Example using Spanish:
31
+ ```
32
32
  [en]
33
33
  languageName = "English"
34
34
  weight = 1
35
35
  ```
36
- Becomes:
36
+ Becomes:
37
37
  ```
38
38
  [es]
39
39
  languageName = "Español"
40
40
  weight = 3
41
- ```
41
+ ```
42
42
 
43
43
  3. If you are making a sample in the example site for the newly translated language, please also complete the following steps:
44
- - in `./exampleSite/content`, copy the `_index.md` file and paste it into the same folder, renaming it `_index.es.md`. This will set up the homepage for the new language for easy testing. For the example site, this is the only required page as we want to ensure that the language properly works with all of the labels.
45
- - In `./exampleSite/config/_default`, copy the [menus.en.toml file](https://github.com/EclipseFdn/hugo-solstice-theme/blob/master/exampleSite/config/_default/menus.en.toml), pasting and renaming to `menus.<YOUR ISO CODE.toml`. This doesn't need to be translated, as it just ensures that the site compiles properly in the given language.
44
+ - in `./exampleSite/content`, copy the `_index.md` file and paste it into the same folder, renaming it `_index.es.md`. This will set up the homepage for the new language for easy testing. For the example site, this is the only required page as we want to ensure that the language properly works with all of the labels.
45
+ - In `./exampleSite/config/_default`, copy the [menus.en.toml file](https://gitlab.eclipse.org/eclipsefdn/it/webdev/hugo-solstice-theme/blob/master/exampleSite/config/_default/menus.en.toml), pasting and renaming to `menus.<YOUR ISO CODE.toml`. This doesn't need to be translated, as it just ensures that the site compiles properly in the given language.
46
46
 
47
47
  ## Target site requirements
48
48
 
@@ -51,20 +51,20 @@ To enable the site to use the new language, a few things need to happen. If ther
51
51
  Within the `./config.toml` file, a few changes will need to be made:
52
52
  1. in the `[languages]` section, a new subsection should be added for the new language. This will differ slightly from the change made in step 2 of the hugo-solstice-theme changes as only our example site has had the configuration values split into multiple files for easier management (while this is planned for the future, it is not currently scheduled to be done).
53
53
 
54
- If the [languages] section is not present, please add it to the file containing both English (our default language) and the new language. An example can be seen in the [Jakarta.EE site configuration file](https://github.com/jakartaee/jakarta.ee/blob/src/config.toml#L197) which has the English and Chinese languages set.
54
+ If the [languages] section is not present, please add it to the file containing both English (our default language) and the new language. An example can be seen in the [Jakarta.EE site configuration file](https://github.com/jakartaee/jakarta.ee/blob/src/config.toml#L197) which has the English and Chinese languages set.
55
55
 
56
56
  Example)
57
57
  ```
58
58
  [languages.en]
59
59
  languageName = "English"
60
- weight = 1
61
- ```
62
- Becomes:
60
+ weight = 1
61
+ ```
62
+ Becomes:
63
63
  ```
64
64
  [languages.es]
65
65
  languageName = "Español"
66
- weight = 1
67
- ```
66
+ weight = 1
67
+ ```
68
68
 
69
69
  2. Create language copies of the site metadata properties needed for search engine returns. There are a couple of site properties injected on every page for things like the page title, keywords for search engines, and generic site descriptions if none are set for pages. These properties need to be created as a subsection beneath the `[languages]` section to ensure they are properly registered on the site. The properties that need to be translated are as follows:
70
70
  - description
@@ -83,6 +83,6 @@ Within the `./config.toml` file, a few changes will need to be made:
83
83
 
84
84
  If `languages.en` is not set in front of the `main.menu` entries that are copied, add `languages.<ISO code>` in front of the name (e.g. `[[menu.main]]` becomes `[[languages.es.menu.main]]`). Each of the name fields in the copied menu entries should be translated, and the URLs should be updated to reflect the translated page path (e.g. `/community/resources` would become `/es/community/resources`).
85
85
 
86
- In addition to the config.toml changes, any pages that are required for the new site language should be translated. This is typically all pages in the `./content` folder, though this may vary from site to site. On copying the English versions, they should be named `<page name>.<ISO code>.md`
86
+ In addition to the config.toml changes, any pages that are required for the new site language should be translated. This is typically all pages in the `./content` folder, though this may vary from site to site. On copying the English versions, they should be named `<page name>.<ISO code>.md`
87
87
 
88
88
  A release of hugo-solstice-theme needs to be done by the EF webdev team containing the translation values. This will allow for the targeting of a version of the theme with the new translation values. The EF team will be able to increment the version of the theme for the site (as there are some checks we need to do to make sure everything is compatible with the new version).
@@ -1,13 +1,13 @@
1
1
  items:
2
- - title: Eclipse IDE (2020)
3
- url: https://www.eclipse.org
4
- image: https://www.eclipse.org/artwork/images/v2/logo-800x188.png
2
+ - title: Jakarta EE
3
+ url: https://jakarta.ee/
4
+ image: https://www.eclipse.org/org/artwork/images/jakartaee_c.png
5
5
  width: 200px
6
6
  - title: IoT (2020)
7
- url: https://www.iot.eclipse.org
8
- image: https://www.eclipse.org/artwork/images/v2/new_iot_logo_clr.svg
9
- width: 150px
7
+ url: https://iot.eclipse.org/
8
+ image: https://www.eclipse.org/org/artwork/images/new_iot_logo_clr.svg
9
+ width: 100px
10
10
  - title: Eclipse Foundation (2020)
11
11
  url: https://www.eclipse.org
12
- image: https://www.eclipse.org/eclipse.org-common/themes/solstice/public/images/logo/eclipse-foundation-white-orange.svg
12
+ image: https://www.eclipse.org/org/artwork/images/eclipse_foundation_logo.jpg
13
13
  width: 200px
@@ -1,13 +1,13 @@
1
1
  items:
2
- - title: Eclipse IDE (2020/sample)
3
- url: https://www.eclipse.org
4
- image: https://www.eclipse.org/artwork/images/v2/logo-800x188.png
2
+ - title: Jakarta EE
3
+ url: https://jakarta.ee/
4
+ image: https://www.eclipse.org/org/artwork/images/jakartaee_c.png
5
5
  width: 200px
6
6
  - title: IoT (2020/sample)
7
- url: https://www.iot.eclipse.org
8
- image: https://www.eclipse.org/artwork/images/v2/new_iot_logo_clr.svg
9
- width: 150px
7
+ url: https://iot.eclipse.org/
8
+ image: https://www.eclipse.org/org/artwork/images/new_iot_logo_clr.svg
9
+ width: 100px
10
10
  - title: Eclipse Foundation (2020/sample)
11
11
  url: https://www.eclipse.org
12
- image: https://www.eclipse.org/eclipse.org-common/themes/solstice/public/images/logo/eclipse-foundation-white-orange.svg
12
+ image: https://www.eclipse.org/org/artwork/images/eclipse_foundation_logo.jpg
13
13
  width: 200px
@@ -1,13 +1,13 @@
1
1
  items:
2
- - title: Eclipse IDE
3
- url: https://www.eclipse.org
4
- image: https://www.eclipse.org/artwork/images/v2/logo-800x188.png
2
+ - title: Jakarta EE
3
+ url: https://jakarta.ee/
4
+ image: https://www.eclipse.org/org/artwork/images/jakartaee_c.png
5
5
  width: 200px
6
6
  - title: IoT
7
- url: https://www.iot.eclipse.org
8
- image: https://www.eclipse.org/artwork/images/v2/new_iot_logo_clr.svg
9
- width: 150px
7
+ url: https://iot.eclipse.org/
8
+ image: https://www.eclipse.org/org/artwork/images/new_iot_logo_clr.svg
9
+ width: 100px
10
10
  - title: Eclipse Foundation
11
11
  url: https://www.eclipse.org
12
- image: https://www.eclipse.org/eclipse.org-common/themes/solstice/public/images/logo/eclipse-foundation-white-orange.svg
12
+ image: https://www.eclipse.org/org/artwork/images/eclipse_foundation_logo.jpg
13
13
  width: 200px
@@ -0,0 +1,37 @@
1
+ items:
2
+ - title: Jakarta EE
3
+ url: https://jakarta.ee/
4
+ image: https://www.eclipse.org/org/artwork/images/jakartaee_c.png
5
+ width: 200px
6
+ - title: IoT (sample)
7
+ url: https://iot.eclipse.org/
8
+ image: https://www.eclipse.org/org/artwork/images/new_iot_logo_clr.svg
9
+ width: 100px
10
+ - title: Eclipse Foundation (sample)
11
+ url: https://www.eclipse.org
12
+ image: https://www.eclipse.org/org/artwork/images/eclipse_foundation_logo.jpg
13
+ width: 200px
14
+ - title: Jakarta EE
15
+ url: https://jakarta.ee/
16
+ image: https://www.eclipse.org/org/artwork/images/jakartaee_c.png
17
+ width: 200px
18
+ - title: IoT (sample)
19
+ url: https://iot.eclipse.org/
20
+ image: https://www.eclipse.org/org/artwork/images/new_iot_logo_clr.svg
21
+ width: 100px
22
+ - title: Eclipse Foundation (sample)
23
+ url: https://www.eclipse.org
24
+ image: https://www.eclipse.org/org/artwork/images/eclipse_foundation_logo.jpg
25
+ width: 200px
26
+ - title: Jakarta EE
27
+ url: https://jakarta.ee/
28
+ image: https://www.eclipse.org/org/artwork/images/jakartaee_c.png
29
+ width: 200px
30
+ - title: IoT (sample)
31
+ url: https://iot.eclipse.org/
32
+ image: https://www.eclipse.org/org/artwork/images/new_iot_logo_clr.svg
33
+ width: 100px
34
+ - title: Eclipse Foundation (sample)
35
+ url: https://www.eclipse.org
36
+ image: https://www.eclipse.org/org/artwork/images/eclipse_foundation_logo.jpg
37
+ width: 200px
@@ -1,13 +1,13 @@
1
1
  items:
2
- - title: Eclipse IDE (sample)
3
- url: https://www.eclipse.org
4
- image: https://www.eclipse.org/artwork/images/v2/logo-800x188.png
2
+ - title: Jakarta EE
3
+ url: https://jakarta.ee/
4
+ image: https://www.eclipse.org/org/artwork/images/jakartaee_c.png
5
5
  width: 200px
6
6
  - title: IoT (sample)
7
- url: https://www.iot.eclipse.org
8
- image: https://www.eclipse.org/artwork/images/v2/new_iot_logo_clr.svg
9
- width: 150px
7
+ url: https://iot.eclipse.org/
8
+ image: https://www.eclipse.org/org/artwork/images/new_iot_logo_clr.svg
9
+ width: 100px
10
10
  - title: Eclipse Foundation (sample)
11
11
  url: https://www.eclipse.org
12
- image: https://www.eclipse.org/eclipse.org-common/themes/solstice/public/images/logo/eclipse-foundation-white-orange.svg
12
+ image: https://www.eclipse.org/org/artwork/images/eclipse_foundation_logo.jpg
13
13
  width: 200px
@@ -4,7 +4,7 @@ tagline: Come meet the Eclipse Community at these upcoming events!
4
4
  #buttons
5
5
  more_button_text: View More Events <i class="fa fa-arrow-down"></i>
6
6
  submit_button_text: Submit Event
7
- submit_button_link: https://github.com/EclipseFdn/hugo-solstice-theme/issues/new
7
+ submit_button_link: https://gitlab.eclipse.org/eclipsefdn/it/webdev/hugo-solstice-theme/-/issues/new?issue%5Bassignee_id%5D=&issue%5Bmilestone_id%5D=
8
8
 
9
9
  items:
10
10
  -
@@ -12,40 +12,40 @@ items:
12
12
  location: Location, Location
13
13
  date: Month xx, xxxx
14
14
  expire_date: 2030-03-28T23:59:00-00:00
15
- button_url: https://github.com/EclipseFdn/hugo-solstice-theme/issues/new
15
+ button_url: https://gitlab.eclipse.org/eclipsefdn/it/webdev/hugo-solstice-theme/-/issues/new?issue%5Bassignee_id%5D=&issue%5Bmilestone_id%5D=
16
16
  button_text: Button text
17
17
  -
18
18
  name: Example Event 2
19
19
  location: Location, Location
20
20
  date: Month xx, xxxx
21
21
  expire_date: 2030-03-28T23:59:00-00:00
22
- button_url: https://github.com/EclipseFdn/hugo-solstice-theme/issues/new
22
+ button_url: https://gitlab.eclipse.org/eclipsefdn/it/webdev/hugo-solstice-theme/-/issues/new?issue%5Bassignee_id%5D=&issue%5Bmilestone_id%5D=
23
23
  button_text: Button text
24
24
  -
25
25
  name: Example Event 1
26
26
  location: Location, Location
27
27
  date: Month xx, xxxx
28
28
  expire_date: 2030-03-28T23:59:00-00:00
29
- button_url: https://github.com/EclipseFdn/hugo-solstice-theme/issues/new
29
+ button_url: https://gitlab.eclipse.org/eclipsefdn/it/webdev/hugo-solstice-theme/-/issues/new?issue%5Bassignee_id%5D=&issue%5Bmilestone_id%5D=
30
30
  button_text: Button text
31
31
  -
32
32
  name: Example Event 2
33
33
  location: Location, Location
34
34
  date: Month xx, xxxx
35
35
  expire_date: 2030-03-28T23:59:00-00:00
36
- button_url: https://github.com/EclipseFdn/hugo-solstice-theme/issues/new
36
+ button_url: https://gitlab.eclipse.org/eclipsefdn/it/webdev/hugo-solstice-theme/-/issues/new?issue%5Bassignee_id%5D=&issue%5Bmilestone_id%5D=
37
37
  button_text: Button text
38
38
  -
39
39
  name: Example Event 1
40
40
  location: Location, Location
41
41
  date: Month xx, xxxx
42
42
  expire_date: 2030-03-28T23:59:00-00:00
43
- button_url: https://github.com/EclipseFdn/hugo-solstice-theme/issues/new
43
+ button_url: https://gitlab.eclipse.org/eclipsefdn/it/webdev/hugo-solstice-theme/-/issues/new?issue%5Bassignee_id%5D=&issue%5Bmilestone_id%5D=
44
44
  button_text: Button text
45
45
  -
46
46
  name: Example Event 2
47
47
  location: Location, Location
48
48
  date: Month xx, xxxx
49
49
  expire_date: 2010-03-28T23:59:00-00:00
50
- button_url: https://github.com/EclipseFdn/hugo-solstice-theme/issues/new
50
+ button_url: https://gitlab.eclipse.org/eclipsefdn/it/webdev/hugo-solstice-theme/-/issues/new?issue%5Bassignee_id%5D=&issue%5Bmilestone_id%5D=
51
51
  button_text: Button text
@@ -2,19 +2,19 @@ items:
2
2
  type_1:
3
3
  -
4
4
  title: Type 1 - Hugo Solstice Theme Num-1
5
- url: https://github.com/EclipseFdn/hugo-solstice-theme
5
+ url: https://gitlab.eclipse.org/eclipsefdn/it/webdev/hugo-solstice-theme
6
6
  -
7
7
  title: Type 1 - Hugo Solstice Theme Num-2
8
- url: https://github.com/EclipseFdn/hugo-solstice-theme
9
-
10
-
8
+ url: https://gitlab.eclipse.org/eclipsefdn/it/webdev/hugo-solstice-theme
9
+
10
+
11
11
  type_2:
12
12
  -
13
13
  title: Type 1 - Hugo Solstice Theme Num-1
14
- url: https://github.com/EclipseFdn/hugo-solstice-theme
14
+ url: https://gitlab.eclipse.org/eclipsefdn/it/webdev/hugo-solstice-theme
15
15
  -
16
16
  title: Type 1 - Hugo Solstice Theme Num-2
17
- url: https://github.com/EclipseFdn/hugo-solstice-theme
17
+ url: https://gitlab.eclipse.org/eclipsefdn/it/webdev/hugo-solstice-theme
18
18
  -
19
19
  title: Type 1 - Hugo Solstice Theme Num-3
20
- url: https://github.com/EclipseFdn/hugo-solstice-theme
20
+ url: https://gitlab.eclipse.org/eclipsefdn/it/webdev/hugo-solstice-theme
@@ -12,10 +12,9 @@
12
12
  -->
13
13
  <section class="default-breadcrumbs hidden-print" id="breadcrumb">
14
14
  <div class="container">
15
- <h3 class="sr-only">{{ i18n "navigation-breadcrumb-sr" }}</h3>
16
15
  <div class="row">
17
16
  <div class="col-sm-24">
18
- <ol class="breadcrumb">
17
+ <ol aria-label="Breadcrumb" class="breadcrumb">
19
18
  {{ template "breadcrumbnav" (dict "p1" . "p2" .) }}
20
19
  </ol>
21
20
  {{ define "breadcrumbnav" }}
@@ -24,7 +23,7 @@
24
23
  {{ else if not .p1.IsHome }}
25
24
  {{ template "breadcrumbnav" (dict "p1" .p1.Site.Home "p2" .p2 ) }}
26
25
  {{ end }}
27
- <li{{ if eq .p1 .p2 }} class="active"{{ end }}>
26
+ <li{{ if eq .p1 .p2 }} class="active" aria-current="page"{{ end }}>
28
27
  <a href="{{ .p1.Permalink }}">{{ .p1.Title | safeHTML | title }}</a>
29
28
  </li>
30
29
  {{ end }}
@@ -1,4 +1,4 @@
1
- <!--
1
+ <!--
2
2
  Copyright (c) 2018 Eclipse Foundation, Inc.
3
3
 
4
4
  This program and the accompanying materials are made available under the
@@ -12,8 +12,10 @@
12
12
  -->
13
13
 
14
14
  {{ if .Site.Params.gcse }}
15
- <li class="dropdown eclipse-more hidden-xs">
16
- <a data-toggle="dropdown" class="dropdown-toggle" role="button"><i class="fa fa-search"></i> <b class="caret"></b></a>
15
+ <li class="dropdown eclipse-more eclipse-gcse hidden-xs">
16
+ <a data-toggle="dropdown" class="dropdown-toggle" role="button">
17
+ {{- .Site.Params.eclipse_search_icon | default "<i class=\"fa fa-search\"></i> <b class=\"caret\"></b>" | safeHTML}}
18
+ </a>
17
19
  <ul class="dropdown-menu">
18
20
  <li>
19
21
  <!-- Content container to add padding -->
@@ -24,19 +26,8 @@
24
26
  <div class="row">
25
27
  <div class="col-md-24">
26
28
  <div id="custom-search-form" class="reset-box-sizing">
27
- <script>
28
- (function() {
29
- var cx = '{{ .Site.Params.gcse }}';
30
- var gcse = document.createElement('script');
31
- gcse.type = 'text/javascript';
32
- gcse.async = true;
33
- gcse.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') +
34
- '//cse.google.com/cse.js?cx=' + cx;
35
- var s = document.getElementsByTagName('script')[0];
36
- s.parentNode.insertBefore(gcse, s);
37
- })();
38
- </script>
39
- <gcse:searchbox-only gname="main" resultsUrl="https://www.eclipse.org/home/search.php"></gcse:searchbox-only>
29
+ <script async src="https://cse.google.com/cse.js?cx={{ .Site.Params.gcse }}"></script>
30
+ <gcse:searchbox-only gname="main" resultsUrl="{{- .Site.Params.gcse_result_url | default "https://www.eclipse.org/home/search.php" }}"></gcse:searchbox-only>
40
31
  </div>
41
32
  </div>
42
33
  </div>
@@ -0,0 +1,22 @@
1
+ {{ if and (isset .Params "portalId") (isset .Params "formId")}}
2
+ <!--[if lte IE 8]>
3
+ <script
4
+ charset="utf-8"
5
+ type="text/javascript"
6
+ src="//js.hsforms.net/forms/v2-legacy.js"
7
+ ></script>
8
+ <![endif]-->
9
+
10
+ <script
11
+ charset="utf-8"
12
+ type="text/javascript"
13
+ src="//js.hsforms.net/forms/v2.js"
14
+ ></script>
15
+ <script>
16
+ hbspt.forms.create({
17
+ region: 'na1',
18
+ portalId: '{{ index .Params "portalId"}}',
19
+ formId: '{{ index .Params "formId"}}',
20
+ });
21
+ </script>
22
+ {{ end }}
@@ -0,0 +1,33 @@
1
+ {{ if .Site.Params.gcse }}
2
+ <style type="text/css">
3
+ <!--
4
+ /* Relevance button */
5
+ .gsc-control-cse div{
6
+ width:auto!important;
7
+ }
8
+
9
+ .cse .gsc-control-cse, .gsc-control-cse,
10
+ .gsc-results .gsc-cursor-box,
11
+ .gsc-result-info, .gsc-thumbnail-inside, .gsc-url-top{
12
+ padding:0!important;
13
+ margin-left:0!important;
14
+ margin-right:0!important;
15
+ }
16
+
17
+ .gsc-results .gsc-cursor-box{
18
+ text-align:center;
19
+ border-top:1px solid #ccc;
20
+ padding-top:20px!important;
21
+ }
22
+ .gsc-result .gs-title{
23
+ height:1.4em!important;
24
+ overflow: visible !important;
25
+ }
26
+ -->
27
+ </style>
28
+ <div class="reset-box-sizing">
29
+ <script async src="https://cse.google.com/cse.js?cx={{ .Site.Params.gcse }}"></script>
30
+ <gcse:searchbox-only resultsUrl="{{ .Page.Permalink | absURL }}"></gcse:searchbox-only>
31
+ <gcse:searchresults-only resultsUrl="{{ .Page.Permalink | absURL }}"></gcse:searchresults-only>
32
+ </div>
33
+ {{ end }}
package/package.json CHANGED
@@ -4,13 +4,13 @@
4
4
  "main": "webpack.min.js",
5
5
  "author": "Christopher Guindon",
6
6
  "license": "EPL-2.0",
7
- "version": "0.0.130",
7
+ "version": "0.0.134",
8
8
  "bugs": {
9
- "url": "https://github.com/EclipseFdn/hugo-solstice-theme/issues"
9
+ "url": "https://gitlab.eclipse.org/eclipsefdn/it/webdev/hugo-solstice-theme/-/issues"
10
10
  },
11
11
  "repository": {
12
12
  "type": "git",
13
- "url": "git://github.com/eclipsefdn/hugo-solstice-theme.git"
13
+ "url": "git@gitlab.eclipse.org:eclipsefdn/it/webdev/hugo-solstice-theme.git"
14
14
  },
15
15
  "scripts": {
16
16
  "dev": "NODE_ENV=development webpack --progress --config=node_modules/laravel-mix/setup/webpack.config.js",
@@ -24,7 +24,7 @@
24
24
  "readmeFilename": "README.md",
25
25
  "dependencies": {
26
26
  "axios": "^0.21.1",
27
- "eclipsefdn-solstice-assets": "0.0.167",
27
+ "eclipsefdn-solstice-assets": "0.0.176",
28
28
  "json2yaml": "^1.1.0",
29
29
  "parse-link-header": "^1.0.1",
30
30
  "toml": "^3.0.0"
package/theme.toml CHANGED
@@ -1,6 +1,6 @@
1
1
  name = "hugo-solstice-theme"
2
2
  license = "EPL-v2"
3
- licenselink = "https://github.com/EclipseFdn/hugo-solstice-theme/blob/master/LICENSE.md"
3
+ licenselink = "https://gitlab.eclipse.org/eclipsefdn/it/webdev/hugo-solstice-theme/blob/master/LICENSE.md"
4
4
  description = ""
5
5
  homepage = "https://www.eclipse.org/"
6
6
  tags = ["", ""]
package/webpack.mix.js CHANGED
@@ -1,21 +1,29 @@
1
- let mix = require('laravel-mix');
2
-
3
- require('laravel-mix-transpile-node-modules')
4
- mix.transpileNodeModules(['eclipsefdn-solstice-assets']);
1
+ /*!
2
+ * Copyright (c) 2021 Eclipse Foundation, Inc.
3
+ *
4
+ * This program and the accompanying materials are made available under the
5
+ * terms of the Eclipse Public License v. 2.0 which is available at
6
+ * http://www.eclipse.org/legal/epl-2.0.
7
+ *
8
+ * Contributors:
9
+ * Christopher Guindon <chris.guindon@eclipse-foundation.org>
10
+ *
11
+ * SPDX-License-Identifier: EPL-2.0
12
+ */
5
13
 
6
- mix.options({uglify: {uglifyOptions: {compress: false, output: {comments: true}}}});
14
+ require('./node_modules/eclipsefdn-solstice-assets/webpack-solstice-assets.mix.js');
15
+ let mix = require('laravel-mix');
16
+ mix.EclipseFdnSolsticeAssets();
7
17
 
8
18
  mix.setPublicPath('static');
9
19
  mix.setResourceRoot('../');
10
20
 
11
- mix.less('./node_modules/eclipsefdn-solstice-assets/less/quicksilver/styles.less', 'static/css/styles.css');
12
-
13
- mix.webpackConfig({
14
- resolve: {
15
- alias: {
16
- jquery: 'jquery/src/jquery',
17
- },
18
- },
19
- });
21
+ mix.less(
22
+ './node_modules/eclipsefdn-solstice-assets/less/quicksilver/styles.less',
23
+ 'static/css/styles.css'
24
+ );
20
25
 
21
- mix.js(['./node_modules/eclipsefdn-solstice-assets/js/main.js'], './static/js/solstice.js');
26
+ mix.js(
27
+ ['./node_modules/eclipsefdn-solstice-assets/js/main.js'],
28
+ './static/js/solstice.js'
29
+ );
package/.travis.yml DELETED
@@ -1,10 +0,0 @@
1
- language: node_js
2
- node_js:
3
- - "12"
4
- install:
5
- - npm install
6
- - wget https://github.com/gohugoio/hugo/releases/download/v0.76.5/hugo_0.76.5_Linux-64bit.deb
7
- - sudo dpkg -i hugo*.deb
8
- script:
9
- - npm run build
10
- - hugo --gc --themesDir ../.. --source exampleSite