eclipsefdn-hugo-solstice-theme 0.0.133 → 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.
@@ -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/"
@@ -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/"
@@ -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/"
@@ -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/"
@@ -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/"
@@ -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/"
@@ -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/"
@@ -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" >}}
@@ -0,0 +1,6 @@
1
+ ---
2
+ title: "Search"
3
+ date: 2021-05-04T10:00:00-04:00
4
+ ---
5
+
6
+ {{< search_results >}}
@@ -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,7 +4,7 @@
4
4
  "main": "webpack.min.js",
5
5
  "author": "Christopher Guindon",
6
6
  "license": "EPL-2.0",
7
- "version": "0.0.133",
7
+ "version": "0.0.134",
8
8
  "bugs": {
9
9
  "url": "https://gitlab.eclipse.org/eclipsefdn/it/webdev/hugo-solstice-theme/-/issues"
10
10
  },