Skip to main content

3 posts tagged with "jekyll"

View All Tags

· 2 min read
Yan-Ying Liao

靜態網頁如果要新增留言板,要用到後端的語言,如PHP & MySQL,使用現成的工具Disqus可以很快的搞定留言功能:

  1. Sign up for Disqus.
  2. Copy Disqus' Universal Code.
  3. Paste the code to post.html in _layouts folder. Take this blog for example:

· 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';