靜態網頁如果要新增留言板,要用到後端的語言,如PHP & MySQL,使用現成的工具Disqus可以很快的搞定留言功能:
- Sign up for Disqus.
- Copy Disqus'
Universal Code
. - Paste the code to
post.html
in _layouts folder. Take this blog for example:
靜態網頁如果要新增留言板,要用到後端的語言,如PHP & MySQL,使用現成的工具Disqus可以很快的搞定留言功能:
Universal Code
.post.html
in _layouts folder. Take this blog for example:To enable pagination for your blog, you have to include jekyll-paginate
plugin in your Gemfile and in your _config.yml
under gems.
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';