From 7240661db91e546990a1f1209b243c407ab70eec Mon Sep 17 00:00:00 2001 From: Eric Cornelissen Date: Fri, 21 Feb 2020 16:53:36 +0200 Subject: [PATCH] Update filename logic for website (#2654) * Implement #2625 for Jekyll --- index.html | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/index.html b/index.html index 9b9f51ddd..13d492e25 100644 --- a/index.html +++ b/index.html @@ -32,15 +32,17 @@ {% assign filename = filename | replace: "+", "plus" %} {% assign filename = filename | replace: ".", "-dot-" %} {% assign filename = filename | replace: "&", "-and-" %} - {% assign filename = filename | replace: " ", "" | replace: "!", "" | replace: "’", "" %} + {% assign filename = filename | replace: " ", "" | replace: "!", "" | replace: ":", "" | replace: "’", "" | replace: "'", "" %} {% assign filename = filename | replace: "à", "a" | replace: "á", "a" | replace: "â", "a" | replace: "ã", "a" | replace: "ä", "a" %} - {% assign filename = filename | replace: "ç", "c" %} + {% assign filename = filename | replace: "ç", "c" | replace: "č", "c" | replace: "ć", "c" %} {% assign filename = filename | replace: "è", "e" | replace: "é", "e" | replace: "ê", "e" | replace: "ë", "e" %} {% assign filename = filename | replace: "ì", "i" | replace: "í", "i" | replace: "î", "i" | replace: "ï", "i" %} - {% assign filename = filename | replace: "ñ", "n" %} + {% assign filename = filename | replace: "ñ", "n" | replace: "ň", "n" | replace: "ń", "n" %} {% assign filename = filename | replace: "ò", "o" | replace: "ó", "o" | replace: "ô", "o" | replace: "õ", "o" | replace: "ö", "o" %} + {% assign filename = filename | replace: "š", "s" | replace: "ś", "s" %} {% assign filename = filename | replace: "ù", "u" | replace: "ú", "u" | replace: "û", "u" | replace: "ü", "u" %} {% assign filename = filename | replace: "ý", "y" | replace: "ÿ", "y" %} + {% assign filename = filename | replace: "ž", "z" | replace: "ź", "z" %} {% assign hex = icon.hex %} {% assign hex = icon.hex %}