• 请不要在回答技术问题时复制粘贴 AI 生成的内容
janrone
V2EX  ›  程序员

win7 使用 octopress 怎么创建 rake new_post["中文"] 部署在github pages 上的 。

  •  
  •   janrone · May 20, 2013 · 3321 views
    This topic created in 4762 days ago, the information mentioned may be changed or developed.
    2 replies    1970-01-01 08:00:00 +08:00
    fedoral
        1
    fedoral  
       May 20, 2013
    貌似 rake new_post[title] title不支持中文(命令直接报错),
    一个可行的办法是rake new_post时title用英文,创建成功后去编辑生成的2013_05_20_$title.md这个文件,把 title一行里的英文标题换成中文标题
    iZr
        2
    iZr  
       May 20, 2013
    mac os 下ok
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2747 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 38ms · UTC 15:41 · PVG 23:41 · LAX 08:41 · JFK 11:41
    ♥ Do have faith in what you're doing.