Skip to main content

【Jekyll】 Blog 字型更改成思源黑體

· One min read
Yan-Ying Liao

Jekyll blog如果要更換字型要到css資料夾,開啟main.scss,修改成以下的code,以新增Noto Sans TC字型:

@import url(//fonts.googleapis.com/earlyaccess/notosanstc.css);
// Our variables
$base-font-family: 'Space Mono', monospace,"Helvetica Neue", Helvetica, Arial, 'Noto Sans TC';
$head-font-family: 'Work Sans',"Helvetica Neue", Helvetica, Arial, sans-serif, 'Noto Sans TC';