location-card.html 528 B

12345678910111213
  1. <div class="location-card col-sm-4">
  2. <a class="location-card__link" href="{{page.url}}">
  3. <figure class="location-card__image">
  4. {{ image(page.image, "fill-430x320-c100", loading="lazy") }}
  5. </figure>
  6. <div class="location-card__contents">
  7. <h3 class="location-card__title">{{page.title}}</h3>
  8. {% if page.introduction %}
  9. <p class="location-card__text">{{ page.introduction|truncatewords(15) }}</p>
  10. {% endif %}
  11. </div>
  12. </a>
  13. </div>