bulmatown 1.0.5 → 1.2.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (49) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +6 -3
  3. data/CHANGELOG.md +14 -3
  4. data/README.md +3 -3
  5. data/bridgetown.automation.rb +19 -12
  6. data/bulmatown.gemspec +7 -7
  7. data/components/bulmatown/collection.liquid +12 -12
  8. data/components/bulmatown/pagination.liquid +0 -15
  9. data/layouts/bulmatown/{homepage.html → homepage.liquid} +0 -0
  10. data/layouts/bulmatown/{page.html → page.liquid} +0 -0
  11. data/layouts/bulmatown/{post.html → post.liquid} +0 -0
  12. data/lib/bulmatown/version.rb +1 -1
  13. data/package.json +3 -3
  14. metadata +19 -54
  15. data/example/.gitignore +0 -35
  16. data/example/Gemfile +0 -22
  17. data/example/bridgetown.config.yml +0 -26
  18. data/example/frontend/fonts/forkawesome-webfont.eot +0 -0
  19. data/example/frontend/fonts/forkawesome-webfont.svg +0 -2849
  20. data/example/frontend/fonts/forkawesome-webfont.ttf +0 -0
  21. data/example/frontend/fonts/forkawesome-webfont.woff +0 -0
  22. data/example/frontend/fonts/forkawesome-webfont.woff2 +0 -0
  23. data/example/frontend/javascript/index.js +0 -4
  24. data/example/frontend/styles/index.scss +0 -5
  25. data/example/package.json +0 -37
  26. data/example/plugins/builders/.keep +0 -0
  27. data/example/plugins/site_builder.rb +0 -4
  28. data/example/src/404.html +0 -8
  29. data/example/src/_components/footer.liquid +0 -53
  30. data/example/src/_components/head.liquid +0 -9
  31. data/example/src/_components/navbar.liquid +0 -51
  32. data/example/src/_data/authors.yml +0 -5
  33. data/example/src/_data/site_metadata.yml +0 -18
  34. data/example/src/_layouts/default.html +0 -15
  35. data/example/src/_layouts/home.html +0 -5
  36. data/example/src/_layouts/page.html +0 -5
  37. data/example/src/_layouts/post.html +0 -5
  38. data/example/src/_posts/2020-06-13-this-is-groovy.md +0 -29
  39. data/example/src/_posts/2020-06-13-welcome-to-bridgetown.md +0 -30
  40. data/example/src/about.md +0 -11
  41. data/example/src/authors/author.html +0 -23
  42. data/example/src/favicon.ico +0 -0
  43. data/example/src/images/jared-white-avatar.jpg +0 -0
  44. data/example/src/index.md +0 -21
  45. data/example/src/posts.md +0 -12
  46. data/example/start.js +0 -17
  47. data/example/sync.js +0 -35
  48. data/example/webpack.config.js +0 -78
  49. data/example/yarn.lock +0 -6129
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ff24e6b8dc01e065dffbb38f338fdd954c320c78f8375a111d9e0444e1954410
4
- data.tar.gz: 618f4bfa44cc4fe46cbf29242afbfbcc78d8c0d26f2f9aef5054d89935e205c1
3
+ metadata.gz: b2ab8568946d58b89c9ba7e71ff5d589cbf0038894d2a04914417fbf3913e4a0
4
+ data.tar.gz: a11ba62cd8c2677ef4a1d74d35ae6548f91ffd8fde8ae226112ec466b917588c
5
5
  SHA512:
6
- metadata.gz: a5b5fb68cf6d4ace9dd357136817d9df798bc77b63e8db1c3bdb5f8d55c0c9fb7ca1d43143f9ef64a428409cf6b56570fe14968e1d012981139fa8d4ae5da5fc
7
- data.tar.gz: 6eb5ab2b27eef236e83beebda9682045e8498dfe5a6ca19563b6d4572dc36fd3bdc92fbde85523edab403c4fb1ac0afc5578d2e43854b35fe893b3d34de7878d
6
+ metadata.gz: 84a080d252e43ec2e97c05cbe8a58e3875adae93558a23dcd9ba2e1471b07050865a88b110d3d59aaddfda356179225a9599acdb7edd4f6d522e95075740b947
7
+ data.tar.gz: 7b041ef1bfa8125573b5aaf2b9a70b30c3dfc334bf407073ec90940d77f0a822e5c1634d60a69e2eb60a95f64fa3e00d718babc57591a049adeb3164700676af
data/.rubocop.yml CHANGED
@@ -4,19 +4,22 @@ inherit_gem:
4
4
  rubocop-bridgetown: .rubocop.yml
5
5
 
6
6
  AllCops:
7
- TargetRubyVersion: 2.5
8
- Include:
9
- - lib/**/*.rb
7
+ TargetRubyVersion: 2.7
10
8
 
11
9
  Exclude:
12
10
  - .gitignore
13
11
  - .rspec
14
12
  - .rubocop.yml
15
13
 
14
+ - Rakefile
15
+ - bridgetown.automation.rb
16
+ - "*.gemspec"
16
17
  - Gemfile.lock
17
18
  - CHANGELOG.md
18
19
  - LICENSE.txt
19
20
  - README.md
20
21
 
22
+ - example/**/*
21
23
  - script/**/*
22
24
  - vendor/**/*
25
+ - spec/**/*
data/CHANGELOG.md CHANGED
@@ -1,7 +1,18 @@
1
1
  # master
2
2
 
3
- * Use this file to keep track of plugin updates
3
+ # 1.1.0 / 2021-02-01
4
4
 
5
- # 0.1.0 / 2020-05-01
5
+ * Fix installation now that Liquid components use `.liquid` extension [#4](https://github.com/whitefusionhq/bulmatown/pull/4) ([arca0](https://github.com/arca0))
6
6
 
7
- * First version
7
+ # 1.0.7 / 2020-10-19
8
+
9
+ * Change layout files to .liquid extension for better compatibility with Bridgetown 0.18 template engine configurations
10
+
11
+ # 1.0.6 / 2020-10-02
12
+
13
+ * Remove red border from error syntax #3
14
+ * Remove italics from syntax highlighting #2
15
+
16
+ # 1.0.5 / 2020-06-27
17
+
18
+ * Wide release
data/README.md CHANGED
@@ -3,13 +3,13 @@
3
3
 
4
4
  [Bulma](https://bulma.io) is a clean, modern CSS framework for rapid prototyping of content-focused websites. Use this theme to start using Bulma in your new [Bridgetown](https://www.bridgetownrb.com) site quickly, while preserving _all_ of the advanced customization possibilities as if you configured Bulma manually.
5
5
 
6
- **[LIVE DEMO](https://bulmatown.vercel.app)**
6
+ **[LIVE DEMO](https://bulmatown.onrender.com)**
7
7
 
8
8
  ![Bulmatown Example](https://res.cloudinary.com/mariposta/image/upload/c_thumb,w_900/v1593195961/bulmatown/bulmatown-example.jpg)
9
9
 
10
10
  ## Installation
11
11
 
12
- Bulmatown requires Bridgetown v0.15 or later
12
+ Bulmatown requires Bridgetown v1.0 or later (for >= 1.2), or v0.15 or later (~1.1)
13
13
 
14
14
  To install Bulmatown while creating a new Bridgetown site:
15
15
 
@@ -114,4 +114,4 @@ Then you can go to the `bulmatown` folder in your layouts or components folders
114
114
  3. Create your feature branch (`git checkout -b my-new-feature`)
115
115
  4. Commit your changes (`git commit -am 'Add some feature'`)
116
116
  5. Push to the branch (`git push origin my-new-feature`)
117
- 6. Create a new Pull Request
117
+ 6. Create a new Pull Request
@@ -4,11 +4,7 @@
4
4
  add_bridgetown_plugin "bulmatown"
5
5
  add_bridgetown_plugin "bridgetown-quick-search"
6
6
 
7
- # 0.15 bug! :( can't use this:
8
- #add_yarn_for_gem "bulmatown"
9
-
10
- gem_version = (`bundle info bulmatown`).match(/\*.*\((.*?)\)/)[1]
11
- run "yarn add bulmatown@#{gem_version}"
7
+ add_yarn_for_gem "bulmatown"
12
8
 
13
9
  require 'fileutils'
14
10
  require 'shellwords'
@@ -60,17 +56,28 @@ def add_template_repository_to_source_path
60
56
  end
61
57
  end
62
58
 
59
+ def copy_if_exists(file)
60
+ target = File.exist?("src/_layouts/#{file}.html") ? "src/_layouts/#{file}.html" : "src/_layouts/#{file}.liquid"
61
+ copy_file "example/src/_layouts/#{file}.liquid", target
62
+ end
63
+
64
+ def substitute_in_default_if_exists
65
+ if File.exists?("src/_layouts/default.liquid")
66
+ gsub_file "src/_layouts/default.liquid", '{% render "footer", ', '{% render "footer", url: site.url, '
67
+ elsif File.exists?("src/_layouts/default.html")
68
+ gsub_file "src/_layouts/default.html", '{% render "footer", ', '{% render "footer", url: site.url, '
69
+ else
70
+ say_status :bulmatown, "Could not find the default template. You will have to add the url parameter to the render command manually"
71
+ end
72
+ end
73
+
63
74
  if yes? "The Bulmatown installer can update styles, layouts, and page templates to use the new theme. You'll have the option to type 'a' to overwrite all existing files or 'd' to inspect each change. Would you like to proceed? (Y/N)"
64
75
  add_template_repository_to_source_path
65
76
 
66
77
  create_file "frontend/styles/index.scss", '@import "~bulmatown/frontend/styles"'
67
-
68
- copy_file "example/src/_layouts/home.html", "src/_layouts/home.html"
69
- copy_file "example/src/_layouts/page.html", "src/_layouts/page.html"
70
- copy_file "example/src/_layouts/post.html", "src/_layouts/post.html"
71
-
72
78
 
73
- gsub_file "src/_layouts/default.html", '{% render "footer", ', '{% render "footer", url: site.url, '
79
+ ["home", "page", "post"].each { |f| copy_if_exists(f) }
80
+ substitute_in_default_if_exists
74
81
 
75
82
  copy_file "example/src/index.md", "src/index.md"
76
83
  copy_file "example/src/posts.md", "src/posts.md"
@@ -94,4 +101,4 @@ if twitter != "" && twitter != "no"
94
101
  end
95
102
  end
96
103
 
97
- say_status :bulmatown, "Theme installation complete! Enjoy your fresh new design :)"
104
+ say_status :bulmatown, "Theme installation complete! Enjoy your fresh new design :)"
data/bulmatown.gemspec CHANGED
@@ -6,24 +6,24 @@ Gem::Specification.new do |spec|
6
6
  spec.name = "bulmatown"
7
7
  spec.version = Bulmatown::VERSION
8
8
  spec.author = "Jared White"
9
- spec.email = "jared@whitefusion.io"
9
+ spec.email = "jared@whitefusion.studio"
10
10
  spec.summary = "A Bulma CSS starter theme for Bridgetown"
11
11
  spec.homepage = "https://github.com/whitefusionhq/bulmatown"
12
12
  spec.license = "MIT"
13
13
 
14
- spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r!^(test|script|spec|features|frontend)/!) }
14
+ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r!^(test|script|spec|features|frontend|example)/!) }
15
15
  spec.test_files = spec.files.grep(%r!^spec/!)
16
16
  spec.require_paths = ["lib"]
17
17
  spec.metadata = { "yarn-add" => "bulmatown@#{Bulmatown::VERSION}" }
18
18
 
19
- spec.required_ruby_version = ">= 2.5.0"
19
+ spec.required_ruby_version = ">= 2.7.0"
20
20
 
21
- spec.add_dependency "bridgetown", ">= 0.15", "< 2.0"
22
- spec.add_dependency "bridgetown-quick-search", "~> 1.0"
21
+ spec.add_dependency "bridgetown", ">= 1.0.0.alpha10", "< 2.0"
22
+ spec.add_dependency "bridgetown-quick-search", "~> 1.1"
23
23
 
24
24
  spec.add_development_dependency "bundler"
25
25
  spec.add_development_dependency "nokogiri", "~> 1.6"
26
- spec.add_development_dependency "rake", "~> 12.0"
26
+ spec.add_development_dependency "rake", ">= 13.0"
27
27
  spec.add_development_dependency "rspec", "~> 3.0"
28
- spec.add_development_dependency "rubocop-bridgetown", "~> 0.2"
28
+ spec.add_development_dependency "rubocop-bridgetown", "~> 0.3"
29
29
  end
@@ -1,34 +1,34 @@
1
1
  <div class="columns is-multiline">
2
- {% for document in collection %}
2
+ {% for resource in collection %}
3
3
  {%- assign imagesource = metadata.bulmatown_theme.image_sizes.embed | default: "image" %}
4
4
  <div class="column is-full-mobile is-full-tablet is-half-desktop">
5
5
  <div class="box document-entry">
6
- {% if document.image %}
6
+ {% if resource.image %}
7
7
  <figure class="image is-5by3">
8
- <a href="{{ document.url }}">
9
- <img src="{{ document[imagesource] }}" />
8
+ <a href="{{ resource.relative_url }}">
9
+ <img src="{{ resource[imagesource] }}" />
10
10
  </a>
11
11
  </figure>
12
12
  {% endif %}
13
13
 
14
14
  <div class="content">
15
15
  <h3>
16
- <a class="is-decorationless" href="{{ document.url }}">
17
- {{ document.title | smartify }}
16
+ <a class="is-decorationless" href="{{ resource.relative_url }}">
17
+ {{ resource.title | smartify }}
18
18
  </a>
19
19
  </h3>
20
20
 
21
- {% if document.subtitle and document.subtitle != "" %}
22
- {% assign excerpt = document.subtitle | smartify | prepend: "<p>" | append: "</p>" %}
23
- {% elsif document.description and document.description != "" %}
24
- {% assign excerpt = document.description | smartify | prepend: "<p>" | append: "</p>" %}
21
+ {% if resource.subtitle and resource.subtitle != "" %}
22
+ {% assign excerpt = resource.subtitle | smartify | prepend: "<p>" | append: "</p>" %}
23
+ {% elsif resource.description and resource.description != "" %}
24
+ {% assign excerpt = resource.description | smartify | prepend: "<p>" | append: "</p>" %}
25
25
  {% else %}
26
- {% assign excerpt = document.excerpt %}
26
+ {% assign excerpt = resource.excerpt %}
27
27
  {% endif %}
28
28
  {{ excerpt }}
29
29
 
30
30
  <p class="mt-5">
31
- {% render "bulmatown/button", type: "primary", label: "Continue Reading", link: document.url, icon: "file-text" %}
31
+ {% render "bulmatown/button", type: "primary", label: "Continue Reading", link: resource.relative_url, icon: "file-text" %}
32
32
  </p>
33
33
  </div>
34
34
  </div>
@@ -1,18 +1,3 @@
1
- ---
2
- name: Pagination
3
- description: Display previous page and/or next page buttons to navigate through paginated pages.
4
- variables:
5
- paginator:
6
- - object
7
- - The Bridgetown Paginator object ([see documentation here](https://www.bridgetownrb.com/docs/content/pagination/))
8
- mocks:
9
- paginator:
10
- total_pages: 3
11
- previous_page: true
12
- previous_page_path: "#previous"
13
- next_page: true
14
- next_page_path: "#next"
15
- ---
16
1
  {% if paginator.total_pages > 1 %}
17
2
  <ul class="pagination mt-6">
18
3
  {% if paginator.previous_page %}
File without changes
File without changes
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Bulmatown
4
- VERSION = "1.0.5"
4
+ VERSION = "1.2.2"
5
5
  end
data/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "bulmatown",
3
3
  "description": "A Bulma CSS starter theme for Bridgetown",
4
- "version": "1.0.5",
4
+ "version": "1.2.2",
5
5
  "main": "frontend/javascript/index.js",
6
6
  "repository": {
7
7
  "type": "git",
8
8
  "url": "https://github.com/whitefusiohq/bulmatown.git"
9
9
  },
10
- "author": "Jared White <jared@whitefusion.io>",
10
+ "author": "Jared White <jared@whitefusion.studio>",
11
11
  "homepage": "https://www.bridgetownrb.com",
12
12
  "license": "MIT",
13
13
  "private": false,
@@ -16,7 +16,7 @@
16
16
  "frontend"
17
17
  ],
18
18
  "dependencies": {
19
- "bridgetown-quick-search": "^1.0.3",
19
+ "bridgetown-quick-search": "^1.1.3",
20
20
  "bulma": "^0.9",
21
21
  "fork-awesome": "^1.1.7"
22
22
  }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bulmatown
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.5
4
+ version: 1.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jared White
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-06-27 00:00:00.000000000 Z
11
+ date: 2021-11-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bridgetown
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.15'
19
+ version: 1.0.0.alpha10
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: '2.0'
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: '0.15'
29
+ version: 1.0.0.alpha10
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: '2.0'
@@ -36,14 +36,14 @@ dependencies:
36
36
  requirements:
37
37
  - - "~>"
38
38
  - !ruby/object:Gem::Version
39
- version: '1.0'
39
+ version: '1.1'
40
40
  type: :runtime
41
41
  prerelease: false
42
42
  version_requirements: !ruby/object:Gem::Requirement
43
43
  requirements:
44
44
  - - "~>"
45
45
  - !ruby/object:Gem::Version
46
- version: '1.0'
46
+ version: '1.1'
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: bundler
49
49
  requirement: !ruby/object:Gem::Requirement
@@ -76,16 +76,16 @@ dependencies:
76
76
  name: rake
77
77
  requirement: !ruby/object:Gem::Requirement
78
78
  requirements:
79
- - - "~>"
79
+ - - ">="
80
80
  - !ruby/object:Gem::Version
81
- version: '12.0'
81
+ version: '13.0'
82
82
  type: :development
83
83
  prerelease: false
84
84
  version_requirements: !ruby/object:Gem::Requirement
85
85
  requirements:
86
- - - "~>"
86
+ - - ">="
87
87
  - !ruby/object:Gem::Version
88
- version: '12.0'
88
+ version: '13.0'
89
89
  - !ruby/object:Gem::Dependency
90
90
  name: rspec
91
91
  requirement: !ruby/object:Gem::Requirement
@@ -106,16 +106,16 @@ dependencies:
106
106
  requirements:
107
107
  - - "~>"
108
108
  - !ruby/object:Gem::Version
109
- version: '0.2'
109
+ version: '0.3'
110
110
  type: :development
111
111
  prerelease: false
112
112
  version_requirements: !ruby/object:Gem::Requirement
113
113
  requirements:
114
114
  - - "~>"
115
115
  - !ruby/object:Gem::Version
116
- version: '0.2'
116
+ version: '0.3'
117
117
  description:
118
- email: jared@whitefusion.io
118
+ email: jared@whitefusion.studio
119
119
  executables: []
120
120
  extensions: []
121
121
  extra_rdoc_files: []
@@ -139,44 +139,9 @@ files:
139
139
  - components/bulmatown/navbar.liquid
140
140
  - components/bulmatown/navbar.scss
141
141
  - components/bulmatown/pagination.liquid
142
- - example/.gitignore
143
- - example/Gemfile
144
- - example/bridgetown.config.yml
145
- - example/frontend/fonts/forkawesome-webfont.eot
146
- - example/frontend/fonts/forkawesome-webfont.svg
147
- - example/frontend/fonts/forkawesome-webfont.ttf
148
- - example/frontend/fonts/forkawesome-webfont.woff
149
- - example/frontend/fonts/forkawesome-webfont.woff2
150
- - example/frontend/javascript/index.js
151
- - example/frontend/styles/index.scss
152
- - example/package.json
153
- - example/plugins/builders/.keep
154
- - example/plugins/site_builder.rb
155
- - example/src/404.html
156
- - example/src/_components/footer.liquid
157
- - example/src/_components/head.liquid
158
- - example/src/_components/navbar.liquid
159
- - example/src/_data/authors.yml
160
- - example/src/_data/site_metadata.yml
161
- - example/src/_layouts/default.html
162
- - example/src/_layouts/home.html
163
- - example/src/_layouts/page.html
164
- - example/src/_layouts/post.html
165
- - example/src/_posts/2020-06-13-this-is-groovy.md
166
- - example/src/_posts/2020-06-13-welcome-to-bridgetown.md
167
- - example/src/about.md
168
- - example/src/authors/author.html
169
- - example/src/favicon.ico
170
- - example/src/images/jared-white-avatar.jpg
171
- - example/src/index.md
172
- - example/src/posts.md
173
- - example/start.js
174
- - example/sync.js
175
- - example/webpack.config.js
176
- - example/yarn.lock
177
- - layouts/bulmatown/homepage.html
178
- - layouts/bulmatown/page.html
179
- - layouts/bulmatown/post.html
142
+ - layouts/bulmatown/homepage.liquid
143
+ - layouts/bulmatown/page.liquid
144
+ - layouts/bulmatown/post.liquid
180
145
  - lib/bulmatown.rb
181
146
  - lib/bulmatown/version.rb
182
147
  - package.json
@@ -185,7 +150,7 @@ homepage: https://github.com/whitefusionhq/bulmatown
185
150
  licenses:
186
151
  - MIT
187
152
  metadata:
188
- yarn-add: bulmatown@1.0.5
153
+ yarn-add: bulmatown@1.2.2
189
154
  post_install_message:
190
155
  rdoc_options: []
191
156
  require_paths:
@@ -194,14 +159,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
194
159
  requirements:
195
160
  - - ">="
196
161
  - !ruby/object:Gem::Version
197
- version: 2.5.0
162
+ version: 2.7.0
198
163
  required_rubygems_version: !ruby/object:Gem::Requirement
199
164
  requirements:
200
165
  - - ">="
201
166
  - !ruby/object:Gem::Version
202
167
  version: '0'
203
168
  requirements: []
204
- rubygems_version: 3.0.6
169
+ rubygems_version: 3.1.4
205
170
  signing_key:
206
171
  specification_version: 4
207
172
  summary: A Bulma CSS starter theme for Bridgetown
data/example/.gitignore DELETED
@@ -1,35 +0,0 @@
1
- # Bridgetown
2
- output
3
- .bridgetown-cache
4
- .bridgetown-metadata
5
- .bridgetown-webpack
6
-
7
- # Dependency folders
8
- node_modules
9
- bower_components
10
- vendor
11
-
12
- # Caches
13
- .sass-cache
14
- .npm
15
- .node_repl_history
16
-
17
- # Ignore bundler config.
18
- /.bundle
19
-
20
- # Ignore Byebug command history file.
21
- .byebug_history
22
-
23
- # dotenv environment variables file
24
- .env
25
-
26
- # Mac files
27
- .DS_Store
28
-
29
- # Yarn
30
- yarn-error.log
31
- yarn-debug.log*
32
- .pnp/
33
- .pnp.js
34
- # Yarn Integrity file
35
- .yarn-integrity
data/example/Gemfile DELETED
@@ -1,22 +0,0 @@
1
- source "https://rubygems.org"
2
- git_source(:github) { |repo| "https://github.com/#{repo}.git" }
3
-
4
- # Hello! This is where you manage which Bridgetown version is used to run.
5
- # When you want to use a different version, change it below, save the
6
- # file and run `bundle install`. Run Bridgetown with `bundle exec`, like so:
7
- #
8
- # bundle exec bridgetown serve
9
- #
10
- # This will help ensure the proper Bridgetown version is running.
11
- #
12
- # To install a plugin, simply run bundle add and specify the group
13
- # "bridgetown_plugins". For example:
14
- #
15
- # bundle add some-new-plugin -g bridgetown_plugins
16
- #
17
- # Happy Bridgetowning!
18
-
19
- gem "bridgetown"
20
- gem "bridgetown-quick-search", "~> 1.0", :group => :bridgetown_plugins
21
-
22
- gem "bulmatown", group: :bridgetown_plugins
@@ -1,26 +0,0 @@
1
- # Welcome to Bridgetown!
2
- #
3
- # This config file is for settings that affect your whole site, values
4
- # which you are expected to set up once and rarely edit after that.
5
- #
6
- # For technical reasons, this file is *NOT* reloaded automatically when you use
7
- # 'bundle exec bridgetown serve'. If you change this file, please restart the
8
- # server process.
9
- #
10
- # For reloadable site metadata like title, SEO description, social media
11
- # handles, etc., take a look at src/_data/site_metadata.yml
12
- #
13
- # If you need help with YAML syntax, here are some quick references for you:
14
- # https://learn-the-web.algonquindesign.ca/topics/markdown-yaml-cheat-sheet/#yaml
15
- # https://learnxinyminutes.com/docs/yaml/
16
- #
17
-
18
- baseurl: "" # OPTIONAL: the subpath of your site, e.g. /blog
19
- url: "" # the base hostname & protocol for your site, e.g. http://example.com
20
- # Additional build settings go here
21
- permalink: pretty
22
-
23
- timezone: America/Los_Angeles
24
-
25
- pagination:
26
- enabled: true