You are here

preview-link.html.twig in Preview Link 2.x

<div class="preview-link">
  <p>{{ description }}</p>
  <h2 class="preview-link__title">{{ title }}</h2>
  <p><span class="label">{{ 'Link:'|t }}</span> <span class="preview-link__link"><a href="{{ link }}">{{ link }}</a></span></p>
  <p><span class="label">{{ 'Expiry:'|t }} </span>{{ remaining_lifetime }}</p>
</div>

File

templates/preview-link.html.twig
View source
  1. <div class="preview-link">
  2. <p>{{ description }}</p>
  3. <h2 class="preview-link__title">{{ title }}</h2>
  4. <p><span class="label">{{ 'Link:'|t }}</span> <span class="preview-link__link"><a href="{{ link }}">{{ link }}</a></span></p>
  5. <p><span class="label">{{ 'Expiry:'|t }} </span>{{ remaining_lifetime }}</p>
  6. </div>