V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
spencerqiu
V2EX  ›  问与答

hexo 博客文章摘要除去使用 <!--more--> 标记从文中划出开始的几段外,有无其他方法?

  •  
  •   spencerqiu · Feb 26, 2015 · 2085 views
    This topic created in 4089 days ago, the information mentioned may be changed or developed.
    比如我想指定一段摘要,但是又不想让这段摘要在文章中出现?
    1 replies    2015-02-27 02:15:32 +08:00
    stkevintan
        1
    stkevintan  
       Feb 27, 2015 via Android
    因为主页是不会显示comment的,所以将你的摘要包裹一层判断。具体参考comment.ejs的写法。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3388 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 12:10 · PVG 20:10 · LAX 05:10 · JFK 08:10
    ♥ Do have faith in what you're doing.