【发布时间】:2017-01-01 06:47:45
【问题描述】:
我的博客使用 Jekyll(在 GitHub Pages 上)。
当我在本地服务器上运行 Jekyll 时,它看起来不错:
但是当我将站点推送到 GitHub 时,代码部分已损坏:
环境之间有什么区别?这是我的配置文件:
timezone: America/New_York
locale: en_US
future: true
highlighter: rouge
markdown: kramdown
gems:
- jekyll-sitemap
sass:
sass_dir: _sass
style: compressed
permalink: /:categories/:title/
paginate: 5
float_share: true
kramdown:
auto_ids: true
footnote_nr: 1
entity_output: as_char
toc_levels: 1..6
enable_coderay: true
coderay:
coderay_line_numbers: nil
coderay_line_numbers_start: 1
coderay_tab_width: 4
coderay_bold_every: 10
coderay_css: class
【问题讨论】: