Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

added license and readme

  • Loading branch information...
commit 2d88758b0dfb5bbf0ab7f1f3660df26ae60b2eac 1 parent 6ab4276
Mischa Schindowski mschindowski authored

Showing 3 changed files with 57 additions and 3 deletions. Show diff stats Hide diff stats

  1. +20 0 LICENSE
  2. +0 3  README
  3. +37 0 README.markdown
20 LICENSE
... ... @@ -0,0 +1,20 @@
  1 +Copyright (c) 2010, Philipp Schilter, Mischa Schindowski
  2 +
  3 +Permission is hereby granted, free of charge, to any person obtaining a copy
  4 +of this software and associated documentation files (the "Software"), to deal
  5 +in the Software without restriction, including without limitation the rights
  6 +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  7 +copies of the Software, and to permit persons to whom the Software is
  8 +furnished to do so, subject to the following conditions:
  9 +
  10 +The above copyright notice and this permission notice shall be included in
  11 +all copies or substantial portions of the Software.
  12 +
  13 +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  14 +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  15 +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  16 +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  17 +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  18 +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  19 +THE SOFTWARE.
  20 +
3  README
... ... @@ -1,3 +0,0 @@
1   -= Include Tag
2   -
3   -Description goes here
37 README.markdown
Source Rendered
... ... @@ -0,0 +1,37 @@
  1 +Radiant *Include Tag* extension
  2 +===============================
  3 +
  4 +This extension adds a new tag to the Radius template language: <r:include />
  5 +
  6 +It includes a file in the directory RAILS_ROOT + /app/views/layouts/ and interpret it as a Haml file.
  7 +
  8 +More information about Haml: http://haml-lang.com/
  9 +
  10 +Installation
  11 +------------
  12 +
  13 +1) Unpack/checkout/export the extension into vendor/extensions of your project.
  14 +
  15 +2) Restart your server and create a Radius layout.
  16 +
  17 +Usage
  18 +-----
  19 +
  20 +In your Radiant layout, you can now use:
  21 +
  22 + <r:include file="layout_home.html.haml" />
  23 +
  24 +The tag looks for a file in your /app/views/layouts/ directory named layout_home.html.haml .
  25 +
  26 +Contributors
  27 +------------
  28 +
  29 +* [Philipp Schilter] (http://www.screenconcept.ch/)
  30 +* [Mischa Schindowski] (http://www.screenconcept.ch/)
  31 +
  32 +License
  33 +-------
  34 +
  35 +This extension is released under the MIT license, see the [LICENSE](master/LICENSE) for more
  36 +information.
  37 +

0 comments on commit 2d88758

Please sign in to comment.
Something went wrong with that request. Please try again.