From 8bfdd2b563fea051f63a57ba570bdf71877da1d1 Mon Sep 17 00:00:00 2001 From: Gavin John Date: Wed, 29 Mar 2023 11:29:37 -0400 Subject: [PATCH] Now for the head --- _includes/head.html | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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 %}