{% set title = _args.title %}
{% set subtitle = _args.subtitle|default(null) %}
{% set link = _args.link|default(null) %}
{% set value = _args.value %}
{% set label = _args.label|default(null) %}
{% set dataToggle = _args.dataToggle|default(null) %}
{% set dataTarget = _args.dataTarget|default(null) %}
<div class="dm__stats px-15 mb-4">
<div class="row">
<div class="col col-8 text-left">
<h3 class="mb-2">{{ title }}</h3>
{% if subtitle %}
<p class="font-13 mb-0">{{ subtitle }}</p>
{% endif %}
</div>
<div class="col col-4 text-right">
<div class="dm__stats--value pt-0">
{% if link %}
<a
href="{{ link|e('html_attr') }}"
{% if dataToggle %}data-toggle="{{ dataToggle }}"{% endif %}
{% if dataTarget %}data-target="{{ dataTarget }}"{% endif %}
class="text-secondary text-medium"
>
{% else %}
<span class="text-dark text-medium">
{% endif %}
{{- value -}}
</{{ link ? 'a' : 'span' }}>
</div>
{% if label %}
<p class="font-13 mb-0">{{ label }}</p>
{% endif %}
</div>
</div>
</div>