public
Description: Allows you to create double tag snippets (<r:snippet></r:snippet>), whose content can be inserted in the snippet with <r:yield/>.
Homepage:
Clone URL: git://github.com/nelstrom/radiant-wrappits-extension.git
nelstrom (author)
Tue Jul 29 15:20:18 -0700 2008
commit  7327e7025cb7e6bea77147bbacf1be1be87a0a12
tree    1914ce7b58c753d9798005f7646dfa294004ccd1
parent  0f42730156b81ba6b3200b733e0aa2696daceb37
radiant-wrappits-extension / wrappits_extension.rb
100644 16 lines (12 sloc) 0.458 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Uncomment this if you reference any of your controllers in activate
# require_dependency 'application'
 
class WrappitsExtension < Radiant::Extension
  version "0.1"
  description "Allows you to create snippets as a double tag, whose contents may be inserted inside a snippet with the <r:yield/> tag."
  url "http://github.com/nelstrom/radiant-wrappits-extension/"
  
  def activate
    Page.send :include, WrappitTags
  end
  
  def deactivate
  end
  
end