Skip to content
This repository has been archived by the owner on Aug 21, 2019. It is now read-only.

Commit

Permalink
added explanation how to add blueprint to site.yml
Browse files Browse the repository at this point in the history
Signed-off-by: Bruno Meilick <b@bnomei.com>
  • Loading branch information
bnomei committed May 22, 2017
1 parent 4b1efd0 commit 3ed95fc
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions example.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,20 @@ c::set('plugin.mailjet.examples', true); // default: false

> **Important:** On a production server you must disable the examples again for security reasons.
Enable the blueprint for the example in your `site.yml`. Please adjust this to your needs as [explained in the docs](https://getkirby.com/docs/panel/blueprints/subpages-settings#templates-for-subpages). The most basic blueprint would look like this.

```yaml
title: Site

# pages: default
pages:
template:
- default
- mj-example

# ...more fields...
```

Start the Kirby Panel and create a new page with the template `mj-example` *Mailjet Plugin Example Page* this plugin provides. It should look something like this.

![Example Page in Panel](http://bnomei.com/kirby-mailjet/example-page-in-panel-small.gif)
Expand Down

0 comments on commit 3ed95fc

Please sign in to comment.