diff --git a/content/contents.lr b/content/contents.lr index 1297eb4..35905fa 100644 --- a/content/contents.lr +++ b/content/contents.lr @@ -1,3 +1,5 @@ +_model: frontpage +--- title: Awesome Ansible Roles --- body: diff --git a/models/page.ini b/models/frontpage.ini similarity index 86% rename from models/page.ini rename to models/frontpage.ini index 42a5016..5c3c5fe 100644 --- a/models/page.ini +++ b/models/frontpage.ini @@ -1,6 +1,8 @@ [model] -name = Page +name = Frontpage label = {{ this.title }} +protected = true +hidden = true [fields.title] label = Page Title diff --git a/packages/render-template b/packages/render-template index e9e82b6..1fd71ef 160000 --- a/packages/render-template +++ b/packages/render-template @@ -1 +1 @@ -Subproject commit e9e82b651263bd3501af75ac4638a5ae36761173 +Subproject commit 1fd71eff13c3a01dccc5dc49c26857e84686a14c diff --git a/templates/page.html b/templates/frontpage.html similarity index 79% rename from templates/page.html rename to templates/frontpage.html index 4c9e406..32730ac 100644 --- a/templates/page.html +++ b/templates/frontpage.html @@ -19,13 +19,13 @@ {{ blk.name }} - + - + - + {% endfor %}