dextery 0.0.3b → 0.0.3c

Sign up to get free protection for your applications and to get access to all the features.
Files changed (48) hide show
  1. checksums.yaml +8 -8
  2. data/bin/dextery +1 -1
  3. data/dextery.gemspec +1 -1
  4. data/lib/dextery/template/.gitignore +10 -0
  5. data/lib/dextery/template/404.html +1 -0
  6. data/lib/dextery/template/README.md +46 -0
  7. data/lib/dextery/template/Rakefile +309 -0
  8. data/lib/dextery/template/_config.yml +131 -0
  9. data/lib/dextery/template/_drafts/jekyll-introduction-draft.md +412 -0
  10. data/lib/dextery/template/_includes/JB/analytics +16 -0
  11. data/lib/dextery/template/_includes/JB/analytics-providers/getclicky +12 -0
  12. data/lib/dextery/template/_includes/JB/analytics-providers/google +11 -0
  13. data/lib/dextery/template/_includes/JB/analytics-providers/mixpanel +11 -0
  14. data/lib/dextery/template/_includes/JB/categories_list +37 -0
  15. data/lib/dextery/template/_includes/JB/comments +16 -0
  16. data/lib/dextery/template/_includes/JB/comments-providers/disqus +14 -0
  17. data/lib/dextery/template/_includes/JB/comments-providers/facebook +9 -0
  18. data/lib/dextery/template/_includes/JB/comments-providers/intensedebate +6 -0
  19. data/lib/dextery/template/_includes/JB/comments-providers/livefyre +6 -0
  20. data/lib/dextery/template/_includes/JB/liquid_raw +32 -0
  21. data/lib/dextery/template/_includes/JB/pages_list +39 -0
  22. data/lib/dextery/template/_includes/JB/posts_collate +55 -0
  23. data/lib/dextery/template/_includes/JB/setup +22 -0
  24. data/lib/dextery/template/_includes/JB/sharing +8 -0
  25. data/lib/dextery/template/_includes/JB/tags_list +33 -0
  26. data/lib/dextery/template/_includes/themes/twitter/default.html +66 -0
  27. data/lib/dextery/template/_includes/themes/twitter/page.html +9 -0
  28. data/lib/dextery/template/_includes/themes/twitter/post.html +49 -0
  29. data/lib/dextery/template/_includes/themes/twitter/settings.yml +2 -0
  30. data/lib/dextery/template/_layouts/default.html +6 -0
  31. data/lib/dextery/template/_layouts/page.html +5 -0
  32. data/lib/dextery/template/_layouts/post.html +5 -0
  33. data/lib/dextery/template/_plugins/debug.rb +38 -0
  34. data/lib/dextery/template/_posts/core-samples/2011-12-29-jekyll-introduction.md +412 -0
  35. data/lib/dextery/template/archive.html +10 -0
  36. data/lib/dextery/template/assets/themes/twitter/bootstrap/css/bootstrap.2.2.2.min.css +782 -0
  37. data/lib/dextery/template/assets/themes/twitter/bootstrap/img/glyphicons-halflings-white.png +0 -0
  38. data/lib/dextery/template/assets/themes/twitter/bootstrap/img/glyphicons-halflings.png +0 -0
  39. data/lib/dextery/template/assets/themes/twitter/css/style.css +65 -0
  40. data/lib/dextery/template/atom.xml +28 -0
  41. data/lib/dextery/template/categories.html +22 -0
  42. data/lib/dextery/template/changelog.md +70 -0
  43. data/lib/dextery/template/index.md +46 -0
  44. data/lib/dextery/template/pages.html +13 -0
  45. data/lib/dextery/template/rss.xml +28 -0
  46. data/lib/dextery/template/sitemap.txt +8 -0
  47. data/lib/dextery/template/tags.html +21 -0
  48. metadata +45 -1
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- N2JjOWUyOWUzODcyZTU1ZTcyNTg0MjU5NDA4YTJjMmQ5NzU4YzE2Yg==
4
+ ZTk1YWM4ZTIyZmQyYTRiMWUyZmRkYTBkMTNkYjdlOTA0NDY2MzlkNQ==
5
5
  data.tar.gz: !binary |-
6
- YmYyNWQyMmU0OTk4N2Q4ZWMzNWZjNzEyOGM0YWI4YzU1MTk0NzAxMQ==
6
+ ODhiOTA5OWFhZmZjNTg5MTQ3NGM0NDU4NTEzYzRhOWY2OTU2OTM5Zg==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- NjgzNDlkODM2NWY1MTM4ZjYwODg0YTY3YTM0ZmRmOTY1NWJhOGYxMWJiMGM4
10
- ODA3ODUwOGIwOWU0ZjBjMWE2YjJiZTc3MTJkYjliZmQyMTFiM2VkZWRkM2Zh
11
- NTk5M2ZlMDhiY2Q5YWEwMmQ3ZTcwMjNhZjI4OGVkZjZmZThjMmQ=
9
+ NmI1ZGM1NjY3Nzc2M2E4OThhMGNhNGJjM2FhODExYmEyY2VlMWIzNzQ4OTEx
10
+ MzZkMTNkNWQ0MDRjYTVkNzc2ODRkODdlMGNkOGEwNDZlMDBlMWJlNDk2YWNk
11
+ Mzc3NWE5YzM3MTI4OTUwNDk4YmE4YTNhYzQ2YjQzYjk4MWIwYTg=
12
12
  data.tar.gz: !binary |-
13
- OTIxZTc4ODEyNGIxMDhlZjVlNjY4NTE4NGMxZWZlNDZhZDNiMDRjMzlhZDEz
14
- MTNhZjg2NWU0MjIyNmU3ZjcwODFhMDEyZDA1OWQwYTA5NGFkY2U3NWZmYmFk
15
- MDY2MTM4ZGI1NDdkNWJlMDAyM2U3NGE5NDkzMDE1NjI3Zjc4ZWQ=
13
+ OGQ5OGI5OTYwNGRlYjBhYTM5MzgyYWE1YjcyMTQzYjg3N2Y0ODFkOWUwMmZh
14
+ NjBiM2NkYWIxOTEwNzJiNGVjYTAwNzEzNzk3ODVkYjViM2U4NjcyODVkY2U0
15
+ ZmQ1ZjNkNjAyY2VkYWUyNjM5NTE2MDcyOTZiZWZkY2ZlOWU2ODc=
@@ -4,7 +4,7 @@ require 'dextery'
4
4
  require 'commander/import'
5
5
 
6
6
  program :name, 'dextery'
7
- program :version, '0.0.3b'
7
+ program :version, '0.0.3c'
8
8
  program :description, 'Blog engine based on Jekyll Bootstrap'
9
9
 
10
10
  default_command :help
@@ -6,7 +6,7 @@ require 'dextery'
6
6
 
7
7
  Gem::Specification.new do |spec|
8
8
  spec.name = "dextery"
9
- spec.version = "0.0.3b"
9
+ spec.version = "0.0.3c"
10
10
  spec.authors = ["Marshall Shen"]
11
11
  spec.email = ["mshen@groupon.com"]
12
12
  spec.description = "Blog engine based on Jekyll Bootstrap"
@@ -0,0 +1,10 @@
1
+ _site/*
2
+ _theme_packages/*
3
+
4
+ Thumbs.db
5
+ .DS_Store
6
+
7
+ !.gitkeep
8
+
9
+ .rbenv-version
10
+ .rvmrc
@@ -0,0 +1 @@
1
+ Sorry this page does not exist =(
@@ -0,0 +1,46 @@
1
+ # Jekyll-Bootstrap
2
+
3
+ The quickest way to start and publish your Jekyll powered blog. 100% compatible with GitHub pages
4
+
5
+ ## Usage
6
+
7
+ For all usage and documentation please see: <http://jekyllbootstrap.com>
8
+
9
+ ## Version
10
+
11
+ 0.3.0 - stable and versioned using [semantic versioning](http://semver.org/).
12
+
13
+ **NOTE:** 0.3.0 introduces a new theme which is not backwards compatible in the sense it won't _look_ like the old version.
14
+ However, the actual API has not changed at all.
15
+ You might want to run 0.3.0 in a branch to make sure you are ok with the theme design changes.
16
+
17
+ ## Contributing
18
+
19
+ This repository tracks 2 projects:
20
+
21
+ - **Jekyll-Bootstrap Framework.**
22
+ The framework for which users should clone and build their blog on top of is available in the master branch.
23
+
24
+ To contribute to the framework please make sure to checkout your branch based on `jb-development`!!
25
+ This is very important as it allows me to accept your pull request without having to publish a public version release.
26
+
27
+ Small, atomic Features, bugs, etc.
28
+ Use the `jb-development` branch but note it will likely change fast as pull requests are accepted.
29
+ Please rebase as often as possible when working.
30
+ Work on small, atomic features/bugs to avoid upstream commits affecting/breaking your development work.
31
+
32
+ For Big Features or major API extensions/edits:
33
+ This is the one case where I'll accept pull-requests based off the master branch.
34
+ This allows you to work in isolation but it means I'll have to manually merge your work into the next public release.
35
+ Translation : it might take a bit longer so please be patient! (but sincerely thank you).
36
+
37
+ - **Jekyll-Bootstrap Documentation Website.**
38
+ The documentation website at <http://jekyllbootstrap.com> is maintained in the gh-pages branch.
39
+ Please fork and contribute documentation additions to this branch only.
40
+
41
+ The master and gh-pages branch do not share the same ancestry. Please treat them as completely separate git repositories!
42
+
43
+
44
+ ## License
45
+
46
+ [MIT](http://opensource.org/licenses/MIT)
@@ -0,0 +1,309 @@
1
+ require "rubygems"
2
+ require 'rake'
3
+ require 'yaml'
4
+ require 'time'
5
+
6
+ SOURCE = "."
7
+ CONFIG = {
8
+ 'version' => "0.3.0",
9
+ 'themes' => File.join(SOURCE, "_includes", "themes"),
10
+ 'layouts' => File.join(SOURCE, "_layouts"),
11
+ 'posts' => File.join(SOURCE, "_posts"),
12
+ 'post_ext' => "md",
13
+ 'theme_package_version' => "0.1.0"
14
+ }
15
+
16
+ # Path configuration helper
17
+ module JB
18
+ class Path
19
+ SOURCE = "."
20
+ Paths = {
21
+ :layouts => "_layouts",
22
+ :themes => "_includes/themes",
23
+ :theme_assets => "assets/themes",
24
+ :theme_packages => "_theme_packages",
25
+ :posts => "_posts"
26
+ }
27
+
28
+ def self.base
29
+ SOURCE
30
+ end
31
+
32
+ # build a path relative to configured path settings.
33
+ def self.build(path, opts = {})
34
+ opts[:root] ||= SOURCE
35
+ path = "#{opts[:root]}/#{Paths[path.to_sym]}/#{opts[:node]}".split("/")
36
+ path.compact!
37
+ File.__send__ :join, path
38
+ end
39
+
40
+ end #Path
41
+ end #JB
42
+
43
+ # Usage: rake post title="A Title" [date="2012-02-09"] [tags=[tag1, tag2]]
44
+ desc "Begin a new post in #{CONFIG['posts']}"
45
+ task :post do
46
+ abort("rake aborted: '#{CONFIG['posts']}' directory not found.") unless FileTest.directory?(CONFIG['posts'])
47
+ title = ENV["title"] || "new-post"
48
+ tags = ENV["tags"] || "[]"
49
+ slug = title.downcase.strip.gsub(' ', '-').gsub(/[^\w-]/, '')
50
+ begin
51
+ date = (ENV['date'] ? Time.parse(ENV['date']) : Time.now).strftime('%Y-%m-%d')
52
+ rescue => e
53
+ puts "Error - date format must be YYYY-MM-DD, please check you typed it correctly!"
54
+ exit -1
55
+ end
56
+ filename = File.join(CONFIG['posts'], "#{date}-#{slug}.#{CONFIG['post_ext']}")
57
+ if File.exist?(filename)
58
+ abort("rake aborted!") if ask("#{filename} already exists. Do you want to overwrite?", ['y', 'n']) == 'n'
59
+ end
60
+
61
+ puts "Creating new post: #{filename}"
62
+ open(filename, 'w') do |post|
63
+ post.puts "---"
64
+ post.puts "layout: post"
65
+ post.puts "title: \"#{title.gsub(/-/,' ')}\""
66
+ post.puts 'description: ""'
67
+ post.puts "category: "
68
+ post.puts "tags: []"
69
+ post.puts "---"
70
+ post.puts "{% include JB/setup %}"
71
+ end
72
+ end # task :post
73
+
74
+ # Usage: rake page name="about.html"
75
+ # You can also specify a sub-directory path.
76
+ # If you don't specify a file extention we create an index.html at the path specified
77
+ desc "Create a new page."
78
+ task :page do
79
+ name = ENV["name"] || "new-page.md"
80
+ filename = File.join(SOURCE, "#{name}")
81
+ filename = File.join(filename, "index.html") if File.extname(filename) == ""
82
+ title = File.basename(filename, File.extname(filename)).gsub(/[\W\_]/, " ").gsub(/\b\w/){$&.upcase}
83
+ if File.exist?(filename)
84
+ abort("rake aborted!") if ask("#{filename} already exists. Do you want to overwrite?", ['y', 'n']) == 'n'
85
+ end
86
+
87
+ mkdir_p File.dirname(filename)
88
+ puts "Creating new page: #{filename}"
89
+ open(filename, 'w') do |post|
90
+ post.puts "---"
91
+ post.puts "layout: page"
92
+ post.puts "title: \"#{title}\""
93
+ post.puts 'description: ""'
94
+ post.puts "---"
95
+ post.puts "{% include JB/setup %}"
96
+ end
97
+ end # task :page
98
+
99
+ desc "Launch preview environment"
100
+ task :preview do
101
+ system "jekyll --auto --server"
102
+ end # task :preview
103
+
104
+ # Public: Alias - Maintains backwards compatability for theme switching.
105
+ task :switch_theme => "theme:switch"
106
+
107
+ namespace :theme do
108
+
109
+ # Public: Switch from one theme to another for your blog.
110
+ #
111
+ # name - String, Required. name of the theme you want to switch to.
112
+ # The the theme must be installed into your JB framework.
113
+ #
114
+ # Examples
115
+ #
116
+ # rake theme:switch name="the-program"
117
+ #
118
+ # Returns Success/failure messages.
119
+ desc "Switch between Jekyll-bootstrap themes."
120
+ task :switch do
121
+ theme_name = ENV["name"].to_s
122
+ theme_path = File.join(CONFIG['themes'], theme_name)
123
+ settings_file = File.join(theme_path, "settings.yml")
124
+ non_layout_files = ["settings.yml"]
125
+
126
+ abort("rake aborted: name cannot be blank") if theme_name.empty?
127
+ abort("rake aborted: '#{theme_path}' directory not found.") unless FileTest.directory?(theme_path)
128
+ abort("rake aborted: '#{CONFIG['layouts']}' directory not found.") unless FileTest.directory?(CONFIG['layouts'])
129
+
130
+ Dir.glob("#{theme_path}/*") do |filename|
131
+ next if non_layout_files.include?(File.basename(filename).downcase)
132
+ puts "Generating '#{theme_name}' layout: #{File.basename(filename)}"
133
+
134
+ open(File.join(CONFIG['layouts'], File.basename(filename)), 'w') do |page|
135
+ if File.basename(filename, ".html").downcase == "default"
136
+ page.puts "---"
137
+ page.puts File.read(settings_file) if File.exist?(settings_file)
138
+ page.puts "---"
139
+ else
140
+ page.puts "---"
141
+ page.puts "layout: default"
142
+ page.puts "---"
143
+ end
144
+ page.puts "{% include JB/setup %}"
145
+ page.puts "{% include themes/#{theme_name}/#{File.basename(filename)} %}"
146
+ end
147
+ end
148
+
149
+ puts "=> Theme successfully switched!"
150
+ puts "=> Reload your web-page to check it out =)"
151
+ end # task :switch
152
+
153
+ # Public: Install a theme using the theme packager.
154
+ # Version 0.1.0 simple 1:1 file matching.
155
+ #
156
+ # git - String, Optional path to the git repository of the theme to be installed.
157
+ # name - String, Optional name of the theme you want to install.
158
+ # Passing name requires that the theme package already exist.
159
+ #
160
+ # Examples
161
+ #
162
+ # rake theme:install git="https://github.com/jekyllbootstrap/theme-twitter.git"
163
+ # rake theme:install name="cool-theme"
164
+ #
165
+ # Returns Success/failure messages.
166
+ desc "Install theme"
167
+ task :install do
168
+ if ENV["git"]
169
+ manifest = theme_from_git_url(ENV["git"])
170
+ name = manifest["name"]
171
+ else
172
+ name = ENV["name"].to_s.downcase
173
+ end
174
+
175
+ packaged_theme_path = JB::Path.build(:theme_packages, :node => name)
176
+
177
+ abort("rake aborted!
178
+ => ERROR: 'name' cannot be blank") if name.empty?
179
+ abort("rake aborted!
180
+ => ERROR: '#{packaged_theme_path}' directory not found.
181
+ => Installable themes can be added via git. You can find some here: http://github.com/jekyllbootstrap
182
+ => To download+install run: `rake theme:install git='[PUBLIC-CLONE-URL]'`
183
+ => example : rake theme:install git='git@github.com:jekyllbootstrap/theme-the-program.git'
184
+ ") unless FileTest.directory?(packaged_theme_path)
185
+
186
+ manifest = verify_manifest(packaged_theme_path)
187
+
188
+ # Get relative paths to packaged theme files
189
+ # Exclude directories as they'll be recursively created. Exclude meta-data files.
190
+ packaged_theme_files = []
191
+ FileUtils.cd(packaged_theme_path) {
192
+ Dir.glob("**/*.*") { |f|
193
+ next if ( FileTest.directory?(f) || f =~ /^(manifest|readme|packager)/i )
194
+ packaged_theme_files << f
195
+ }
196
+ }
197
+
198
+ # Mirror each file into the framework making sure to prompt if already exists.
199
+ packaged_theme_files.each do |filename|
200
+ file_install_path = File.join(JB::Path.base, filename)
201
+ if File.exist? file_install_path and ask("#{file_install_path} already exists. Do you want to overwrite?", ['y', 'n']) == 'n'
202
+ next
203
+ else
204
+ mkdir_p File.dirname(file_install_path)
205
+ cp_r File.join(packaged_theme_path, filename), file_install_path
206
+ end
207
+ end
208
+
209
+ puts "=> #{name} theme has been installed!"
210
+ puts "=> ---"
211
+ if ask("=> Want to switch themes now?", ['y', 'n']) == 'y'
212
+ system("rake switch_theme name='#{name}'")
213
+ end
214
+ end
215
+
216
+ # Public: Package a theme using the theme packager.
217
+ # The theme must be structured using valid JB API.
218
+ # In other words packaging is essentially the reverse of installing.
219
+ #
220
+ # name - String, Required name of the theme you want to package.
221
+ #
222
+ # Examples
223
+ #
224
+ # rake theme:package name="twitter"
225
+ #
226
+ # Returns Success/failure messages.
227
+ desc "Package theme"
228
+ task :package do
229
+ name = ENV["name"].to_s.downcase
230
+ theme_path = JB::Path.build(:themes, :node => name)
231
+ asset_path = JB::Path.build(:theme_assets, :node => name)
232
+
233
+ abort("rake aborted: name cannot be blank") if name.empty?
234
+ abort("rake aborted: '#{theme_path}' directory not found.") unless FileTest.directory?(theme_path)
235
+ abort("rake aborted: '#{asset_path}' directory not found.") unless FileTest.directory?(asset_path)
236
+
237
+ ## Mirror theme's template directory (_includes)
238
+ packaged_theme_path = JB::Path.build(:themes, :root => JB::Path.build(:theme_packages, :node => name))
239
+ mkdir_p packaged_theme_path
240
+ cp_r theme_path, packaged_theme_path
241
+
242
+ ## Mirror theme's asset directory
243
+ packaged_theme_assets_path = JB::Path.build(:theme_assets, :root => JB::Path.build(:theme_packages, :node => name))
244
+ mkdir_p packaged_theme_assets_path
245
+ cp_r asset_path, packaged_theme_assets_path
246
+
247
+ ## Log packager version
248
+ packager = {"packager" => {"version" => CONFIG["theme_package_version"].to_s } }
249
+ open(JB::Path.build(:theme_packages, :node => "#{name}/packager.yml"), "w") do |page|
250
+ page.puts packager.to_yaml
251
+ end
252
+
253
+ puts "=> '#{name}' theme is packaged and available at: #{JB::Path.build(:theme_packages, :node => name)}"
254
+ end
255
+
256
+ end # end namespace :theme
257
+
258
+ # Internal: Download and process a theme from a git url.
259
+ # Notice we don't know the name of the theme until we look it up in the manifest.
260
+ # So we'll have to change the folder name once we get the name.
261
+ #
262
+ # url - String, Required url to git repository.
263
+ #
264
+ # Returns theme manifest hash
265
+ def theme_from_git_url(url)
266
+ tmp_path = JB::Path.build(:theme_packages, :node => "_tmp")
267
+ abort("rake aborted: system call to git clone failed") if !system("git clone #{url} #{tmp_path}")
268
+ manifest = verify_manifest(tmp_path)
269
+ new_path = JB::Path.build(:theme_packages, :node => manifest["name"])
270
+ if File.exist?(new_path) && ask("=> #{new_path} theme package already exists. Override?", ['y', 'n']) == 'n'
271
+ remove_dir(tmp_path)
272
+ abort("rake aborted: '#{manifest["name"]}' already exists as theme package.")
273
+ end
274
+
275
+ remove_dir(new_path) if File.exist?(new_path)
276
+ mv(tmp_path, new_path)
277
+ manifest
278
+ end
279
+
280
+ # Internal: Process theme package manifest file.
281
+ #
282
+ # theme_path - String, Required. File path to theme package.
283
+ #
284
+ # Returns theme manifest hash
285
+ def verify_manifest(theme_path)
286
+ manifest_path = File.join(theme_path, "manifest.yml")
287
+ manifest_file = File.open( manifest_path )
288
+ abort("rake aborted: repo must contain valid manifest.yml") unless File.exist? manifest_file
289
+ manifest = YAML.load( manifest_file )
290
+ manifest_file.close
291
+ manifest
292
+ end
293
+
294
+ def ask(message, valid_options)
295
+ if valid_options
296
+ answer = get_stdin("#{message} #{valid_options.to_s.gsub(/"/, '').gsub(/, /,'/')} ") while !valid_options.include?(answer)
297
+ else
298
+ answer = get_stdin(message)
299
+ end
300
+ answer
301
+ end
302
+
303
+ def get_stdin(message)
304
+ print message
305
+ STDIN.gets.chomp
306
+ end
307
+
308
+ #Load custom rake scripts
309
+ Dir['_rake/*.rake'].each { |r| load r }
@@ -0,0 +1,131 @@
1
+ # This is the default format.
2
+ # For more see: https://github.com/mojombo/jekyll/wiki/Permalinks
3
+ permalink: /:categories/:year/:month/:day/:title
4
+
5
+ exclude: [".rvmrc", ".rbenv-version", "README.md", "Rakefile", "changelog.md"]
6
+ auto: true
7
+ pygments: true
8
+
9
+ # Themes are encouraged to use these universal variables
10
+ # so be sure to set them if your theme uses them.
11
+ #
12
+ title : Jekyll Bootstrap
13
+ tagline: Site Tagline
14
+ author :
15
+ name : Name Lastname
16
+ email : blah@email.test
17
+ github : username
18
+ twitter : username
19
+ feedburner : feedname
20
+
21
+ # The production_url is only used when full-domain names are needed
22
+ # such as sitemap.txt
23
+ # Most places will/should use BASE_PATH to make the urls
24
+ #
25
+ # If you have set a CNAME (pages.github.com) set your custom domain here.
26
+ # Else if you are pushing to username.github.io, replace with your username.
27
+ # Finally if you are pushing to a GitHub project page, include the project name at the end.
28
+ #
29
+ production_url : http://username.github.io
30
+
31
+ # All Jekyll-Bootstrap specific configurations are namespaced into this hash
32
+ #
33
+ JB :
34
+ version : 0.3.0
35
+
36
+ # All links will be namespaced by BASE_PATH if defined.
37
+ # Links in your website should always be prefixed with {{BASE_PATH}}
38
+ # however this value will be dynamically changed depending on your deployment situation.
39
+ #
40
+ # CNAME (http://yourcustomdomain.com)
41
+ # DO NOT SET BASE_PATH
42
+ # (urls will be prefixed with "/" and work relatively)
43
+ #
44
+ # GitHub Pages (http://username.github.io)
45
+ # DO NOT SET BASE_PATH
46
+ # (urls will be prefixed with "/" and work relatively)
47
+ #
48
+ # GitHub Project Pages (http://username.github.io/project-name)
49
+ #
50
+ # A GitHub Project site exists in the `gh-pages` branch of one of your repositories.
51
+ # REQUIRED! Set BASE_PATH to: http://username.github.io/project-name
52
+ #
53
+ # CAUTION:
54
+ # - When in Localhost, your site will run from root "/" regardless of BASE_PATH
55
+ # - Only the following values are falsy: ["", null, false]
56
+ # - When setting BASE_PATH it must be a valid url.
57
+ # This means always setting the protocol (http|https) or prefixing with "/"
58
+ BASE_PATH : false
59
+
60
+ # By default, the asset_path is automatically defined relative to BASE_PATH plus the enabled theme.
61
+ # ex: [BASE_PATH]/assets/themes/[THEME-NAME]
62
+ #
63
+ # Override this by defining an absolute path to assets here.
64
+ # ex:
65
+ # http://s3.amazonaws.com/yoursite/themes/watermelon
66
+ # /assets
67
+ #
68
+ ASSET_PATH : false
69
+
70
+ # These paths are to the main pages Jekyll-Bootstrap ships with.
71
+ # Some JB helpers refer to these paths; change them here if needed.
72
+ #
73
+ archive_path: /archive.html
74
+ categories_path : /categories.html
75
+ tags_path : /tags.html
76
+ atom_path : /atom.xml
77
+ rss_path : /rss.xml
78
+
79
+ # Settings for comments helper
80
+ # Set 'provider' to the comment provider you want to use.
81
+ # Set 'provider' to false to turn commenting off globally.
82
+ #
83
+ comments :
84
+ provider : disqus
85
+ disqus :
86
+ short_name : jekyllbootstrap
87
+ livefyre :
88
+ site_id : 123
89
+ intensedebate :
90
+ account : 123abc
91
+ facebook :
92
+ appid : 123
93
+ num_posts: 5
94
+ width: 580
95
+ colorscheme: light
96
+
97
+ # Settings for analytics helper
98
+ # Set 'provider' to the analytics provider you want to use.
99
+ # Set 'provider' to false to turn analytics off globally.
100
+ #
101
+ analytics :
102
+ provider : google
103
+ google :
104
+ tracking_id : 'UA-123-12'
105
+ getclicky :
106
+ site_id :
107
+ mixpanel :
108
+ token : '_MIXPANEL_TOKEN_'
109
+ piwik :
110
+ baseURL : 'myserver.tld/piwik' # Piwik installation address (without protocol)
111
+ idsite : '1' # the id of the site on Piwik
112
+
113
+ # Settings for sharing helper.
114
+ # Sharing is for things like tweet, plusone, like, reddit buttons etc.
115
+ # Set 'provider' to the sharing provider you want to use.
116
+ # Set 'provider' to false to turn sharing off globally.
117
+ #
118
+ sharing :
119
+ provider : false
120
+
121
+ # Settings for all other include helpers can be defined by creating
122
+ # a hash with key named for the given helper. ex:
123
+ #
124
+ # pages_list :
125
+ # provider : "custom"
126
+ #
127
+ # Setting any helper's provider to 'custom' will bypass the helper code
128
+ # and include your custom code. Your custom file must be defined at:
129
+ # ./_includes/custom/[HELPER]
130
+ # where [HELPER] is the name of the helper you are overriding.
131
+