-
Notifications
You must be signed in to change notification settings - Fork 277
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
不能正常加载glyph-correction系列字体 #287
Comments
因为 glyph-correction 的路径是绝对路径: hugo-theme-meme/assets/scss/base/_glyph-correction.scss Lines 4 to 7 in ff74420
可以定制成相对路径试试,https://github.com/reuixiy/io-oi.me/blob/master/assets/scss/base/_glyph-correction.scss |
这个问题是跟配置文件中的baseURL相关的,可以这样修改主题 |
还有一种 case 是
这时候,比如默认的语言为 方便帮忙测试一下吗?如果成功,也许你可以提一个 PR,我们可以将之合并进来 |
…euixiy#291) fixes reuixiy#287 * style: ajust code style and trim last "/" character of baseRelURL ...to avoid generating wrong URL "//fonts/..." when baseURL is set to site's root directory. Co-authored-by: reuixiy <reuixiy@gmail.com>
问题描述
当把config.toml中的baseURL设置为非根目录时(例如
http://example.com/blog
)不能够正常加载glyph-correction系列字体示例
克隆这个仓科
https://github.com/jianse/meme_bug_showcase
然后
访问本地服务器查看开发者工具
The text was updated successfully, but these errors were encountered: