Skip to content

Commit

Permalink
website: gh pages fix attempt for automatic site.baseurl (maybe?)
Browse files Browse the repository at this point in the history
  • Loading branch information
rsms committed Nov 19, 2023
1 parent fcef499 commit 1056c93
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/_includes/defs.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
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 %}{%
Expand Down
1 change: 1 addition & 0 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
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 }
Expand Down

0 comments on commit 1056c93

Please sign in to comment.