templates/pages/news/index.html.twig line 1

Open in your IDE?
  1. {% extends 'pages/base.html.twig' %}
  2. {% block title %}お知らせ|株式会社平塚富士キッチン{% endblock %}
  3. {% block meta_og_title %}お知らせ|株式会社平塚富士キッチン{% endblock %}
  4. {% block meta_twitter_title %}お知らせ|株式会社平塚富士キッチン{% endblock %}
  5. {% block meta_description %}株式会社平塚富士キッチンのお知らせページです。株式会社平塚富士キッチンは「未来の幸せを共に育む」を経営理念として神奈川県を中心に海鮮料理、焼肉、仕出し弁当などのフードサービス業を展開しています。平塚富士キッチンの最新情報をご確認いただけます。{% endblock %}
  6. {% block meta_og_description %}株式会社平塚富士キッチンのお知らせページです。株式会社平塚富士キッチンは「未来の幸せを共に育む」を経営理念として神奈川県を中心に海鮮料理、焼肉、仕出し弁当などのフードサービス業を展開しています。平塚富士キッチンの最新情報をご確認いただけます。{% endblock %}
  7. {% block body %}
  8. <div class="pg_breadcrumb-wrapper">
  9.     <div class="pg_breadcrumb">
  10.       <a class="breadcrumb-item c-breadcrumb-group-list__item--white" href="{{ path('top') }}">
  11.         TOP
  12.       </a><span class="c-breadcrumb-group-list__slash--white">/</span>
  13.       <a class="pg_breadcrumb-item" href="{{ path('news_index') }}">
  14.         お知らせ
  15.       </a>
  16.       {% if paginate.getExtra.criteria.Category %}
  17.         {% for category in categories %}
  18.           {% if category[0].id == paginate.getExtra.criteria.Category %}
  19.             <span class="c-breadcrumb-group-list__slash--white">/</span>
  20.             <a class="breadcrumb-item c-breadcrumb-group-list__item" href="{{ path('news_index', {Category: category[0].id}) }}">
  21.               {{ category[0].name}}
  22.             </a>
  23.           {% endif %}
  24.         {% endfor %}
  25.       {% endif %}
  26.     </div>
  27.   </div>
  28. <main id="news">
  29.   {% include "pages/news/_hero.html.twig" %}
  30.   {% include "components/common/_category.html.twig" %}
  31.   {% for entry in paginate.getPaginator.getIterator %}
  32.   {% include "pages/news/_list_item.html.twig" %}
  33.   {% endfor %}
  34. {% include "components/_pagination.html.twig" %}
  35. </main>
  36. {% endblock %}