<?php

/**

 * Copyright © 2013-2017 Magento, Inc. All rights reserved.

 * See COPYING.txt for license details.

 */



// @codingStandardsIgnoreFile



?>

<?php if ($crumbs && is_array($crumbs)) : ?>

<div class="breadcrumbs">

	<ul class="items">

		<?php foreach ($crumbs as $crumbName => $crumbInfo) : ?>

			<li class="item <?php /* @escapeNotVerified */ echo $crumbName ?>">

			<?php if ($crumbInfo['link']) : ?>

				<a href="<?php /* @escapeNotVerified */ echo $crumbInfo['link'] ?>" title="<?= $block->escapeHtml($crumbInfo['title']) ?>">

					<?= $block->escapeHtml($crumbInfo['label']) ?>

				</a>

			<?php elseif ($crumbInfo['last']) : ?>

				<strong><?= $block->escapeHtml($crumbInfo['label']) ?></strong>

			<?php else: ?>

				<?= $block->escapeHtml($crumbInfo['label']) ?>

			<?php endif; ?>

			</li>

		<?php endforeach; ?>

	</ul>

</div>

<?php endif; ?>

