{% assign page_url = page.url | replace: “.html”,“” %}

{% if site.data.notices %} <p>

{{ site.data.notices[page_url] }}

<p> {% endif %}