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

Open in your IDE?
  1. {% extends 'pages/base.html.twig' %}
  2. {% block title %}{{ entry.title }} | {{ parent() }}{% endblock %}
  3. {% block meta_og_title %}{{ entry.title }} | {{ parent() }}{% endblock %}
  4. {% block meta_twitter_title %}{{ entry.title }} | {{ parent() }}{% endblock %}
  5. {% block meta_description %}{{ entry.descriptionForHtml }}{% endblock %}
  6. {% block meta_og_description %}{{ entry.descriptionForHtml }}{% 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="breadcrumb-item c-breadcrumb-group-list__item--white" href="{{ path('news_index')}}">
  14.     お知らせ
  15.   </a><span class="c-breadcrumb-group-list__slash--white">/</span>
  16.   {#<a class="breadcrumb-item" href="{{ path('news_index', {Category: entry.category.id}) }}">
  17.     {{ entry.category }}
  18.   </a>#}
  19.   <a class="breadcrumb-item c-breadcrumb-group-list__item" href="{{ path('news_detail', {id: entry.id}) }}">
  20.     {{ entry.title }}
  21.   </a>
  22. </div>
  23. </div>
  24. <main id="news_detail">
  25.   {% include "pages/news/_hero.html.twig" %}
  26.   {% include "pages/news/_detail.html.twig" %}
  27.   {% include "components/cms/_footer.html.twig" %}
  28. </main>
  29. {% endblock %}