diff --git a/_includes/head.html b/_includes/head.html
index 5d3414a..ceea2e3 100644
--- a/_includes/head.html
+++ b/_includes/head.html
@@ -2,22 +2,22 @@
- {% if page.layout == "dcip" %}
- {% if page.category == "ERC" %}
-
ERC-{{ page.dcip }}: {{ page.title | escape }}
+ {% if post.layout == "dcip" %}
+ {% if post.category == "ERC" %}
+ ERC-{{ post.dcip }}: {{ post.title | escape }}
{% else %}
- DCIP-{{ page.dcip }}: {{ page.title | escape }}
+ DCIP-{{ post.dcip }}: {{ post.title | escape }}
{% endif %}
{% else %}
- {{ page.title | escape }} | {{site.title}}
+ {{ post.title | escape }} | {{site.title}}