<?php

/** @var \Kirby\Cms\Block $block */ ?>

<a class="link_dwnld" href="<?= $block->link()->toUrl() ?>" <?= $block->target()->toBool() === true ? 'target="_blank"' : '' ?>>
    <?= $block->linkText()->or($block->link()) ?>
</a>