Sha256: ed7b10f2aef37c1e893ec011bd8ad9f0e4a9cf1c27ab4626f4584ceae2e0ec40

Contents?: true

Size: 1.09 KB

Versions: 11

Compression:

Stored size: 1.09 KB

Contents

---
title: <%= config[:title] -%>
<% if config[:translated] %>

# unique identifier for urls, the same as a permalink
slug: <%= config[:slug] -%>

<% else -%>


# true if the page is included in the menu
listed: <% if config[:listed] -%><%= config[:listed] %><% else -%>true<% end %>

# true if the page is published
published: true

# true if the page can be used as a layout for new pages created by the editors
# is_layout: true

# position among sibling pages
# position: 1

# sets a redirection to the given url (301)
# redirect_url: "<url to a page or to a remote url>"

# other unique identifier of this page. To be used with the path_to liquid tag.
# handle: my-page-handle

# content type that this page is templatizing
<% if config[:content_type] -%>
content_type: <%= config[:content_type] -%>
<% else -%>
# content_type: "<slug of one of the content types>"
<% end %>
<% end -%>

# editable_elements:
#   'some_block/some_slug': "<text>"
#   'some_block/some_slug': "<relative path to the file under the public/samples folder>"
---
{% extends parent %}

{% block main %}

  <p>Hello world</p>

{% endblock %}

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
locomotivecms_wagon-2.2.0 generators/page/template.liquid.tt
locomotivecms_wagon-2.2.0.rc3 generators/page/template.liquid.tt
locomotivecms_wagon-2.2.0.rc2 generators/page/template.liquid.tt
locomotivecms_wagon-2.2.0.rc1 generators/page/template.liquid.tt
locomotivecms_wagon-2.2.0.beta1 generators/page/template.liquid.tt
locomotivecms_wagon-2.1.1 generators/page/template.liquid.tt
locomotivecms_wagon-2.1.0 generators/page/template.liquid.tt
locomotivecms_wagon-2.1.0.rc5 generators/page/template.liquid.tt
locomotivecms_wagon-2.1.0.rc4 generators/page/template.liquid.tt
locomotivecms_wagon-2.1.0.rc3 generators/page/template.liquid.tt
locomotivecms_wagon-2.0.1 generators/page/template.liquid.tt