the page generator adds a commented line in the YAML section about the handle attribute
did
committed Jan 16, 2016
commit 2e2c2a060e4e57f972562f57062e42cb2a9ae32b
Showing 2
changed files with
6 additions
and 0 deletions
generators/page/template.liquid.haml.tt
+3
-0
| @@ | @@ -20,6 +20,9 @@ published: true |
| # 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] -%> | |
generators/page/template.liquid.tt
+3
-0
| @@ | @@ -23,6 +23,9 @@ published: true |
| # 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] -%> | |