website: gh pages fix attempt for automatic site.baseurl (maybe?)
This commit is contained in:
parent
fcef499e69
commit
1056c9303c
2 changed files with 2 additions and 1 deletions
|
|
@ -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 %}{%
|
capture title %}{% if page.title %}{{ page.title }} — Inter{% else %}Inter font family{% endif %}{% endcapture %}{%
|
||||||
|
|
||||||
if site.baseurl %}{%
|
if site.baseurl %}{%
|
||||||
assign url_root = site.baseurl + "/" %}{%
|
assign url_root = site.baseurl | append: "/" %}{%
|
||||||
else %}{%
|
else %}{%
|
||||||
assign url_root = "/inter/" %}{%
|
assign url_root = "/inter/" %}{%
|
||||||
endif %}{%
|
endif %}{%
|
||||||
|
|
|
||||||
|
|
@ -22,6 +22,7 @@ for c in site.data.languages %}{%
|
||||||
assign lang_count = lang_count | plus:1 %}{%
|
assign lang_count = lang_count | plus:1 %}{%
|
||||||
endfor %}{%
|
endfor %}{%
|
||||||
endfor -%}
|
endfor -%}
|
||||||
|
<!-- url_root={{url_root}} site.baseurl={{site.baseurl}} -->
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
|
|
||||||
body { overflow-x: hidden }
|
body { overflow-x: hidden }
|
||||||
|
|
|
||||||
Reference in a new issue