bulmatown 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (65) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +38 -0
  3. data/.rspec +2 -0
  4. data/.rubocop.yml +22 -0
  5. data/CHANGELOG.md +7 -0
  6. data/Gemfile +6 -0
  7. data/LICENSE.txt +22 -0
  8. data/README.md +53 -0
  9. data/Rakefile +8 -0
  10. data/bridgetown.automation.rb +11 -0
  11. data/bulmatown.gemspec +29 -0
  12. data/components/bulmatown/button.liquid +16 -0
  13. data/components/bulmatown/collection.liquid +37 -0
  14. data/components/bulmatown/collection.scss +12 -0
  15. data/components/bulmatown/hero.liquid +16 -0
  16. data/components/bulmatown/hero.scss +31 -0
  17. data/components/bulmatown/hero_wrapper.liquid +12 -0
  18. data/components/bulmatown/navbar.liquid +20 -0
  19. data/components/bulmatown/navbar.scss +54 -0
  20. data/components/bulmatown/pagination.liquid +31 -0
  21. data/content/bulmatown/example_page.md +8 -0
  22. data/content/bulmatown/train-on-rails.jpeg +0 -0
  23. data/example/.gitignore +35 -0
  24. data/example/Gemfile +22 -0
  25. data/example/bridgetown.config.yml +26 -0
  26. data/example/frontend/fonts/forkawesome-webfont.eot +0 -0
  27. data/example/frontend/fonts/forkawesome-webfont.svg +2849 -0
  28. data/example/frontend/fonts/forkawesome-webfont.ttf +0 -0
  29. data/example/frontend/fonts/forkawesome-webfont.woff +0 -0
  30. data/example/frontend/fonts/forkawesome-webfont.woff2 +0 -0
  31. data/example/frontend/javascript/index.js +4 -0
  32. data/example/frontend/styles/index.scss +5 -0
  33. data/example/package.json +37 -0
  34. data/example/plugins/builders/.keep +0 -0
  35. data/example/plugins/site_builder.rb +4 -0
  36. data/example/src/404.html +9 -0
  37. data/example/src/_components/footer.liquid +53 -0
  38. data/example/src/_components/head.liquid +9 -0
  39. data/example/src/_components/navbar.liquid +51 -0
  40. data/example/src/_data/authors.yml +5 -0
  41. data/example/src/_data/site_metadata.yml +18 -0
  42. data/example/src/_layouts/default.html +15 -0
  43. data/example/src/_layouts/home.html +5 -0
  44. data/example/src/_layouts/page.html +5 -0
  45. data/example/src/_layouts/post.html +5 -0
  46. data/example/src/_posts/2020-06-13-this-is-groovy.md +29 -0
  47. data/example/src/_posts/2020-06-13-welcome-to-bridgetown.md +30 -0
  48. data/example/src/about.md +11 -0
  49. data/example/src/favicon.ico +0 -0
  50. data/example/src/images/jared-white-avatar.jpg +0 -0
  51. data/example/src/index.md +21 -0
  52. data/example/src/posts.md +11 -0
  53. data/example/start.js +17 -0
  54. data/example/sync.js +35 -0
  55. data/example/webpack.config.js +78 -0
  56. data/example/yarn.lock +6127 -0
  57. data/layouts/bulmatown/homepage.html +18 -0
  58. data/layouts/bulmatown/page.html +18 -0
  59. data/layouts/bulmatown/post.html +29 -0
  60. data/lib/bulmatown.rb +11 -0
  61. data/lib/bulmatown/builder.rb +13 -0
  62. data/lib/bulmatown/version.rb +5 -0
  63. data/package.json +21 -0
  64. data/yarn.lock +51 -0
  65. metadata +210 -0
@@ -0,0 +1,18 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ {% render "bulmatown/hero_wrapper",
6
+ title: site.metadata.title,
7
+ subtitle: site.metadata.description,
8
+ page: page,
9
+ metadata: site.metadata
10
+ %}
11
+
12
+ <section class="section">
13
+ <div class="container">
14
+ <div class="content">
15
+ {{ content }}
16
+ </div>
17
+ </div>
18
+ </section>
@@ -0,0 +1,18 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ {% render "bulmatown/hero_wrapper",
6
+ title: page.title,
7
+ subtitle: page.subtitle,
8
+ page: page,
9
+ metadata: site.metadata
10
+ %}
11
+
12
+ <section class="section">
13
+ <div class="container">
14
+ <div class="content">
15
+ {{ content }}
16
+ </div>
17
+ </div>
18
+ </section>
@@ -0,0 +1,29 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ <article class="h-entry">
6
+ {% render "bulmatown/hero_wrapper",
7
+ title: page.title,
8
+ subtitle: page.subtitle,
9
+ page: page,
10
+ metadata: site.metadata
11
+ %}
12
+
13
+ <section class="section">
14
+ <div class="container">
15
+ {%- assign author = site.data.authors[page.author] %}
16
+ {%- if author %}
17
+ <div class="mb-6 author has-text-centered p-author">
18
+ <img src="{{ author.avatar }}" alt="{{ author.name }}" class="avatar u-photo" />
19
+ by <a href="/authors/{{ page.author }}/" class="has-text-weight-bold u-url p-name">{{ author.name }}</a>
20
+ on {{ page.date | date: "%B %-d, %Y" }}
21
+ </div>
22
+ {%- endif %}
23
+
24
+ <div class="content e-content">
25
+ {{ content }}
26
+ </div>
27
+ </div>
28
+ </section>
29
+ </article>
@@ -0,0 +1,11 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "bridgetown"
4
+ require "bulmatown/builder"
5
+
6
+ Bridgetown::PluginManager.new_source_manifest(
7
+ origin: Bulmatown,
8
+ components: File.expand_path("../components", __dir__),
9
+ content: File.expand_path("../content", __dir__),
10
+ layouts: File.expand_path("../layouts", __dir__)
11
+ )
@@ -0,0 +1,13 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Bulmatown
4
+ class Builder < Bridgetown::Builder
5
+ def build
6
+ liquid_tag "sample_plugin" do
7
+ "This plugin works!"
8
+ end
9
+ end
10
+ end
11
+ end
12
+
13
+ Bulmatown::Builder.register
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Bulmatown
4
+ VERSION = "1.0.0"
5
+ end
@@ -0,0 +1,21 @@
1
+ {
2
+ "name": "bulmatown",
3
+ "version": "1.0.0",
4
+ "main": "frontend/javascript/index.js",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "https://github.com/whitefusiohq/bulmatown.git"
8
+ },
9
+ "author": "Jared White <jared@whitefusion.io>",
10
+ "homepage": "https://www.bridgetownrb.com",
11
+ "license": "MIT",
12
+ "private": false,
13
+ "files": [
14
+ "frontend"
15
+ ],
16
+ "dependencies": {
17
+ "bridgetown-quick-search": "^1.0.3",
18
+ "bulma": "^0.9",
19
+ "fork-awesome": "^1.1.7"
20
+ }
21
+ }
@@ -0,0 +1,51 @@
1
+ # THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
2
+ # yarn lockfile v1
3
+
4
+
5
+ "@babel/runtime@^7.10.1":
6
+ version "7.10.2"
7
+ resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.10.2.tgz#d103f21f2602497d38348a32e008637d506db839"
8
+ integrity sha512-6sF3uQw2ivImfVIl62RZ7MXhO2tap69WeWK57vAaimT6AZbE4FbqjdEJIN1UqoD6wI6B+1n9UiagafH1sxjOtg==
9
+ dependencies:
10
+ regenerator-runtime "^0.13.4"
11
+
12
+ bridgetown-quick-search@^1.0.3:
13
+ version "1.0.3"
14
+ resolved "https://registry.yarnpkg.com/bridgetown-quick-search/-/bridgetown-quick-search-1.0.3.tgz#4fc34dea418fc97ba25f7ccf1aea6cbc7c048d91"
15
+ integrity sha512-IAeldS+EB+AU/3MIr0jvQKBIPR852aRxlM38/cEcs4KDh3v9ML3CtgnCI+48V6UBDb3NFzlKEJ91SSxRz3lyiA==
16
+ dependencies:
17
+ "@babel/runtime" "^7.10.1"
18
+ lit-element "^2.3.1"
19
+ lunr "^2.3.8"
20
+
21
+ bulma@^0.9:
22
+ version "0.9.0"
23
+ resolved "https://registry.yarnpkg.com/bulma/-/bulma-0.9.0.tgz#948c5445a49e9d7546f0826cb3820d17178a814f"
24
+ integrity sha512-rV75CJkubNUroAt0qCRkjznZLoaXq/ctfMXsMvKSL84UetbSyx5REl96e8GoQ04G4Tkw0XF3STECffTOQrbzOQ==
25
+
26
+ fork-awesome@^1.1.7:
27
+ version "1.1.7"
28
+ resolved "https://registry.yarnpkg.com/fork-awesome/-/fork-awesome-1.1.7.tgz#1427da1cac3d1713046ee88427e5fcecb9501d21"
29
+ integrity sha512-IHI7XCSXrKfUIWslse8c/PaaVDT1oBaYge+ju40ihL2ooiQeBpTr4wvIXhgTd2NuhntlvX+M5jYHAPTzNlmv0g==
30
+
31
+ lit-element@^2.3.1:
32
+ version "2.3.1"
33
+ resolved "https://registry.yarnpkg.com/lit-element/-/lit-element-2.3.1.tgz#73343b978fa1e73d60526c6bb6ad60f53a16c343"
34
+ integrity sha512-tOcUAmeO3BzwiQ7FGWdsshNvC0HVHcTFYw/TLIImmKwXYoV0E7zCBASa8IJ7DiP4cen/Yoj454gS0qqTnIGsFA==
35
+ dependencies:
36
+ lit-html "^1.1.1"
37
+
38
+ lit-html@^1.1.1:
39
+ version "1.2.1"
40
+ resolved "https://registry.yarnpkg.com/lit-html/-/lit-html-1.2.1.tgz#1fb933dc1e2ddc095f60b8086277d4fcd9d62cc8"
41
+ integrity sha512-GSJHHXMGLZDzTRq59IUfL9FCdAlGfqNp/dEa7k7aBaaWD+JKaCjsAk9KYm2V12ItonVaYx2dprN66Zdm1AuBTQ==
42
+
43
+ lunr@^2.3.8:
44
+ version "2.3.8"
45
+ resolved "https://registry.yarnpkg.com/lunr/-/lunr-2.3.8.tgz#a8b89c31f30b5a044b97d2d28e2da191b6ba2072"
46
+ integrity sha512-oxMeX/Y35PNFuZoHp+jUj5OSEmLCaIH4KTFJh7a93cHBoFmpw2IoPs22VIz7vyO2YUnx2Tn9dzIwO2P/4quIRg==
47
+
48
+ regenerator-runtime@^0.13.4:
49
+ version "0.13.5"
50
+ resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.13.5.tgz#d878a1d094b4306d10b9096484b33ebd55e26697"
51
+ integrity sha512-ZS5w8CpKFinUzOwW3c83oPeVXoNsrLsaCoLtJvAClH135j/R77RuymhiSErhm2lKcwSCIpmvIWSbDkIfAqKQlA==
metadata ADDED
@@ -0,0 +1,210 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: bulmatown
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Jared White
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2020-06-26 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bridgetown
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0.15'
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: '2.0'
23
+ type: :runtime
24
+ prerelease: false
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ requirements:
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ version: '0.15'
30
+ - - "<"
31
+ - !ruby/object:Gem::Version
32
+ version: '2.0'
33
+ - !ruby/object:Gem::Dependency
34
+ name: bridgetown-quick-search
35
+ requirement: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - "~>"
38
+ - !ruby/object:Gem::Version
39
+ version: '1.0'
40
+ type: :runtime
41
+ prerelease: false
42
+ version_requirements: !ruby/object:Gem::Requirement
43
+ requirements:
44
+ - - "~>"
45
+ - !ruby/object:Gem::Version
46
+ version: '1.0'
47
+ - !ruby/object:Gem::Dependency
48
+ name: bundler
49
+ requirement: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - ">="
52
+ - !ruby/object:Gem::Version
53
+ version: '0'
54
+ type: :development
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - ">="
59
+ - !ruby/object:Gem::Version
60
+ version: '0'
61
+ - !ruby/object:Gem::Dependency
62
+ name: nokogiri
63
+ requirement: !ruby/object:Gem::Requirement
64
+ requirements:
65
+ - - "~>"
66
+ - !ruby/object:Gem::Version
67
+ version: '1.6'
68
+ type: :development
69
+ prerelease: false
70
+ version_requirements: !ruby/object:Gem::Requirement
71
+ requirements:
72
+ - - "~>"
73
+ - !ruby/object:Gem::Version
74
+ version: '1.6'
75
+ - !ruby/object:Gem::Dependency
76
+ name: rake
77
+ requirement: !ruby/object:Gem::Requirement
78
+ requirements:
79
+ - - "~>"
80
+ - !ruby/object:Gem::Version
81
+ version: '12.0'
82
+ type: :development
83
+ prerelease: false
84
+ version_requirements: !ruby/object:Gem::Requirement
85
+ requirements:
86
+ - - "~>"
87
+ - !ruby/object:Gem::Version
88
+ version: '12.0'
89
+ - !ruby/object:Gem::Dependency
90
+ name: rspec
91
+ requirement: !ruby/object:Gem::Requirement
92
+ requirements:
93
+ - - "~>"
94
+ - !ruby/object:Gem::Version
95
+ version: '3.0'
96
+ type: :development
97
+ prerelease: false
98
+ version_requirements: !ruby/object:Gem::Requirement
99
+ requirements:
100
+ - - "~>"
101
+ - !ruby/object:Gem::Version
102
+ version: '3.0'
103
+ - !ruby/object:Gem::Dependency
104
+ name: rubocop-bridgetown
105
+ requirement: !ruby/object:Gem::Requirement
106
+ requirements:
107
+ - - "~>"
108
+ - !ruby/object:Gem::Version
109
+ version: '0.2'
110
+ type: :development
111
+ prerelease: false
112
+ version_requirements: !ruby/object:Gem::Requirement
113
+ requirements:
114
+ - - "~>"
115
+ - !ruby/object:Gem::Version
116
+ version: '0.2'
117
+ description:
118
+ email: jared@whitefusion.io
119
+ executables: []
120
+ extensions: []
121
+ extra_rdoc_files: []
122
+ files:
123
+ - ".gitignore"
124
+ - ".rspec"
125
+ - ".rubocop.yml"
126
+ - CHANGELOG.md
127
+ - Gemfile
128
+ - LICENSE.txt
129
+ - README.md
130
+ - Rakefile
131
+ - bridgetown.automation.rb
132
+ - bulmatown.gemspec
133
+ - components/bulmatown/button.liquid
134
+ - components/bulmatown/collection.liquid
135
+ - components/bulmatown/collection.scss
136
+ - components/bulmatown/hero.liquid
137
+ - components/bulmatown/hero.scss
138
+ - components/bulmatown/hero_wrapper.liquid
139
+ - components/bulmatown/navbar.liquid
140
+ - components/bulmatown/navbar.scss
141
+ - components/bulmatown/pagination.liquid
142
+ - content/bulmatown/example_page.md
143
+ - content/bulmatown/train-on-rails.jpeg
144
+ - example/.gitignore
145
+ - example/Gemfile
146
+ - example/bridgetown.config.yml
147
+ - example/frontend/fonts/forkawesome-webfont.eot
148
+ - example/frontend/fonts/forkawesome-webfont.svg
149
+ - example/frontend/fonts/forkawesome-webfont.ttf
150
+ - example/frontend/fonts/forkawesome-webfont.woff
151
+ - example/frontend/fonts/forkawesome-webfont.woff2
152
+ - example/frontend/javascript/index.js
153
+ - example/frontend/styles/index.scss
154
+ - example/package.json
155
+ - example/plugins/builders/.keep
156
+ - example/plugins/site_builder.rb
157
+ - example/src/404.html
158
+ - example/src/_components/footer.liquid
159
+ - example/src/_components/head.liquid
160
+ - example/src/_components/navbar.liquid
161
+ - example/src/_data/authors.yml
162
+ - example/src/_data/site_metadata.yml
163
+ - example/src/_layouts/default.html
164
+ - example/src/_layouts/home.html
165
+ - example/src/_layouts/page.html
166
+ - example/src/_layouts/post.html
167
+ - example/src/_posts/2020-06-13-this-is-groovy.md
168
+ - example/src/_posts/2020-06-13-welcome-to-bridgetown.md
169
+ - example/src/about.md
170
+ - example/src/favicon.ico
171
+ - example/src/images/jared-white-avatar.jpg
172
+ - example/src/index.md
173
+ - example/src/posts.md
174
+ - example/start.js
175
+ - example/sync.js
176
+ - example/webpack.config.js
177
+ - example/yarn.lock
178
+ - layouts/bulmatown/homepage.html
179
+ - layouts/bulmatown/page.html
180
+ - layouts/bulmatown/post.html
181
+ - lib/bulmatown.rb
182
+ - lib/bulmatown/builder.rb
183
+ - lib/bulmatown/version.rb
184
+ - package.json
185
+ - yarn.lock
186
+ homepage: https://github.com/whitefusionhq/bulmatown
187
+ licenses:
188
+ - MIT
189
+ metadata:
190
+ yarn-add: bulmatown@1.0.0
191
+ post_install_message:
192
+ rdoc_options: []
193
+ require_paths:
194
+ - lib
195
+ required_ruby_version: !ruby/object:Gem::Requirement
196
+ requirements:
197
+ - - ">="
198
+ - !ruby/object:Gem::Version
199
+ version: 2.5.0
200
+ required_rubygems_version: !ruby/object:Gem::Requirement
201
+ requirements:
202
+ - - ">="
203
+ - !ruby/object:Gem::Version
204
+ version: '0'
205
+ requirements: []
206
+ rubygems_version: 3.0.6
207
+ signing_key:
208
+ specification_version: 4
209
+ summary: A Bumlma CSS starter theme for Bridgetown
210
+ test_files: []