Class: Liquid::Simplero::Tags::Anchor

Inherits:
Block
  • Object
show all
Defined in:
app/models/liquid/simplero/tags/anchor.rb

Overview

Prepares <a> tag with correct Simplero's url and behavior

{% anchor href="{{ block.settings.image_url }}" target="_blank" class="some-class" %}
  Clickable <span>block</span> with any html inside
{% endanchor %}

href attribute is required