Sha256: 2ca20d9fb7bfe0115f857edd353dae19b70cc00f42aebe46beb20dd7bc8d31ac
Contents?: true
Size: 571 Bytes
Versions: 18
Compression:
Stored size: 571 Bytes
Contents
<%- cache(content) do -%> <%- options = local_assigns.fetch(:options, {}) -%> <%- html_options = local_assigns.fetch(:html_options, {}) -%> <%- if content.essence.link.blank? || content_settings_value(content, :disable_link, options) -%> <%= content.ingredient -%> <%- else -%> <%= link_to( content.ingredient, url_for(content.essence.link), { title: content.essence.link_title, target: (content.essence.link_target == "blank" ? "_blank" : nil), 'data-link-target' => content.essence.link_target }.merge(html_options) ) -%> <%- end -%> <%- end -%>
Version data entries
18 entries across 18 versions & 2 rubygems