On 13 Jan 2011, at 08:58, Marc wrote:
> Hi,
>
> I've been experimenting with adding a custom tag to Page, which works
> when I have:
>
> module UiTags
> include Radiant::Taggable
>
> desc "Returns the server host name"
> tag 'lsi:hostname' do |tag|
>CGI.escapeHTML(request.host()) unless
Hi,
I've been experimenting with adding a custom tag to Page, which works
when I have:
module UiTags
include Radiant::Taggable
desc "Returns the server host name"
tag 'lsi:hostname' do |tag|
CGI.escapeHTML(request.host()) unless request.nil?
end
end
but not:
module UiTags
include