{% extends 'base.html.twig' %}
{% block title %}
お知らせ|相模原市、厚木市の注文住宅・分譲住宅のアオイ建設株式会社
{% endblock %}
{% block meta_og_title %}
お知らせ|相模原市、厚木市の注文住宅・分譲住宅のアオイ建設株式会社
{% endblock %}
{% block meta_twitter_title %}
お知らせ|相模原市、厚木市の注文住宅・分譲住宅のアオイ建設株式会社
{% endblock %}
{% block meta_description %}
{{ parent() }}
アオイ建設のお知らせです。相模原市・厚木市・大和市・町田市を中心にデザイン性の高い分譲住宅、注文住宅をご検討中の方や、不動産、土地からお探しの方、建て替え・新築一戸建てなどを検討中の方に役立つ情報をお届けします。
{% endblock %}
{% block meta_og_description %}
{{ parent() }}
アオイ建設のお知らせです。相模原市・厚木市・大和市・町田市を中心にデザイン性の高い分譲住宅、注文住宅をご検討中の方や、不動産、土地からお探しの方、建て替え・新築一戸建てなどを検討中の方に役立つ情報をお届けします。
{% endblock %}
{% block extraHeader %}
<link rel="canonical" content="{{ absolute_url(path('news_index')) }}">
{% endblock %}
{% block body %}
<main id="news">
<div class="breadcrumbs">
<div class="breadcrumbsContainer">
<a href="/">TOP</a>
<span></span>
<div>お知らせ</div>
</div>
</div>
<div class="pageTitle">
<h1>NEWS</h1>
<span>お知らせ</span>
</div>
<section class="categoryWrapper">
<div class="category">
<a href="{{ path('news_index') }}" class="{% if not current_category %}active{% endif %}">
ALL
</a>
{% for category in categories %}
<a href="{{ path('news_index') }}?category={{ category[0].id }}" class="{% if current_category == category[0].id %}active{% endif %}">
{{ category[0].name }} ({{ category.entry_count }})
</a>
{% endfor %}
</div>
</section>
<section class="newsList">
{% for news in data %}
{% if news.linkUrl %}
<a href="{{ news.linkUrl }}"{% if news.linkNewtab %} target="_blank"{% endif %}>
{% else %}
<a href="{{ path('news_detail', {"id": news.id}) }}">
{% endif %}
{# thumbnail #}
{# {% if news.hasThumbnailImage %} #}
{# <img src="{{ path("news_image", {"filename": news.getThumbnailRemote}) }}" alt="{{ news.title }}"> #}
{# {% else %} #}
{# <img src="{{ asset('images/no-image.jpg') }}" alt="{{ news.title }}"> #}
{# {% endif %} #}
<div class="news__timeCategory">
<div class="news__timeCategoryWrapper">
<time>
{{ news.entryDate|date('Y.m.d') }}
</time>
<span>
{{ news.category.name }}
</span>
</div>
{% if news.isNew %}
<span class="new_tag">NEW</span>
{% endif %}
{# <p>
{{ news.content|striptags }}
</p> #}
</div>
<h3>
{{ news.title }}
</h3>
</a>
{% endfor %}
</section>
{% include "components/_pagination.html.twig" with [paginate] %}
</main>
{% endblock %}