diff --git a/docs/_includes/defs.html b/docs/_includes/defs.html
index 023e7a909..04da0f17a 100644
--- a/docs/_includes/defs.html
+++ b/docs/_includes/defs.html
@@ -6,7 +6,7 @@ assign release_version = site.data.fontinfo[0].version %}{%
capture title %}{% if page.title %}{{ page.title }} — Inter{% else %}Inter font family{% endif %}{% endcapture %}{%
if site.baseurl %}{%
- assign url_root = site.baseurl + "/" %}{%
+ assign url_root = site.baseurl | append: "/" %}{%
else %}{%
assign url_root = "/inter/" %}{%
endif %}{%
diff --git a/docs/index.html b/docs/index.html
index 37b271671..923d04ff8 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -22,6 +22,7 @@ for c in site.data.languages %}{%
assign lang_count = lang_count | plus:1 %}{%
endfor %}{%
endfor -%}
+