diff --git a/_includes/head.html b/_includes/head.html index b7bb45f784c22..4ea6a25f11b1b 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -3,12 +3,13 @@ {% if page.layout == "eip" %} + {% assign eip = page.url | split: "eip-" | last | xml_escape %} {% if page.category == "ERC" %} - ERC-{{ page.eip }}: {{ page.title | escape }} - + ERC-{{ eip }}: {{ page.title | escape }} + {% else %} - EIP-{{ page.eip }}: {{ page.title | escape }} - + EIP-{{ eip }}: {{ page.title | escape }} + {% endif %}