kzkn / gretel

Flexible Ruby on Rails breadcrumbs plugin.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add data attribute to link

rctneil opened this issue · comments

Hi,

On one of my links, I need to add a data attribute like below:

data-turbo-frame="_top"

How can I add this?

There are no way to add some custom attributes for link elements with building the breadcrumbs automatically. Perhaps buliding the breadcrumbs manually would work.

I think the ability to add custom attributes for link elements is useful. PR is welcome 😄