<div metal:use-macro="layout.base" i18n:domain="onegov.org">
    <tal:b metal:fill-slot="title">
        ${title}
    </tal:b>

    <tal:b metal:fill-slot="content">

        <ul tal:condition="len(years) > 1" class="news-years">
            <tal:b repeat="year years">
                <li tal:condition="year == current_year">
                    <strong>${year}</strong>
                </li>
                <li tal:condition="year != current_year">
                    <a href="${request.link(page)}?year=${year}">${year}</a>
                </li>
            </tal:b>
        </ul>

        <!--! do not show on the news overview site -->
        <tal:b condition="page.parent">
            <metal:hint use-macro="layout.macros['hidden_from_public_hint_long']" tal:define="item page"/>
            <metal:hint use-macro="layout.macros['empty_page_lead_hint']" tal:define="item page"/>
        </tal:b>

        <div class="row" tal:condition="children">
            <div class="small-12 columns">
                <div metal:use-macro="layout.macros.newslist" tal:define="news children; hide_title True" />
            </div>
        </div>

        <tal:b metal:use-macro="layout.macros.page_content"
         tal:define="lead page.content.get('lead');text page.content.get('text'); people page.people; contact page.contact_html; coordinates page.coordinates" />
    </tal:b>
</div>
