Hey guys,

I'm not subscribed to the dev mailing list, but anyway...

Sean, could you please add :id to the standard page tags?

  [:breadcrumb, :slug, :title, :id].each do |method|
    desc %{
      Renders the @#{method}@ attribute of the current page.
    }
    tag method.to_s do |tag|
      tag.locals.page.send(method)
    end
  end

I'm aware that this is a pretty much useless tag for most users and
developers, but in some situations it comes in handy.


Thanks,


Andreas
_______________________________________________
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to