generators include site metafields
did
committed Feb 11, 2016
commit 25b9f14f8718016d717b1365094ba58c94d0d702
Showing 4
changed files with
44 additions
and 2 deletions
Gemfile
+2
-2
| @@ | @@ -6,13 +6,13 @@ gemspec |
| gem 'rb-fsevent', '~> 0.9.1' | |
| # Development | |
| - | # gem 'locomotivecms_steam', github: 'locomotivecms/steam', ref: 'ea9cd18', require: false |
| + | gem 'locomotivecms_steam', github: 'locomotivecms/steam', ref: 'a28c3a5', require: false |
| # gem 'locomotivecms_coal', github: 'locomotivecms/coal', ref: '32b2844', require: false | |
| # gem 'locomotivecms_common', github: 'locomotivecms/common', ref: '3046b79893', require: false | |
| # Local development | |
| # gem 'locomotivecms_coal', path: '../gems/coal', require: false | |
| - | gem 'locomotivecms_steam', path: '../gems/steam', require: false |
| + | # gem 'locomotivecms_steam', path: '../gems/steam', require: false |
| # gem 'locomotivecms_common', path: '../gems/common', require: false | |
| group :development, :test do | |
generators/blank/config/site.yml.tt
+14
-0
| @@ | @@ -26,3 +26,17 @@ locales: [en] |
| seo_title: <%= @name %> | |
| meta_keywords: "some meta keywords" | |
| meta_description: "some meta description" | |
| + | |
| + | # Each site can have its own set of custom properties organized in namespaces. |
| + | # First, define namespaces and their fields in the config/metafields_schema.yml file. |
| + | # Finally, set default values below as described in the example. |
| + | # You can access them in your liquid templates and snippets: |
| + | # {{ site.metafields.<namespace>.<field> }} |
| + | # |
| + | # Example: |
| + | # |
| + | # metafields: |
| + | # shop: |
| + | # address: 700 South Laflin Street |
| + | # theme: |
| + | # background_image: "/samples/background.png" |
generators/bootstrap/config/site.yml.tt
+14
-0
| @@ | @@ -26,3 +26,17 @@ locales: [en] |
| seo_title: <%= @name %> | |
| meta_keywords: "some meta keywords" | |
| meta_description: "some meta description" | |
| + | |
| + | # Each site can have its own set of custom properties organized in namespaces. |
| + | # First, define namespaces and their fields in the config/metafields_schema.yml file. |
| + | # Finally, set default values below as described in the example. |
| + | # You can access them in your liquid templates and snippets: |
| + | # {{ site.metafields.<namespace>.<field> }} |
| + | # |
| + | # Example: |
| + | # |
| + | # metafields: |
| + | # shop: |
| + | # address: 700 South Laflin Street |
| + | # theme: |
| + | # background_image: "/samples/background.png" |
generators/foundation5/config/site.yml.tt
+14
-0
| @@ | @@ -26,3 +26,17 @@ locales: [en] |
| seo_title: <%= @name %> | |
| meta_keywords: "some meta keywords" | |
| meta_description: "some meta description" | |
| + | |
| + | # Each site can have its own set of custom properties organized in namespaces. |
| + | # First, define namespaces and their fields in the config/metafields_schema.yml file. |
| + | # Finally, set default values below as described in the example. |
| + | # You can access them in your liquid templates and snippets: |
| + | # {{ site.metafields.<namespace>.<field> }} |
| + | # |
| + | # Example: |
| + | # |
| + | # metafields: |
| + | # shop: |
| + | # address: 700 South Laflin Street |
| + | # theme: |
| + | # background_image: "/samples/background.png" |