From 49e38a3c42180d22894160c26be2189dfd9a6a44 Mon Sep 17 00:00:00 2001 From: arboleya Date: Sat, 19 Oct 2013 17:45:00 -0300 Subject: [PATCH] Releasing 0.2.0 --- History.md | 9 +++++++++ README.md | 15 ++++++++------- package.json | 2 +- 3 files changed, 18 insertions(+), 8 deletions(-) diff --git a/History.md b/History.md index c011637..eff904a 100644 --- a/History.md +++ b/History.md @@ -1,3 +1,12 @@ +0.2.0 / 2013-10-19 +=================== + * Moving plugin's polvo flag to package.json to improve detection + +0.1.0 / 2013-09-01 +=================== + * Refactoring everything, reorganizing whole structure + * Adding tests and badges + 0.0.3 / 2013-08-25 =================== * Moving plugin's polvo flag to package.json to improve detection diff --git a/README.md b/README.md index 8831dd7..fa4b742 100644 --- a/README.md +++ b/README.md @@ -41,18 +41,19 @@ There's a built in support for partials in Jade, polvo will handle them in a particular conventioned way. Every file starting with `_` won't be compiled alone. Instead, if some other -file that doesn't start with `_` imports it, it will be compiled within it. - -The import tag follows the Jade include's default syntax. +file that doesn't start with `_` imports or extends it, it will be compiled +within it. +The import tag follows the Jade default syntax. To include a partial in your `jade`, just: 1. Name your patial accordingly so it starts with `_` - 1. Include it in any of your `jade` files by using the syntax + 1. Calls it from any of your `jade` files by using the `include` or `extends` directive - ````jade +````jade include ./_partial-name-here - ```` + extends ./_partial-name-here +```` - Partials are referenced relatively. \ No newline at end of file +Partials are referenced relatively. \ No newline at end of file diff --git a/package.json b/package.json index 1537cbe..b1b7ddb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "polvo-jade", - "version": "0.1.0", + "version": "0.2.0", "author": "Anderson Arboleya ", "description": "Jade plugin for Polvo", "keywords": [