mirror of
https://github.com/rsms/inter.git
synced 2024-11-22 02:44:34 +03:00
website: gh pages fix attempt for automatic site.baseurl (maybe?)
This commit is contained in:
parent
fcef499e69
commit
1056c9303c
@ -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 %}{%
|
||||
|
@ -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 }
|
||||
|
Loading…
Reference in New Issue
Block a user