# V2_Entry_Summary

    {% set entrySummary = module('V2_Entry_Summary', null, {
      bid: null,
      cid: null,
      eid: null,
      uid: null,
      page: PAGE,
      limit: null,
      keyword: null,
      tag: [],
      field: null,
      order: null,
      start: '1000-01-01 00:00:00',
      end: '9999-12-31 23:59:59'
    }) %}

    <div>
      {{ include('/admin/module/setting.twig', { moduleInfo: entrySummary.moduleInfo }) }}
      {% if entrySummary.items is empty %}
      <p>ただいまページを準備しております。もうしばらくお待ちください。</p>
      {% endif %}

      <div class="acms-cssgrid acms-g-cols-1 acms-g-cols-md-3">
        {% for entry in entrySummary.items %}
        <div>
          {% if entry.mainImage.path %}
          <img
            src="{{ entry.mainImage.path|resizeImg(360) }}"
            alt="{{ entry.mainImage.alt }}"
            class="acms-img-responsive"
            width="{{ entry.mainImage.width }}"
            height="{{ entry.mainImage.height}}"
            loading="lazy"
            decoding="async"
          >
          {% else %}
          <img
            src="/images/default/noimage.gif"
            alt="noimage"
            class="acms-img-responsive"
            width="360"
            height="360"
            loading="lazy"
            decoding="async"
          >
          {% endif %}
          <h3>{{ entry.title }}</h3>
          <p>{{ entry.summary }}</p>
          <p><a href="{{ entry.url }}" class="acms-btn">詳細をみる</a></p>
        </div>
        {% endfor %}
      </div>

      <!-- ページネーション -->
      {{
        include('/include/pagination.twig', {
          pagination: entrySummary.pagination,
        })
      }}
    </div>