1
1
mirror of https://github.com/rsms/inter.git synced 2024-08-15 22:00:25 +03:00

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

View File

@ -22,6 +22,7 @@ for c in site.data.languages %}{%
assign lang_count = lang_count | plus:1 %}{%
endfor %}{%
endfor -%}
<!-- url_root={{url_root}} site.baseurl={{site.baseurl}} -->
<style type="text/css">
body { overflow-x: hidden }