# == 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: intro unique: true elements: [article, claim, header, bild, bild_text, text, intro, headline, image_mosaic, intro_image_text] autogenerate: [header, intro_image_text] - name: standard elements: [article, claim, header, bild, bild_text, text, intro, headline, image_mosaic] autogenerate: [header, claim, article] - name: contact unique: true cache: false elements: [headline, text, contactform] autogenerate: [headline, text, contactform] - name: news feed: true unique: true elements: [headline, news] autogenerate: [news] feed_elements: [news] - name: search unique: true cache: false elements: [headline, text, searchresult] autogenerate: [searchresult] - name: layout_header unique: true layoutpage: true elements: [sitename, header] - name: layout_footer unique: true layoutpage: true elements: [footnote]