V2_Entry_TagRelational


{% set entryTagRelational = module('V2_Entry_TagRelational', null, {
  bid: null,
  cid: null,
  eid: EID,
  limit: null,
  keyword: null,
  field: null,
  start: '1000-01-01 00:00:00',
  end: '9999-12-31 23:59:59'
}) %}

{% if entryTagRelational.items %}
<div class="acms-margin-bottom-medium">
  {{ include('/admin/module/setting.twig', { moduleInfo: entryTagRelational.moduleInfo }) }}
  <div class="acms-cssgrid acms-g-cols-1 acms-g-cols-md-3">
    {% for entry in entryTagRelational.items %}
    <div>
      <div class="acms-thumbnail">
        {% if entry.mainImage.path %}
          <img
            class="acms-img-responsive"
            src="{{ entry.mainImage.path|resizeImg(360) }}"
            alt="{{ entry.mainImage.alt }}"
            width={{ entry.mainImage.width }}
            height={{ entry.mainImage.height }}
            loading="lazy"
            decoding="async"
          />
        {% else %}
          <img class="acms-img-responsive" src="/images/noimage.png" alt="" loading="lazy" decoding="async" />
        {% endif %}
        <div>
          <h3>{{ entry.title }}</h3>
          <p>{{ entry.summary }}</p>
          <p><a href="{url}" class="acms-btn acms-btn-primary" role="button">詳細をみる</a></p>
        </div>
      </div>
    </div>
    {% endfor %}
  </div>
</div>
{% endif %}