{% assign url_full = site.baseurl | append: page.url %} {% assign url_parts = url_full | split: "/" %} {%if page.alert %}