locomotivecms_wagon 1.4.0 → 1.5.0.rc1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (352) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +3 -0
  3. data/Gemfile +6 -2
  4. data/README.md +7 -1
  5. data/bin/wagon +3 -0
  6. data/generators/blank/Gemfile.tt +1 -3
  7. data/generators/blank/config/site.yml.tt +3 -3
  8. data/generators/bootstrap/config/site.yml.tt +3 -3
  9. data/generators/bootstrap3/Gemfile.tt +1 -3
  10. data/generators/bootstrap3/app/views/pages/index.liquid +21 -63
  11. data/generators/bootstrap3/app/views/pages/index.liquid.haml +15 -57
  12. data/generators/bootstrap3/config/deploy.yml +15 -15
  13. data/generators/bootstrap3/config/site.yml.tt +2 -2
  14. data/generators/bootstrap3/icon.png +0 -0
  15. data/generators/bootstrap3/public/fonts/glyphicons-halflings-regular.eot +0 -0
  16. data/generators/bootstrap3/public/fonts/glyphicons-halflings-regular.svg +201 -200
  17. data/generators/bootstrap3/public/fonts/glyphicons-halflings-regular.ttf +0 -0
  18. data/generators/bootstrap3/public/fonts/glyphicons-halflings-regular.woff +0 -0
  19. data/generators/{bootstrap2/app/content_types → bootstrap3/public/images}/.empty_directory +0 -0
  20. data/generators/bootstrap3/public/javascripts/bootstrap/affix.js +137 -0
  21. data/generators/bootstrap3/public/javascripts/bootstrap/alert.js +88 -0
  22. data/generators/bootstrap3/public/javascripts/bootstrap/button.js +107 -0
  23. data/generators/bootstrap3/public/javascripts/bootstrap/carousel.js +205 -0
  24. data/generators/bootstrap3/public/javascripts/bootstrap/collapse.js +170 -0
  25. data/generators/bootstrap3/public/javascripts/bootstrap/dropdown.js +147 -0
  26. data/generators/bootstrap3/public/javascripts/bootstrap/modal.js +243 -0
  27. data/generators/bootstrap3/public/javascripts/bootstrap/popover.js +110 -0
  28. data/generators/bootstrap3/public/javascripts/bootstrap/scrollspy.js +153 -0
  29. data/generators/bootstrap3/public/javascripts/bootstrap/tab.js +125 -0
  30. data/generators/bootstrap3/public/javascripts/bootstrap/tooltip.js +399 -0
  31. data/generators/bootstrap3/public/javascripts/bootstrap/transition.js +48 -0
  32. data/generators/bootstrap3/public/javascripts/bootstrap.min.js +12 -6
  33. data/generators/bootstrap3/public/stylesheets/application.css +1 -0
  34. data/generators/bootstrap3/public/stylesheets/application.css.scss +8 -0
  35. data/generators/bootstrap3/public/stylesheets/bootstrap/_alerts.scss +67 -0
  36. data/generators/bootstrap3/public/stylesheets/bootstrap/_badges.scss +55 -0
  37. data/generators/bootstrap3/public/stylesheets/bootstrap/_breadcrumbs.scss +26 -0
  38. data/generators/bootstrap3/public/stylesheets/bootstrap/_button-groups.scss +226 -0
  39. data/generators/bootstrap3/public/stylesheets/bootstrap/_buttons.scss +159 -0
  40. data/generators/bootstrap3/public/stylesheets/bootstrap/_carousel.scss +232 -0
  41. data/generators/bootstrap3/public/stylesheets/bootstrap/_close.scss +35 -0
  42. data/generators/bootstrap3/public/stylesheets/bootstrap/_code.scss +63 -0
  43. data/generators/bootstrap3/public/stylesheets/bootstrap/_component-animations.scss +29 -0
  44. data/generators/bootstrap3/public/stylesheets/bootstrap/_dropdowns.scss +213 -0
  45. data/generators/bootstrap3/public/stylesheets/bootstrap/_forms.scss +436 -0
  46. data/generators/bootstrap3/public/stylesheets/bootstrap/_glyphicons.scss +233 -0
  47. data/generators/bootstrap3/public/stylesheets/bootstrap/_grid.scss +84 -0
  48. data/generators/bootstrap3/public/stylesheets/bootstrap/_input-groups.scss +162 -0
  49. data/generators/bootstrap3/public/stylesheets/bootstrap/_jumbotron.scss +44 -0
  50. data/generators/bootstrap3/public/stylesheets/bootstrap/_labels.scss +64 -0
  51. data/generators/bootstrap3/public/stylesheets/bootstrap/_list-group.scss +110 -0
  52. data/generators/bootstrap3/public/stylesheets/bootstrap/_media.scss +56 -0
  53. data/generators/bootstrap3/public/stylesheets/bootstrap/_mixins.scss +947 -0
  54. data/generators/bootstrap3/public/stylesheets/bootstrap/_modals.scss +139 -0
  55. data/generators/bootstrap3/public/stylesheets/bootstrap/_navbar.scss +620 -0
  56. data/generators/bootstrap3/public/stylesheets/bootstrap/_navs.scss +242 -0
  57. data/generators/bootstrap3/public/stylesheets/bootstrap/_normalize.scss +423 -0
  58. data/generators/bootstrap3/public/stylesheets/bootstrap/_pager.scss +55 -0
  59. data/generators/bootstrap3/public/stylesheets/bootstrap/_pagination.scss +88 -0
  60. data/generators/bootstrap3/public/stylesheets/bootstrap/_panels.scss +241 -0
  61. data/generators/bootstrap3/public/stylesheets/bootstrap/_popovers.scss +133 -0
  62. data/generators/bootstrap3/public/stylesheets/bootstrap/_print.scss +101 -0
  63. data/generators/bootstrap3/public/stylesheets/bootstrap/_progress-bars.scss +80 -0
  64. data/generators/bootstrap3/public/stylesheets/bootstrap/_responsive-utilities.scss +74 -0
  65. data/generators/bootstrap3/public/stylesheets/bootstrap/_scaffolding.scss +134 -0
  66. data/generators/bootstrap3/public/stylesheets/bootstrap/_tables.scss +233 -0
  67. data/generators/bootstrap3/public/stylesheets/bootstrap/_theme.scss +247 -0
  68. data/generators/bootstrap3/public/stylesheets/bootstrap/_thumbnails.scss +38 -0
  69. data/generators/bootstrap3/public/stylesheets/bootstrap/_tooltip.scss +95 -0
  70. data/generators/bootstrap3/public/stylesheets/bootstrap/_type.scss +284 -0
  71. data/generators/bootstrap3/public/stylesheets/bootstrap/_utilities.scss +56 -0
  72. data/generators/bootstrap3/public/stylesheets/bootstrap/_variables.scss +833 -0
  73. data/generators/bootstrap3/public/stylesheets/bootstrap/_wells.scss +29 -0
  74. data/generators/bootstrap3/public/stylesheets/bootstrap/bootstrap.css.scss +49 -0
  75. data/generators/bootstrap3/public/stylesheets/bootstrap.css +2035 -3056
  76. data/generators/bootstrap3/public/stylesheets/bootstrap.css.scss +49 -0
  77. data/generators/cloned/Gemfile.tt +1 -3
  78. data/generators/content_type/app/content_types/%slug%.yml.tt +57 -0
  79. data/generators/content_type/data/{%name%.yml.tt → %slug%.yml.tt} +2 -2
  80. data/generators/{bootstrap2 → foundation5}/Gemfile.tt +1 -3
  81. data/generators/{bootstrap2/data → foundation5/app/content_types}/.empty_directory +0 -0
  82. data/generators/{foundation → foundation5}/app/views/pages/404.liquid +1 -4
  83. data/generators/{foundation → foundation5}/app/views/pages/404.liquid.haml +1 -1
  84. data/generators/foundation5/app/views/pages/index.liquid +196 -0
  85. data/generators/foundation5/app/views/pages/index.liquid.haml +157 -0
  86. data/generators/foundation5/config/deploy.yml +15 -0
  87. data/generators/{bootstrap2 → foundation5}/config/site.yml.tt +3 -4
  88. data/generators/{bootstrap2 → foundation5}/config/translations.yml +0 -0
  89. data/generators/{bootstrap2 → foundation5}/config.ru +0 -0
  90. data/generators/{bootstrap2/public/samples → foundation5/data}/.empty_directory +0 -0
  91. data/generators/foundation5/favicon.ico +0 -0
  92. data/generators/foundation5/icon.png +0 -0
  93. data/generators/{foundation/app/content_types → foundation5/public/fonts}/.empty_directory +0 -0
  94. data/generators/{foundation/data → foundation5/public/images}/.empty_directory +0 -0
  95. data/generators/foundation5/public/javascripts/foundation/foundation.abide.js +299 -0
  96. data/generators/foundation5/public/javascripts/foundation/foundation.accordion.js +59 -0
  97. data/generators/foundation5/public/javascripts/foundation/foundation.alert.js +43 -0
  98. data/generators/foundation5/public/javascripts/foundation/foundation.clearing.js +534 -0
  99. data/generators/foundation5/public/javascripts/foundation/foundation.dropdown.js +311 -0
  100. data/generators/foundation5/public/javascripts/foundation/foundation.equalizer.js +74 -0
  101. data/generators/foundation5/public/javascripts/foundation/foundation.interchange.js +331 -0
  102. data/generators/foundation5/public/javascripts/foundation/foundation.joyride.js +843 -0
  103. data/generators/foundation5/public/javascripts/foundation/foundation.js +611 -0
  104. data/generators/foundation5/public/javascripts/foundation/foundation.magellan.js +178 -0
  105. data/generators/foundation5/public/javascripts/foundation/foundation.offcanvas.js +108 -0
  106. data/generators/foundation5/public/javascripts/foundation/foundation.orbit.js +610 -0
  107. data/generators/foundation5/public/javascripts/foundation/foundation.reveal.js +437 -0
  108. data/generators/foundation5/public/javascripts/foundation/foundation.slider.js +199 -0
  109. data/generators/foundation5/public/javascripts/foundation/foundation.tab.js +167 -0
  110. data/generators/foundation5/public/javascripts/foundation/foundation.tooltip.js +298 -0
  111. data/generators/foundation5/public/javascripts/foundation/foundation.topbar.js +425 -0
  112. data/generators/foundation5/public/javascripts/foundation.js +4161 -0
  113. data/generators/foundation5/public/javascripts/foundation.min.js +10 -0
  114. data/generators/{foundation → foundation5}/public/javascripts/vendor/custom.modernizr.js +0 -0
  115. data/generators/foundation5/public/javascripts/vendor/custom.modernizr.min.js +1 -0
  116. data/generators/foundation5/public/javascripts/vendor/fastclick.js +9 -0
  117. data/generators/foundation5/public/javascripts/vendor/fastclick.min.js +11 -0
  118. data/generators/foundation5/public/javascripts/vendor/jquery.autocomplete.js +645 -0
  119. data/generators/foundation5/public/javascripts/vendor/jquery.autocomplete.min.js +1 -0
  120. data/generators/foundation5/public/javascripts/vendor/jquery.cookie.js +8 -0
  121. data/generators/foundation5/public/javascripts/vendor/jquery.cookie.min.js +8 -0
  122. data/generators/foundation5/public/javascripts/vendor/jquery.js +26 -0
  123. data/generators/foundation5/public/javascripts/vendor/jquery.min.js +27 -0
  124. data/generators/foundation5/public/javascripts/vendor/modernizr.js +8 -0
  125. data/generators/foundation5/public/javascripts/vendor/modernizr.min.js +1 -0
  126. data/generators/foundation5/public/javascripts/vendor/placeholder.js +2 -0
  127. data/generators/foundation5/public/javascripts/vendor/placeholder.min.js +1 -0
  128. data/generators/{foundation/public/fonts → foundation5/public/samples}/.empty_directory +0 -0
  129. data/generators/foundation5/public/stylesheets/application.css +2 -0
  130. data/generators/foundation5/public/stylesheets/application.css.scss +3 -0
  131. data/generators/foundation5/public/stylesheets/foundation/_functions.scss +101 -0
  132. data/generators/foundation5/public/stylesheets/foundation/_settings.scss +1296 -0
  133. data/generators/foundation5/public/stylesheets/foundation/components/_accordion.scss +53 -0
  134. data/generators/foundation5/public/stylesheets/foundation/components/_alert-boxes.scss +126 -0
  135. data/generators/foundation5/public/stylesheets/foundation/components/_block-grid.scss +132 -0
  136. data/generators/foundation5/public/stylesheets/foundation/components/_breadcrumbs.scss +127 -0
  137. data/generators/foundation5/public/stylesheets/foundation/components/_button-groups.scss +108 -0
  138. data/generators/foundation5/public/stylesheets/foundation/components/_buttons.scss +222 -0
  139. data/generators/foundation5/public/stylesheets/foundation/components/_clearing.scss +247 -0
  140. data/generators/foundation5/public/stylesheets/foundation/components/_dropdown-buttons.scss +129 -0
  141. data/generators/foundation5/public/stylesheets/foundation/components/_dropdown.scss +248 -0
  142. data/generators/foundation5/public/stylesheets/foundation/components/_flex-video.scss +51 -0
  143. data/generators/foundation5/public/stylesheets/foundation/components/_forms.scss +498 -0
  144. data/generators/foundation5/public/stylesheets/foundation/components/_global.scss +434 -0
  145. data/generators/foundation5/public/stylesheets/foundation/components/_grid.scss +260 -0
  146. data/generators/foundation5/public/stylesheets/foundation/components/_inline-lists.scss +57 -0
  147. data/generators/foundation5/public/stylesheets/foundation/components/_joyride.scss +220 -0
  148. data/generators/foundation5/public/stylesheets/foundation/components/_keystrokes.scss +61 -0
  149. data/generators/foundation5/public/stylesheets/foundation/components/_labels.scss +104 -0
  150. data/generators/foundation5/public/stylesheets/foundation/components/_magellan.scss +34 -0
  151. data/generators/foundation5/public/stylesheets/foundation/components/_offcanvas.scss +356 -0
  152. data/generators/foundation5/public/stylesheets/foundation/components/_orbit.scss +423 -0
  153. data/generators/foundation5/public/stylesheets/foundation/components/_pagination.scss +150 -0
  154. data/generators/foundation5/public/stylesheets/foundation/components/_panels.scss +90 -0
  155. data/generators/foundation5/public/stylesheets/foundation/components/_pricing-tables.scss +150 -0
  156. data/generators/foundation5/public/stylesheets/foundation/components/_progress-bars.scss +79 -0
  157. data/generators/foundation5/public/stylesheets/foundation/components/_range-slider.scss +148 -0
  158. data/generators/foundation5/public/stylesheets/foundation/components/_reveal-new.scss +0 -0
  159. data/generators/foundation5/public/stylesheets/foundation/components/_reveal.scss +216 -0
  160. data/generators/foundation5/public/stylesheets/foundation/components/_side-nav.scss +115 -0
  161. data/generators/foundation5/public/stylesheets/foundation/components/_split-buttons.scss +191 -0
  162. data/generators/foundation5/public/stylesheets/foundation/components/_sub-nav.scss +125 -0
  163. data/generators/foundation5/public/stylesheets/foundation/components/_switch.scss +294 -0
  164. data/generators/foundation5/public/stylesheets/foundation/components/_tables.scss +129 -0
  165. data/generators/foundation5/public/stylesheets/foundation/components/_tabs.scss +109 -0
  166. data/generators/foundation5/public/stylesheets/foundation/components/_thumbs.scss +68 -0
  167. data/generators/foundation5/public/stylesheets/foundation/components/_tooltips.scss +140 -0
  168. data/generators/foundation5/public/stylesheets/foundation/components/_top-bar.scss +659 -0
  169. data/generators/foundation5/public/stylesheets/foundation/components/_type.scss +513 -0
  170. data/generators/foundation5/public/stylesheets/foundation/components/_visibility.scss +408 -0
  171. data/generators/foundation5/public/stylesheets/foundation.css +5398 -0
  172. data/generators/foundation5/public/stylesheets/foundation.css.scss +45 -0
  173. data/generators/foundation5/public/stylesheets/normalize.css +425 -0
  174. data/generators/foundation5/public/stylesheets/normalize.css.scss +425 -0
  175. data/generators/{foundation → line_case}/Gemfile.tt +1 -3
  176. data/generators/line_case/app/content_types/categories.yml +56 -0
  177. data/generators/line_case/app/content_types/emails.yml +35 -0
  178. data/generators/line_case/app/content_types/projects.yml +58 -0
  179. data/generators/{bootstrap2 → line_case}/app/views/pages/404.liquid.haml +3 -2
  180. data/generators/line_case/app/views/pages/email-registered.liquid.haml +13 -0
  181. data/generators/line_case/app/views/pages/index.liquid.haml +110 -0
  182. data/generators/line_case/app/views/pages/projects/content_type_template.liquid.haml +32 -0
  183. data/generators/line_case/app/views/snippets/newsletter_form.liquid.haml +14 -0
  184. data/generators/line_case/app/views/snippets/projects.liquid.haml +17 -0
  185. data/generators/line_case/app/views/snippets/social_links.liquid.haml +19 -0
  186. data/generators/line_case/config/deploy.yml +15 -0
  187. data/generators/{foundation → line_case}/config/site.yml.tt +3 -3
  188. data/generators/{foundation → line_case}/config/translations.yml +0 -0
  189. data/generators/{foundation → line_case}/config.ru +0 -0
  190. data/generators/line_case/data/categories.yml +8 -0
  191. data/generators/line_case/data/emails.yml +2 -0
  192. data/generators/line_case/data/projects.yml +39 -0
  193. data/generators/line_case/icon.png +0 -0
  194. data/generators/line_case/public/images/banner-header.png +0 -0
  195. data/generators/{foundation → line_case}/public/javascripts/foundation/foundation.abide.js +0 -0
  196. data/generators/{foundation → line_case}/public/javascripts/foundation/foundation.alerts.js +0 -0
  197. data/generators/{foundation → line_case}/public/javascripts/foundation/foundation.clearing.js +0 -0
  198. data/generators/{foundation → line_case}/public/javascripts/foundation/foundation.cookie.js +0 -0
  199. data/generators/{foundation → line_case}/public/javascripts/foundation/foundation.dropdown.js +0 -0
  200. data/generators/{foundation → line_case}/public/javascripts/foundation/foundation.forms.js +0 -0
  201. data/generators/{foundation → line_case}/public/javascripts/foundation/foundation.interchange.js +0 -0
  202. data/generators/{foundation → line_case}/public/javascripts/foundation/foundation.joyride.js +0 -0
  203. data/generators/{foundation → line_case}/public/javascripts/foundation/foundation.js +0 -0
  204. data/generators/{foundation → line_case}/public/javascripts/foundation/foundation.magellan.js +0 -0
  205. data/generators/{foundation → line_case}/public/javascripts/foundation/foundation.orbit.js +0 -0
  206. data/generators/{foundation → line_case}/public/javascripts/foundation/foundation.placeholder.js +0 -0
  207. data/generators/{foundation → line_case}/public/javascripts/foundation/foundation.reveal.js +0 -0
  208. data/generators/{foundation → line_case}/public/javascripts/foundation/foundation.section.js +0 -0
  209. data/generators/{foundation → line_case}/public/javascripts/foundation/foundation.tooltips.js +0 -0
  210. data/generators/{foundation → line_case}/public/javascripts/foundation/foundation.topbar.js +0 -0
  211. data/generators/{foundation → line_case}/public/javascripts/foundation.min.js +0 -0
  212. data/generators/line_case/public/javascripts/vendor/custom.modernizr.js +4 -0
  213. data/generators/{foundation → line_case}/public/javascripts/vendor/jquery.js +0 -0
  214. data/generators/{foundation → line_case}/public/javascripts/vendor/zepto.js +0 -0
  215. data/generators/line_case/public/samples/projects/sample.jpeg +0 -0
  216. data/generators/line_case/public/samples/projects/sample2.jpeg +0 -0
  217. data/generators/line_case/public/samples/projects/sample3.jpeg +0 -0
  218. data/generators/line_case/public/samples/projects/sample4.jpeg +0 -0
  219. data/generators/line_case/public/samples/projects/sample5.jpeg +0 -0
  220. data/generators/line_case/public/samples/projects/sample6.jpeg +0 -0
  221. data/generators/line_case/public/samples/projects/sample7.jpeg +0 -0
  222. data/generators/line_case/public/samples/projects/sample8.jpeg +0 -0
  223. data/generators/line_case/public/stylesheets/_variables.css.sass +20 -0
  224. data/generators/line_case/public/stylesheets/foundation/_variables.scss +1290 -0
  225. data/generators/line_case/public/stylesheets/foundation/components/_alert-boxes.scss +107 -0
  226. data/generators/line_case/public/stylesheets/foundation/components/_block-grid.scss +71 -0
  227. data/generators/line_case/public/stylesheets/foundation/components/_breadcrumbs.scss +124 -0
  228. data/generators/line_case/public/stylesheets/foundation/components/_button-groups.scss +89 -0
  229. data/generators/line_case/public/stylesheets/foundation/components/_buttons.scss +230 -0
  230. data/generators/line_case/public/stylesheets/foundation/components/_clearing.scss +227 -0
  231. data/generators/line_case/public/stylesheets/foundation/components/_custom-forms.scss +278 -0
  232. data/generators/line_case/public/stylesheets/foundation/components/_dropdown-buttons.scss +115 -0
  233. data/generators/line_case/public/stylesheets/foundation/components/_dropdown.scss +151 -0
  234. data/generators/line_case/public/stylesheets/foundation/components/_flex-video.scss +46 -0
  235. data/generators/line_case/public/stylesheets/foundation/components/_forms.scss +411 -0
  236. data/generators/line_case/public/stylesheets/foundation/components/_global.scss +366 -0
  237. data/generators/line_case/public/stylesheets/foundation/components/_grid-5.scss +214 -0
  238. data/generators/line_case/public/stylesheets/foundation/components/_grid.scss +188 -0
  239. data/generators/line_case/public/stylesheets/foundation/components/_inline-lists.scss +53 -0
  240. data/generators/line_case/public/stylesheets/foundation/components/_joyride.scss +217 -0
  241. data/generators/line_case/public/stylesheets/foundation/components/_keystrokes.scss +57 -0
  242. data/generators/line_case/public/stylesheets/foundation/components/_labels.scss +85 -0
  243. data/generators/line_case/public/stylesheets/foundation/components/_magellan.scss +23 -0
  244. data/generators/line_case/public/stylesheets/foundation/components/_orbit.scss +340 -0
  245. data/generators/line_case/public/stylesheets/foundation/components/_pagination.scss +140 -0
  246. data/generators/line_case/public/stylesheets/foundation/components/_panels.scss +83 -0
  247. data/generators/line_case/public/stylesheets/foundation/components/_pricing-tables.scss +131 -0
  248. data/generators/line_case/public/stylesheets/foundation/components/_progress-bars.scss +71 -0
  249. data/generators/line_case/public/stylesheets/foundation/components/_reveal.scss +136 -0
  250. data/generators/line_case/public/stylesheets/foundation/components/_section.scss +391 -0
  251. data/generators/line_case/public/stylesheets/foundation/components/_side-nav.scss +69 -0
  252. data/generators/line_case/public/stylesheets/foundation/components/_split-buttons.scss +167 -0
  253. data/generators/line_case/public/stylesheets/foundation/components/_sub-nav.scss +84 -0
  254. data/generators/line_case/public/stylesheets/foundation/components/_switch.scss +266 -0
  255. data/generators/line_case/public/stylesheets/foundation/components/_tables.scss +84 -0
  256. data/generators/line_case/public/stylesheets/foundation/components/_thumbs.scss +53 -0
  257. data/generators/line_case/public/stylesheets/foundation/components/_tooltips.scss +117 -0
  258. data/generators/line_case/public/stylesheets/foundation/components/_top-bar.scss +576 -0
  259. data/generators/line_case/public/stylesheets/foundation/components/_type.scss +435 -0
  260. data/generators/line_case/public/stylesheets/foundation/components/_visibility.scss +322 -0
  261. data/generators/line_case/public/stylesheets/foundation.css.scss +43 -0
  262. data/generators/{foundation → line_case}/public/stylesheets/foundation.min.css +0 -0
  263. data/generators/{foundation/public/stylesheets/normalize.css → line_case/public/stylesheets/normalize.css.scss} +5 -5
  264. data/generators/line_case/public/stylesheets/pages.css.sass +163 -0
  265. data/generators/page/template.liquid.haml.tt +8 -5
  266. data/generators/page/template.liquid.tt +6 -2
  267. data/lib/locomotive/wagon/cli.rb +139 -43
  268. data/lib/locomotive/wagon/generators/content_type.rb +26 -10
  269. data/lib/locomotive/wagon/generators/page.rb +41 -25
  270. data/lib/locomotive/wagon/generators/site/base.rb +53 -0
  271. data/lib/locomotive/wagon/generators/site/blank.rb +9 -2
  272. data/lib/locomotive/wagon/generators/site/bootstrap2.rb +8 -2
  273. data/lib/locomotive/wagon/generators/site/bootstrap3.rb +20 -2
  274. data/lib/locomotive/wagon/generators/site/cloned.rb +4 -0
  275. data/lib/locomotive/wagon/generators/site/{foundation.rb → foundation4.rb} +10 -4
  276. data/lib/locomotive/wagon/generators/site/foundation5.rb +48 -0
  277. data/lib/locomotive/wagon/generators/site/line_case.rb +20 -0
  278. data/lib/locomotive/wagon/generators/site/unzip.rb +10 -2
  279. data/lib/locomotive/wagon/generators/site.rb +48 -2
  280. data/lib/locomotive/wagon/generators/snippet.rb +2 -1
  281. data/lib/locomotive/wagon/liquid/drops/content_types.rb +9 -3
  282. data/lib/locomotive/wagon/liquid/drops/page.rb +9 -1
  283. data/lib/locomotive/wagon/liquid/scopeable.rb +1 -1
  284. data/lib/locomotive/wagon/liquid/tags/fetch_page.rb +41 -0
  285. data/lib/locomotive/wagon/liquid/tags/model_form.rb +67 -0
  286. data/lib/locomotive/wagon/liquid/tags/path_helper.rb +2 -2
  287. data/lib/locomotive/wagon/liquid/tags/with_scope.rb +1 -1
  288. data/lib/locomotive/wagon/listen.rb +18 -10
  289. data/lib/locomotive/wagon/logger.rb +4 -0
  290. data/lib/locomotive/wagon/misc/core_ext.rb +8 -0
  291. data/lib/locomotive/wagon/misc/deployment_connection.rb +120 -0
  292. data/lib/locomotive/wagon/misc/hosting_api.rb +115 -0
  293. data/lib/locomotive/wagon/misc/httparty.rb +2 -0
  294. data/lib/locomotive/wagon/misc/livereload.rb +43 -0
  295. data/lib/locomotive/wagon/misc/mounter.rb +1 -1
  296. data/lib/locomotive/wagon/misc/tcp_port.rb +42 -0
  297. data/lib/locomotive/wagon/misc/thor.rb +15 -0
  298. data/lib/locomotive/wagon/server/entry_submission.rb +69 -38
  299. data/lib/locomotive/wagon/server/middleware.rb +4 -2
  300. data/lib/locomotive/wagon/server/page.rb +2 -2
  301. data/lib/locomotive/wagon/server.rb +11 -7
  302. data/lib/locomotive/wagon/version.rb +1 -1
  303. data/lib/locomotive/wagon.rb +141 -30
  304. data/locomotivecms_wagon.gemspec +7 -6
  305. data/spec/fixtures/default/app/content_types/bands.yml +3 -1
  306. data/spec/fixtures/default/app/views/pages/all.liquid.haml +3 -0
  307. data/spec/fixtures/default/app/views/pages/events.liquid.haml +21 -0
  308. data/spec/fixtures/default/app/views/pages/filtered.liquid.haml +11 -1
  309. data/spec/fixtures/default/app/views/pages/index.liquid.haml +1 -1
  310. data/spec/fixtures/default/data/bands.yml +3 -0
  311. data/spec/integration/server/basic_spec.rb +1 -0
  312. data/spec/integration/server/contact_form_spec.rb +1 -1
  313. data/spec/integration/server/liquid_spec.rb +8 -1
  314. data/spec/integration/server/new_contact_form_spec.rb +67 -0
  315. data/spec/integration/server/with_scope_spec.rb +10 -0
  316. data/spec/spec_helper.rb +3 -0
  317. metadata +339 -144
  318. data/generators/bootstrap2/app/views/pages/404.liquid +0 -13
  319. data/generators/bootstrap2/app/views/pages/index.liquid +0 -98
  320. data/generators/bootstrap2/app/views/pages/index.liquid.haml +0 -80
  321. data/generators/bootstrap2/app/views/snippets/footer.liquid +0 -3
  322. data/generators/bootstrap2/app/views/snippets/footer.liquid.haml +0 -2
  323. data/generators/bootstrap2/config/deploy.yml +0 -15
  324. data/generators/bootstrap2/public/fonts/FontAwesome.otf +0 -0
  325. data/generators/bootstrap2/public/fonts/fontawesome-webfont.eot +0 -0
  326. data/generators/bootstrap2/public/fonts/fontawesome-webfont.svg +0 -399
  327. data/generators/bootstrap2/public/fonts/fontawesome-webfont.ttf +0 -0
  328. data/generators/bootstrap2/public/fonts/fontawesome-webfont.woff +0 -0
  329. data/generators/bootstrap2/public/javascripts/bootstrap.js +0 -2280
  330. data/generators/bootstrap2/public/javascripts/bootstrap.min.js +0 -6
  331. data/generators/bootstrap2/public/stylesheets/application.css.scss +0 -39
  332. data/generators/bootstrap2/public/stylesheets/bootstrap-responsive.css +0 -1109
  333. data/generators/bootstrap2/public/stylesheets/bootstrap-responsive.min.css +0 -9
  334. data/generators/bootstrap2/public/stylesheets/bootstrap.css +0 -5568
  335. data/generators/bootstrap2/public/stylesheets/bootstrap.min.css +0 -9
  336. data/generators/bootstrap2/public/stylesheets/fonts/awesome.css.scss +0 -3
  337. data/generators/bootstrap2/public/stylesheets/fonts/font-awesome-ie7.css +0 -1203
  338. data/generators/bootstrap2/public/stylesheets/fonts/font-awesome-ie7.min.css +0 -384
  339. data/generators/bootstrap2/public/stylesheets/fonts/font-awesome.css +0 -1470
  340. data/generators/bootstrap2/public/stylesheets/fonts/font-awesome.min.css +0 -403
  341. data/generators/bootstrap3/public/javascripts/bootstrap.js +0 -1999
  342. data/generators/bootstrap3/public/stylesheets/bootstrap-theme.css +0 -384
  343. data/generators/bootstrap3/public/stylesheets/bootstrap-theme.min.css +0 -1
  344. data/generators/bootstrap3/public/stylesheets/bootstrap.min.css +0 -9
  345. data/generators/content_type/app/content_types/%name%.yml.tt +0 -58
  346. data/generators/foundation/app/views/pages/index.liquid +0 -150
  347. data/generators/foundation/app/views/pages/index.liquid.haml +0 -125
  348. data/generators/foundation/app/views/snippets/footer.liquid +0 -16
  349. data/generators/foundation/app/views/snippets/footer.liquid.haml +0 -22
  350. data/generators/foundation/config/deploy.yml +0 -15
  351. data/generators/foundation/public/samples/.empty_directory +0 -1
  352. data/generators/foundation/public/stylesheets/foundation.css +0 -4727
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 610ad2611728515e34b9dc0aa880d165cbd4f439
4
- data.tar.gz: b0ea22caa1d340f66625d33f62557014c75e8d15
3
+ metadata.gz: e7d570dba66f67cbb039827e8662d437905ef855
4
+ data.tar.gz: fd86e0b2507280c1046bad99a730916b199c1b33
5
5
  SHA512:
6
- metadata.gz: 473b0954c4a345d62cf62bce29cff96383d9f4efad845a800fcc8dac01855b9996c89412008f1887661b5761bf1a4469535343035e34aded158b0227332824bb
7
- data.tar.gz: aed80677e2a937b2c9deced219aa1ef277f2cf5ce1f1b175a31d7f8a44a4b8c49af0a9c7d4867e44ad90fd11fe453877b565759608aef9a662a574d22efacc1d
6
+ metadata.gz: 7debdfefd1c0e609f8c022970d7725e436248e53d67196bdf3427b64d223dc1bd600665d30b1d5acb43a3407e7c3ad1a864df08d6657f7a071beb6d1f1e1857e
7
+ data.tar.gz: 852a9e0f2405d4e51509ff154da6694b84e662824d95768411f3b98f2b842568621444c62848fbc2b2674d1666c4273cfcb23ccb309e47cc137321b6f79e5f50
data/.travis.yml ADDED
@@ -0,0 +1,3 @@
1
+ language: ruby
2
+ rvm:
3
+ - 2.1.1
data/Gemfile CHANGED
@@ -7,7 +7,11 @@ gemspec
7
7
  # gem 'locomotivecms-liquid', path: '../gems/liquid', require: false
8
8
  # gem 'locomotivecms-solid', path: '../gems/solid', require: false
9
9
  # gem 'locomotivecms_mounter', path: '../gems/mounter', require: false
10
- # gem 'locomotivecms_mounter', github: 'locomotivecms/mounter', ref: '34d24feeb8', require: false
10
+ # gem 'locomotivecms_mounter', github: 'locomotivecms/mounter', ref: '6025c4a', require: false
11
11
 
12
+ gem 'rb-fsevent', '~> 0.9.1'
12
13
 
13
- gem 'rb-fsevent', '~> 0.9.1'
14
+ group :test do
15
+ gem 'pry'
16
+ gem 'coveralls', require: false
17
+ end
data/README.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # LocomotiveCMS::Wagon
2
2
 
3
+ [![Gem Version](https://badge.fury.io/rb/locomotivecms_wagon.svg)](http://badge.fury.io/rb/locomotivecms_wagon)
4
+ [![Code Climate](https://codeclimate.com/github/locomotivecms/wagon.png)](https://codeclimate.com/github/locomotivecms/wagon)
5
+ [![Dependency Status](https://gemnasium.com/locomotivecms/wagon.png)](https://gemnasium.com/locomotivecms/wagon)
6
+ [![Build Status](https://travis-ci.org/locomotivecms/wagon.svg?branch=master)](https://travis-ci.org/locomotivecms/wagon)
7
+ [![Coverage Status](https://coveralls.io/repos/locomotivecms/wagon/badge.png)](https://coveralls.io/r/locomotivecms/wagon)
8
+
3
9
  Wagon is the official site generator for the LocomotiveCMS engine powered by all the efficient and modern HTML development tools (Haml, SASS, Compass, Less).
4
10
 
5
11
  ## Documentation
@@ -31,7 +37,7 @@ Please, visit the documentation website of LocomotiveCMS.
31
37
 
32
38
  #### Run the server with a default site
33
39
 
34
- $ bundle exec bin/wagon server <path to the mounter gem>/spec/fixtures/default
40
+ $ bundle exec bin/wagon serve <path to the mounter gem>/spec/fixtures/default
35
41
 
36
42
  #### Push a site
37
43
 
data/bin/wagon CHANGED
@@ -2,6 +2,9 @@
2
2
 
3
3
  # needed if you launch it without bundler
4
4
  $:.unshift(File.expand_path(File.dirname(__FILE__) + '/../lib'))
5
+ $:.unshift(File.expand_path(File.dirname(__FILE__) + '/../vendor'))
6
+
7
+ $stdout.sync = true
5
8
 
6
9
  require 'locomotive/wagon'
7
10
  require 'locomotive/wagon/cli'
@@ -1,7 +1,5 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
- # ruby '1.9.3'
4
-
5
3
  gem 'locomotivecms_wagon', '<%= config[:version] -%>'
6
4
 
7
5
  group :development do
@@ -9,7 +7,7 @@ group :development do
9
7
  gem 'rb-fsevent', '~> 0.9.1', require: RUBY_PLATFORM.include?('darwin') && 'rb-fsevent'
10
8
 
11
9
  # Unix
12
- gem 'therubyracer', require: 'v8', platforms: :ruby
10
+ gem 'therubyracer', require: 'v8', platforms: :ruby unless RUBY_PLATFORM.include?('darwin')
13
11
  gem 'rb-inotify', '~> 0.9', require: RUBY_PLATFORM.include?('linux') && 'rb-inotify'
14
12
 
15
13
  # Windows
@@ -1,12 +1,12 @@
1
1
  # The name of this site
2
- # This text displays in the back-office and
2
+ # This text displays in the back-office and
3
3
  # can be used in templates through the site.name global variable
4
- name: <%= config[:name] %>
4
+ name: "<%= config[:name] %>"
5
5
 
6
6
  # The site's subdomain
7
7
  # This option is for sites on multi-site engines
8
8
  # The value determines where the site can be accessed under the engine's primary domain
9
- # subdomain: sample
9
+ subdomain: <%= config[:name].parameterize %>
10
10
 
11
11
  # An array of domain aliases for the site
12
12
  # This option is for sites on multi-site engines
@@ -1,12 +1,12 @@
1
1
  # The name of this site
2
- # This text displays in the back-office and
2
+ # This text displays in the back-office and
3
3
  # can be used in templates through the site.name global variable
4
- name: <%= config[:name] %>
4
+ name: "<%= config[:name] %>"
5
5
 
6
6
  # The site's subdomain
7
7
  # This option is for sites on multi-site engines
8
8
  # The value determines where the site can be accessed under the engine's primary domain
9
- # subdomain: sample
9
+ subdomain: <%= config[:name].parameterize %>
10
10
 
11
11
  # An array of domain aliases for the site
12
12
  # This option is for sites on multi-site engines
@@ -1,7 +1,5 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
- # ruby '1.9.3'
4
-
5
3
  gem 'locomotivecms_wagon', '<%= config[:version] -%>'
6
4
 
7
5
  group :development do
@@ -9,7 +7,7 @@ group :development do
9
7
  gem 'rb-fsevent', '~> 0.9.1', require: RUBY_PLATFORM.include?('darwin') && 'rb-fsevent'
10
8
 
11
9
  # Unix
12
- gem 'therubyracer', require: 'v8', platforms: :ruby
10
+ gem 'therubyracer', require: 'v8', platforms: :ruby unless RUBY_PLATFORM.include?('darwin')
13
11
  gem 'rb-inotify', '~> 0.9', require: RUBY_PLATFORM.include?('linux') && 'rb-inotify'
14
12
 
15
13
  # Windows
@@ -5,13 +5,13 @@ published: true
5
5
  <!DOCTYPE html>
6
6
  <html lang="en">
7
7
  <head>
8
- <meta http-equiv="content-type" content="text/html; charset=UTF-8">
8
+ <meta http-equiv="content-type" content="text/html; charset=UTF-8">
9
9
  <meta charset="utf-8">
10
- <title>Bootply.com - Bootstrap 3 Template</title>
11
- <meta name="generator" content="Bootply" />
10
+ <title>{{ site.name }}</title>
12
11
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
13
- {{ 'bootstrap.css' | stylesheet_tag }}
14
- {{ 'bootstrap-glyphicons.css' | stylesheet_tag }}
12
+
13
+ {{ 'application.css' | stylesheet_tag }}
14
+
15
15
  <!--[if lt IE 9]>
16
16
  <script src="//html5shim.googlecode.com/svn/trunk/html5.js"></script>
17
17
  <![endif]-->
@@ -20,55 +20,13 @@ published: true
20
20
  <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/samples/apple-touch-icon-114x114-precomposed.png">
21
21
  <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/samples/apple-touch-icon-72x72-precomposed.png">
22
22
  <link rel="apple-touch-icon-precomposed" href="/samples/apple-touch-icon-precomposed.png">
23
- <!-- CSS code from Bootply.com editor -->
24
- <style type="text/css">
25
- @media screen and (min-width: 992px) {
26
- .the-icons li {
27
- width: 12.5%;
28
- }
29
- }
30
- .the-buttons > li {
31
- float: left;
32
- height: 80px;
33
- padding: 10px;
34
- border: 1px solid #ddd;
35
- font-size: 12px;
36
- line-height: 1.25;
37
- text-align: center;
38
- -webkit-box-sizing: border-box;
39
- -moz-box-sizing: border-box;
40
- box-sizing: border-box;
41
- margin: 0 -1px -1px 0;
42
- }
43
- .the-icons .glyphicon {
44
- display: block;
45
- margin: 5px auto;
46
- vertical-align: middle;
47
- margin-right: 3px;
48
- font-size: 24px;
49
- }
50
- .the-icons li {
51
- float: left;
52
- width: 100px;
53
- height: 110px;
54
- padding: 10px;
55
- border: 1px solid #ddd;
56
- font-size: 12px;
57
- line-height: 1.25;
58
- text-align: center;
59
- -webkit-box-sizing: border-box;
60
- -moz-box-sizing: border-box;
61
- box-sizing: border-box;
62
- margin: 0 -1px -1px 0;
63
- }
64
- .the-icons, .the-buttons {
65
- list-style:none;
66
- }
67
- </style>
23
+
24
+ {% inline_editor %}
25
+
68
26
  </head>
69
- <body>
27
+ <body>
70
28
  <div class="container">
71
- <h1>Bootstrap 3 Template</h1>
29
+ <h1>{{ page.title }}</h1>
72
30
  <p class="lead">A Full Featured Example</p>
73
31
 
74
32
  <!-- Typography
@@ -196,10 +154,10 @@ published: true
196
154
  <div class="row">
197
155
  <div class="col-lg-9 col-sm-6"><div class="well">col-lg-9 / col-sm-6</div></div>
198
156
  <div class="col-lg-3 col-sm-6"><div class="well">col-lg-3 / col-sm-6</div></div>
199
- </div>
157
+ </div>
200
158
  </div>
201
159
  </section>
202
-
160
+
203
161
  <!-- Bootstrap 3 Buttons
204
162
  ================================================== -->
205
163
  <section id="buttons">
@@ -209,7 +167,7 @@ published: true
209
167
  </div>
210
168
  <h2>Button Sizes (4)</h2>
211
169
  <ul class="the-buttons clearfix">
212
- <li><a class="btn btn-xs btn-primary" href="#">btn-xs</a></li>
170
+ <li><a class="btn btn-xs btn-primary" href="#">btn-xs</a></li>
213
171
  <li><a class="btn btn-sm btn-primary" href="#">btn-sm</a></li>
214
172
  <li><a class="btn btn-primary" href="#">btn</a></li>
215
173
  <li><a class="btn btn-lg btn-primary" href="#">btn-lg</a></li>
@@ -223,7 +181,7 @@ published: true
223
181
  <li><a class="btn btn-warning" href="#">Warning</a></li>
224
182
  <li><a class="btn btn-danger" href="#">Danger</a></li>
225
183
  <li><a class="btn btn-primary disabled" href="#">Disabled</a></li>
226
- <li><a class="btn btn-link" href="#">Link</a></li>
184
+ <li><a class="btn btn-link" href="#">Link</a></li>
227
185
  <li>
228
186
  <!-- Single button -->
229
187
  <div class="btn-group">
@@ -415,7 +373,7 @@ published: true
415
373
  </ul>
416
374
  </div>
417
375
  </section>
418
-
376
+
419
377
  <!-- Forms
420
378
  ================================================== -->
421
379
  <section id="forms">
@@ -689,7 +647,7 @@ published: true
689
647
  </div>
690
648
  </div>
691
649
  <br>
692
-
650
+
693
651
  <!-- Panel & ListGroups
694
652
  ================================================== -->
695
653
  <hr>
@@ -748,20 +706,20 @@ published: true
748
706
  </div>
749
707
  </div>
750
708
  </div>
751
-
709
+
752
710
  <!-- Well Sizes
753
711
  ================================================== -->
754
712
  <hr>
755
713
  <h2>Well Sizes</h2>
756
714
  <div class="row">
757
715
  <div class="col-lg-12">
758
- <div class="well well-sm">
716
+ <div class="well well-sm">
759
717
  .well-sm
760
- </div>
761
- <div class="well">
718
+ </div>
719
+ <div class="well">
762
720
  .well
763
721
  </div>
764
- <div class="well well-lg">
722
+ <div class="well well-lg">
765
723
  .well-lg
766
724
  </div>
767
725
  </div>
@@ -7,66 +7,24 @@ published: true
7
7
  %head
8
8
  %meta{content: "text/html; charset=UTF-8", "http-equiv" => "content-type"}/
9
9
  %meta{charset: "utf-8"}/
10
- %title Bootply.com - Bootstrap 3 Template
11
- %meta{content: "Bootply", name: "generator"}/
10
+ %title {{ site.name }}
12
11
  %meta{content: "width=device-width, initial-scale=1, maximum-scale=1", name: "viewport"}/
13
- %body
14
- %p
15
- {{ 'bootstrap.css' | stylesheet_tag }}
16
- /[if lt IE 9]
17
- <script src="//html5shim.googlecode.com/svn/trunk/html5.js"></script>
18
- %link{rel: "shortcut icon", href: "/samples/favicon.png"}/
19
- %link{rel: "apple-touch-icon-precomposed", sizes: "144x144", href: "/samples/apple-touch-icon-144x144-precomposed.png"}/
20
- %link{rel: "apple-touch-icon-precomposed", sizes: "114x114", href: "/samples/apple-touch-icon-114x114-precomposed.png"}/
21
- %link{rel: "apple-touch-icon-precomposed", sizes: "72x72", href: "/samples/apple-touch-icon-72x72-precomposed.png"}/
22
- %link{rel: "apple-touch-icon-precomposed", href: "/samples/apple-touch-icon-precomposed.png"}/
23
12
 
24
- / CSS code from Bootply.com editor
25
- :css
26
- @media screen and (min-width: 992px) {
27
- .the-icons li {
28
- width: 12.5%;
29
- }
30
- }
31
- .the-buttons > li {
32
- float: left;
33
- height: 80px;
34
- padding: 10px;
35
- border: 1px solid #ddd;
36
- font-size: 12px;
37
- line-height: 1.25;
38
- text-align: center;
39
- -webkit-box-sizing: border-box;
40
- -moz-box-sizing: border-box;
41
- box-sizing: border-box;
42
- margin: 0 -1px -1px 0;
43
- }
44
- .the-icons .glyphicon {
45
- display: block;
46
- margin: 5px auto;
47
- vertical-align: middle;
48
- margin-right: 3px;
49
- font-size: 24px;
50
- }
51
- .the-icons li {
52
- float: left;
53
- width: 100px;
54
- height: 110px;
55
- padding: 10px;
56
- border: 1px solid #ddd;
57
- font-size: 12px;
58
- line-height: 1.25;
59
- text-align: center;
60
- -webkit-box-sizing: border-box;
61
- -moz-box-sizing: border-box;
62
- box-sizing: border-box;
63
- margin: 0 -1px -1px 0;
64
- }
65
- .the-icons, .the-buttons {
66
- list-style:none;
67
- }
13
+ {{ 'application.css' | stylesheet_tag }}
14
+
15
+ /[if lt IE 9]
16
+ <script src="//html5shim.googlecode.com/svn/trunk/html5.js"></script>
17
+ %link{rel: "shortcut icon", href: "/samples/favicon.png"}/
18
+ %link{rel: "apple-touch-icon-precomposed", sizes: "144x144", href: "/samples/apple-touch-icon-144x144-precomposed.png"}/
19
+ %link{rel: "apple-touch-icon-precomposed", sizes: "114x114", href: "/samples/apple-touch-icon-114x114-precomposed.png"}/
20
+ %link{rel: "apple-touch-icon-precomposed", sizes: "72x72", href: "/samples/apple-touch-icon-72x72-precomposed.png"}/
21
+ %link{rel: "apple-touch-icon-precomposed", href: "/samples/apple-touch-icon-precomposed.png"}/
22
+
23
+ {% inline_editor %}
24
+
25
+ %body
68
26
  .container
69
- %h1 Bootstrap 3 Template
27
+ %h1 {{ page.title }}
70
28
  %p.lead A Full Featured Example
71
29
  /
72
30
  Typography
@@ -1,15 +1,15 @@
1
- development:
2
- host: dev.example.com
3
- email: john@doe.net
4
- password: apassword
5
- # api_key: <your api key here>
6
- staging:
7
- host: staging.example.com
8
- email: john@doe.net
9
- password: apassword
10
- # api_key: <your api key here>
11
- production:
12
- host: www.example.com
13
- email: john@doe.net
14
- password: apassword
15
- # api_key: <your api key here>
1
+ # development:
2
+ # host: dev.example.com
3
+ # email: john@doe.net
4
+ # password: apassword
5
+ # # api_key: <your api key here>
6
+ # staging:
7
+ # host: staging.example.com
8
+ # email: john@doe.net
9
+ # password: apassword
10
+ # # api_key: <your api key here>
11
+ # production:
12
+ # host: www.example.com
13
+ # email: john@doe.net
14
+ # password: apassword
15
+ # # api_key: <your api key here>
@@ -1,12 +1,12 @@
1
1
  # The name of this site
2
2
  # This text displays in the back-office and
3
3
  # can be used in templates through the site.name global variable
4
- name: <%= config[:name] %>
4
+ name: "<%= config[:name] %>"
5
5
 
6
6
  # The site's subdomain
7
7
  # This option is for sites on multi-site engines
8
8
  # The value determines where the site can be accessed under the engine's primary domain
9
- # subdomain: sample
9
+ subdomain: <%= config[:name].parameterize %>
10
10
 
11
11
  # An array of domain aliases for the site
12
12
  # This option is for sites on multi-site engines
Binary file