ll1735
V2EX  ›  问与答

jekyll 首页 truncate picture 问题

  •  
  •   ll1735 · Sep 12, 2020 · 1925 views
    This topic created in 2261 days ago, the information mentioned may be changed or developed.

    文章的全貌如下:

    http://liuli1735.github.io/travel-in-Gubei-Town.html

    但在 jekyll 的下 用的 {{ post.content | strip_html | truncate:500 }}

    首页会精简到如下:

    http://liuli1735.github.io/

    有什么办法限制首页还能保留一张图片,或者有什么更好的方案呢

    2 replies  •  2020-09-13 20:47:38 +08:00
    imkuang
    imkuang
    Sep 12, 2020
    1
    感觉你需要换个支持这种效果的主题
    ll1735
    ll1735
    OP
    Sep 13, 2020
    2
    @xiri 有什么推荐的吗,jekyll 下实现不了吗
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1048 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 18:20 · PVG 02:20 · LAX 10:20 · JFK 13:20
    ♥ Do have faith in what you're doing.