summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRasmus Andersson <rasmus@notion.se>2023-11-19 05:26:36 +0300
committerRasmus Andersson <rasmus@notion.se>2023-11-19 05:26:36 +0300
commit1056c9303c66b37b2050d3c88f85384bc6cd7376 (patch)
treeae7e1d4dd9308a1ec0a12f4faf05744ce6d8a8ec
parentfcef499e69b6a96e1c3e33b675e27dd447e9acf0 (diff)
downloadinter-1056c9303c66b37b2050d3c88f85384bc6cd7376.tar.xz
website: gh pages fix attempt for automatic site.baseurl (maybe?)
-rw-r--r--docs/_includes/defs.html2
-rw-r--r--docs/index.html1
2 files changed, 2 insertions, 1 deletions
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 -%}
+<!-- url_root={{url_root}} site.baseurl={{site.baseurl}} -->
<style type="text/css">
body { overflow-x: hidden }