Sha256: 8b759676cbf3fa1247a0c95bee11f6146df3913fb82ce56b0f772a108be5c2be

Contents?: true

Size: 1.83 KB

Versions: 23

Compression:

Stored size: 1.83 KB

Contents

# == This file defines the page_layouts for new pages.
# 
# Please make your own page_layouts for your app in your own Rails.root/config/alchemy/page_layouts.yml file.
#
# === DSL:
#   - name: String                  # The name of the layout used for views and inside the database. You can render a layout with the render_page_layout(name) helper.
#     unique: Bool                  # Pass true and the user can only choose this layout once inside a language tree.
#     hide: Bool                    # Pass true to hide this layout from the user.
#     elements: Array               # A list of element names that can be placed on this layout i.e. [text, picture]. Elements are defined inside the elements.yml file.
#     autogenerate: Array           # A list of element names that are autogenerated after creating the Page.
#     layoutpage: Bool              # Layoutpages are outside the normal pagetree and can be used to place "global" language independent Elements.
#     cache: Bool                   # Pass false to disable the caching for this pages.
#     feed: Bool                    # Pass true to enable a RSS feed of news elements from this page.
#     redirects_to_external: Bool   # Pass true to disable normal page rendering and redirect to a external page instead.
#     controller: controller_name   # Controller to use instead of the default PagesController
#     action: action_name           # Controllers action to use instead of the default PagesController#show
#
# === Translate page layout names
# 
# Page layout names are passed through the I18n library. So you can translate them in your config/locales language yml file.
# 
# Example:
#   
#   de:
#     alchemy:
#       page_layout_names:
#         contact: Kontakt
#         search: Suche
# 

- name: <%= Alchemy::Config.get(:default_language)['page_layout'] %>
  unique: true
  elements: []

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
alchemy_cms-2.5.0.b9 lib/rails/generators/alchemy/scaffold/templates/page_layouts.yml.tt
alchemy_cms-2.3.2 lib/rails/generators/alchemy/scaffold/templates/page_layouts.yml.tt
alchemy_cms-2.2.4 lib/rails/generators/alchemy/scaffold/templates/page_layouts.yml.tt
alchemy_cms-2.4.1 lib/rails/generators/alchemy/scaffold/templates/page_layouts.yml.tt
alchemy_cms-2.5.0.b5 lib/rails/generators/alchemy/scaffold/templates/page_layouts.yml.tt
alchemy_cms-2.5.0.b2 lib/rails/generators/alchemy/scaffold/templates/page_layouts.yml.tt
alchemy_cms-2.4.0 lib/rails/generators/alchemy/scaffold/templates/page_layouts.yml.tt
alchemy_cms-2.4.rc4 lib/rails/generators/alchemy/scaffold/templates/page_layouts.yml.tt
alchemy_cms-2.4.rc2 lib/rails/generators/alchemy/scaffold/templates/page_layouts.yml.tt
alchemy_cms-2.4.rc1 lib/rails/generators/alchemy/scaffold/templates/page_layouts.yml.tt
alchemy_cms-2.3.1 lib/rails/generators/alchemy/scaffold/templates/page_layouts.yml.tt
alchemy_cms-2.4.beta2 lib/rails/generators/alchemy/scaffold/templates/page_layouts.yml.tt
alchemy_cms-2.2.3.2 lib/rails/generators/alchemy/scaffold/templates/page_layouts.yml.tt
alchemy_cms-2.2.3.1 lib/rails/generators/alchemy/scaffold/templates/page_layouts.yml.tt
alchemy_cms-2.3.0 lib/rails/generators/alchemy/scaffold/templates/page_layouts.yml.tt
alchemy_cms-2.3.rc5 lib/rails/generators/alchemy/scaffold/templates/page_layouts.yml.tt
alchemy_cms-2.2.2 lib/rails/generators/alchemy/scaffold/templates/page_layouts.yml.tt
alchemy_cms-2.2.1 lib/rails/generators/alchemy/scaffold/templates/page_layouts.yml.tt
alchemy_cms-2.2.0 lib/rails/generators/alchemy/scaffold/templates/page_layouts.yml.tt
alchemy_cms-2.2.rc15 lib/rails/generators/alchemy/scaffold/templates/page_layouts.yml.tt