# Blueprints for Page Sections according to Onepager-Tutorial

**URL:** https://forum.getkirby.com/t/blueprints-for-page-sections-according-to-onepager-tutorial/820
**Category:** Questions
**Tags:** v2
**Created:** [April 15, 2015, 10:07pm UTC](https://forum.getkirby.com/t/blueprints-for-page-sections-according-to-onepager-tutorial/820 "2015-04-15T22:07:22Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![ToGe88](https://avatars.discourse-cdn.com/v4/letter/t/c68b51/32.png) [@ToGe88](https://forum.getkirby.com/u/ToGe88)
#### Post date: [April 15, 2015, 10:07pm UTC](https://forum.getkirby.com/t/blueprints-for-page-sections-according-to-onepager-tutorial/820/1 "2015-04-15T22:07:22Z")

</div>

Hey there, i’m kind of confused. I’m about to set up a onepager homepage for a little start-up company. I made my sections and am now putting them into snippets just as suggested in the tutorial. Since many fields of the onepager have to be updated by the users (such as locations in a map, news, meals and images, etc.) i now want to create blueprints according to the page structure i build like was told in the tutorial. I wonder how i can do this, since you have no choice for blueprints on first-level pages, only for subpages of them (where i can choose the blueprints…)

Could you please give me a kind solution for my problem? I’ve seen, that there’s been a solution for this problem in 2013: [http://getkirby.com/forum/panel/20130622/how-do-i-create-blueprints-for-a-one-pager](http://getkirby.com/forum/panel/20130622/how-do-i-create-blueprints-for-a-one-pager)  
Sadly the user wasn’t so kind, to post his solution in the forum…

Thanks so far… ToGe

---

<div class="post-metadata">

### Author: ![texnixe](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/texnixe/32/5754_2.png) [@texnixe](https://forum.getkirby.com/u/texnixe)
#### Post date: [April 15, 2015, 10:30pm UTC](https://forum.getkirby.com/t/blueprints-for-page-sections-according-to-onepager-tutorial/820/2 "2015-04-15T22:30:18Z")

</div>

The site.php blueprint of the starter kit limits the allowed templates for first level pages to default. You can change that and either just set pages to true or define the templates that you want to allow:

```auto
<?php if(!defined('KIRBY')) exit ?>

title: Site
pages: true
fields:
  title:
    label: Title
    type: text

```

or

```auto
pages: 
  template:
    - project
    - article
    - contact

```

---

<div class="post-metadata">

### Author: ![ToGe88](https://avatars.discourse-cdn.com/v4/letter/t/c68b51/32.png) [@ToGe88](https://forum.getkirby.com/u/ToGe88)
#### Post date: [April 15, 2015, 10:49pm UTC](https://forum.getkirby.com/t/blueprints-for-page-sections-according-to-onepager-tutorial/820/3 "2015-04-15T22:49:29Z")

</div>

Thanks @texnixe for the quick response. Setting pages: true did it for me.

P.S.: Maybe this could be a nice bonus information for the onepager-tutorial

Thanks ToGe

---

<div class="post-metadata">

### Author: ![Malvese](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/malvese/32/12375_2.png) [@Malvese](https://forum.getkirby.com/u/Malvese)
#### Post date: [April 16, 2015, 9:13am UTC](https://forum.getkirby.com/t/blueprints-for-page-sections-according-to-onepager-tutorial/820/4 "2015-04-16T09:13:46Z")

</div>

It made me wonder if we can use comments in Blueprints. The answer is yes, as blueprints use YAML:

```auto
title: Home
pages: false # Limits template choice in the Panel to "default" one only.
fields:
  title:
    label: Title # This comment is not part of the label text.

```

Idea for @bastianallgeier and the team: adding a few comments in the Starterkit’s blueprints to make it a bit more didactic. This very blueprint choice topic seems to be a recurring issue among new Kirby users –I believe I’ve seen it asked multiple times in this forum in the last few days– and would be a good candidate for such a comment.

---

<div class="post-metadata">

### Author: ![distantnative](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/distantnative/32/11319_2.png) [@distantnative](https://forum.getkirby.com/u/distantnative)
#### Post date: [February 6, 2025, 5:17pm UTC](https://forum.getkirby.com/t/blueprints-for-page-sections-according-to-onepager-tutorial/820/5 "2025-02-06T17:17:32Z")

</div>


