sparrow-theme 0.1.11 → 0.1.12

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 69a796631e2d25a03bb46a8a6c4945b9db6b7c04
4
- data.tar.gz: cf565d682a2f5caa1016effe090d6d2bd52e0f1b
3
+ metadata.gz: 326289ce198cb6078d81fc47d46fb5a411ff8024
4
+ data.tar.gz: 0e9943f790002df9fab3ab965a1abd70264e5226
5
5
  SHA512:
6
- metadata.gz: fc75b07b8b3d905520c8f46725472af910f2af275c1abe6e42f7b90145bfb5f2edea2d9dc1fbb8d0692ffe300d46840914ca63f9c09511ea30719538e6a52c48
7
- data.tar.gz: 5bb056a915cfb2c10d6612cc50aee9d2292b4281f2f60c0d3fe10f7fea022ff7212dfa663ab7d735cecaa50312fcc20ddad8fea3d9fb401151f841009090d980
6
+ metadata.gz: 46dd6d72e24d7032d4c67ccee5307367b2f3ecf0a03dc119e8a642de109fc5ebdba3bc8a2c3259940e16d1a7b4d8b6e9c371caba9f3ca6bb983d4381340796ec
7
+ data.tar.gz: a87b7d960661b295acf4afe742702e5f920f5b63dfb9ba4c078f62bcc1a286343c70d1f7bbeb5c2d97e9f171de85105a61258751188842fec4fb4b060159c361
@@ -0,0 +1,23 @@
1
+ // Vendor js
2
+ {% include js/sparrow-theme/_vendor/jquery-3.1.1.min.js %}
3
+ {% if site.catalog %}{% include js/sparrow-theme/_vendor/slick.min.js %}{% endif %}
4
+
5
+ // Search scripts
6
+ {% if site.search %}
7
+ {% include js/sparrow-theme/_vendor/lunr.min.js %}
8
+ {% include js/sparrow-theme/_vendor/uri.js %}
9
+ {% include js/sparrow-theme/_partials/getData.js %}
10
+ {% include js/sparrow-theme/_partials/search.js %}
11
+ {% endif %}
12
+
13
+ // Component partials
14
+ {% include js/sparrow-theme/_partials/scroll.js %}
15
+ {% include js/sparrow-theme/_partials/navigation.js %}
16
+ {% include js/sparrow-theme/_partials/modal.js %}
17
+ {% include js/sparrow-theme/_partials/copyInput.js %}
18
+
19
+ // Catalog scripts
20
+ {% if site.catalog %}
21
+ {% include js/sparrow-theme/_partials/catalog.js %}
22
+ {% include js/sparrow-theme/_partials/carousel.js %}
23
+ {% endif %}
File without changes
@@ -11,6 +11,6 @@
11
11
  <link rel="stylesheet" href="{{ "/assets/css/main.css" | prepend: site.baseurl }}">
12
12
  <link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}">
13
13
  <link rel="alternate" type="application/rss+xml" title="{{ site.title }}" href="{{ "/feed.xml" | prepend: site.baseurl | prepend: site.url }}" />
14
- {% include typekit.html %}
14
+ {% include layout/typekit.html %}
15
15
  <script async src="{{ "/assets/js/scripts.js" | prepend: site.baseurl }}"></script>
16
16
  </head>
File without changes
File without changes
@@ -4,15 +4,15 @@ layout: compress
4
4
 
5
5
  <!DOCTYPE html>
6
6
  <html>
7
- {% include head.html %}
7
+ {% include layout/head.html %}
8
8
 
9
9
  <body>
10
- {% include header.html %}
10
+ {% include layout/header.html %}
11
11
 
12
12
  <main>
13
13
  {{ content }}
14
14
  </main>
15
15
 
16
- {% include footer.html %}
16
+ {% include layout/footer.html %}
17
17
  </body>
18
18
  </html>
@@ -1,4 +1,3 @@
1
- // General styles
2
1
  @import
3
2
  "bourbon",
4
3
  "neat",
@@ -16,17 +15,8 @@
16
15
  "sparrow-theme/modules/heroBanner",
17
16
  "sparrow-theme/modules/modal",
18
17
  "sparrow-theme/modules/spinner",
19
- "sparrow-theme/modules/video"
20
- ;
21
-
22
- // Search styles
23
- {% if site.search %}
24
- @import "sparrow-theme/modules/navSearch";
25
- {% endif %}
26
-
27
- // Catalog site styles
28
- {% if site.catalog %}
29
- @import
18
+ "sparrow-theme/modules/video",
19
+ "sparrow-theme/modules/navSearch",
30
20
  "sparrow-theme/layout/catalog",
31
21
  "sparrow-theme/layout/component",
32
22
  "sparrow-theme/modules/carousel",
@@ -35,4 +25,3 @@
35
25
  "sparrow-theme/modules/sideNav",
36
26
  "sparrow-theme/modules/preview"
37
27
  ;
38
- {% endif %}
data/assets/css/main.scss CHANGED
@@ -1,7 +1,8 @@
1
1
  ---
2
- # Only the main Sass file needs front matter (the dashes are enough)
3
2
  ---
4
3
 
5
4
  @charset "utf-8";
6
5
 
7
- {% include_relative sparrow-theme.scss %}
6
+ @import
7
+ "sparrow-theme/sparrow-theme"
8
+ ;
data/assets/js/scripts.js CHANGED
@@ -2,4 +2,4 @@
2
2
  layout: #blank to overrride default layout
3
3
  ---
4
4
 
5
- {% include_relative sparrow-theme/sparrow-theme.js %}
5
+ {% include js/sparrow-theme/sparrow-theme.js %}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sparrow-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.11
4
+ version: 0.1.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hamish Williams
@@ -61,9 +61,23 @@ extra_rdoc_files: []
61
61
  files:
62
62
  - LICENSE.txt
63
63
  - README.md
64
- - _includes/footer.html
65
- - _includes/head.html
66
- - _includes/header.html
64
+ - _includes/js/sparrow-theme/_partials/carousel.js
65
+ - _includes/js/sparrow-theme/_partials/catalog.js
66
+ - _includes/js/sparrow-theme/_partials/copyInput.js
67
+ - _includes/js/sparrow-theme/_partials/getData.js
68
+ - _includes/js/sparrow-theme/_partials/modal.js
69
+ - _includes/js/sparrow-theme/_partials/navigation.js
70
+ - _includes/js/sparrow-theme/_partials/scroll.js
71
+ - _includes/js/sparrow-theme/_partials/search.js
72
+ - _includes/js/sparrow-theme/_vendor/jquery-3.1.1.min.js
73
+ - _includes/js/sparrow-theme/_vendor/lunr.min.js
74
+ - _includes/js/sparrow-theme/_vendor/slick.min.js
75
+ - _includes/js/sparrow-theme/_vendor/uri.js
76
+ - _includes/js/sparrow-theme/sparrow-theme.js
77
+ - _includes/layout/footer.html
78
+ - _includes/layout/head.html
79
+ - _includes/layout/header.html
80
+ - _includes/layout/typekit.html
67
81
  - _includes/modules/card.html
68
82
  - _includes/modules/heroBanner.html
69
83
  - _includes/modules/heroSearch.html
@@ -76,7 +90,6 @@ files:
76
90
  - _includes/svg/icon-close.svg
77
91
  - _includes/svg/icon-search.svg
78
92
  - _includes/svg/logo-smartsparrow.svg
79
- - _includes/typekit.html
80
93
  - _layouts/404.html
81
94
  - _layouts/compress.html
82
95
  - _layouts/default.html
@@ -105,32 +118,18 @@ files:
105
118
  - _sass/sparrow-theme/modules/_spinner.scss
106
119
  - _sass/sparrow-theme/modules/_stepsList.scss
107
120
  - _sass/sparrow-theme/modules/_video.scss
121
+ - _sass/sparrow-theme/sparrow-theme.scss
108
122
  - _sass/sparrow-theme/vendor/_normalize.scss
109
123
  - _sass/sparrow-theme/vendor/_vendor.scss
110
124
  - assets/css/main.scss
111
- - assets/css/sparrow-theme.scss
112
125
  - assets/img/404.gif
113
126
  - assets/img/favicon.png
114
127
  - assets/img/touch.png
115
128
  - assets/js/scripts.js
116
- - assets/js/sparrow-theme/_partials/carousel.js
117
- - assets/js/sparrow-theme/_partials/catalog.js
118
- - assets/js/sparrow-theme/_partials/copyInput.js
119
- - assets/js/sparrow-theme/_partials/getData.js
120
- - assets/js/sparrow-theme/_partials/modal.js
121
- - assets/js/sparrow-theme/_partials/navigation.js
122
- - assets/js/sparrow-theme/_partials/scroll.js
123
- - assets/js/sparrow-theme/_partials/search.js
124
- - assets/js/sparrow-theme/_vendor/jquery-3.1.1.min.js
125
- - assets/js/sparrow-theme/_vendor/lunr.min.js
126
- - assets/js/sparrow-theme/_vendor/slick.min.js
127
- - assets/js/sparrow-theme/_vendor/uri.js
128
- - assets/js/sparrow-theme/sparrow-theme.js
129
- homepage: https://www.smartsparrow.com
129
+ homepage: http://www.smartsparrow.com
130
130
  licenses:
131
131
  - MIT
132
- metadata:
133
- plugin_type: theme
132
+ metadata: {}
134
133
  post_install_message:
135
134
  rdoc_options: []
136
135
  require_paths:
@@ -150,5 +149,5 @@ rubyforge_project:
150
149
  rubygems_version: 2.4.5
151
150
  signing_key:
152
151
  specification_version: 4
153
- summary: Smart Sparrow Jekyll theme
152
+ summary: A Jekyll theme for Smart Sparrow
154
153
  test_files: []
@@ -1,23 +0,0 @@
1
- // Vendor js
2
- {% include_relative sparrow-theme/_vendor/jquery-3.1.1.min.js %}
3
- {% if site.catalog %}{% include_relative sparrow-theme/_vendor/slick.min.js %}{% endif %}
4
-
5
- // Search scripts
6
- {% if site.search %}
7
- {% include_relative sparrow-theme/_vendor/lunr.min.js %}
8
- {% include_relative sparrow-theme/_vendor/uri.js %}
9
- {% include_relative sparrow-theme/_partials/getData.js %}
10
- {% include_relative sparrow-theme/_partials/search.js %}
11
- {% endif %}
12
-
13
- // Component partials
14
- {% include_relative sparrow-theme/_partials/scroll.js %}
15
- {% include_relative sparrow-theme/_partials/navigation.js %}
16
- {% include_relative sparrow-theme/_partials/modal.js %}
17
- {% include_relative sparrow-theme/_partials/copyInput.js %}
18
-
19
- // Catalog scripts
20
- {% if site.catalog %}
21
- {% include_relative sparrow-theme/_partials/catalog.js %}
22
- {% include_relative sparrow-theme/_partials/carousel.js %}
23
- {% endif %}