website: gh pages fix attempt for automatic site.baseurl (maybe?)

This commit is contained in:
Rasmus Andersson 2023-11-18 18:26:36 -08:00
parent fcef499e69
commit 1056c9303c
2 changed files with 2 additions and 1 deletions

View file

@ -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 %}{%