Code Monkey home page Code Monkey logo

Comments (8)

ppoffice avatar ppoffice commented on July 3, 2024 9

Use <!-- more --> tag in the content part.

from hexo-theme-icarus.

dearfl avatar dearfl commented on July 3, 2024

关于这个issue。。。能给详细一点的示例吗?实在是没搞懂怎么做。。。

from hexo-theme-icarus.

dearfl avatar dearfl commented on July 3, 2024

Thanks,我get到了。。。不容易。。。

from hexo-theme-icarus.

Xiahl1990 avatar Xiahl1990 commented on July 3, 2024

怎么解决的?

from hexo-theme-icarus.

Xiahl1990 avatar Xiahl1990 commented on July 3, 2024
<% if (index && post.excerpt) { %>

<%- post.excerpt %>

<%= __('article.more') %>

<% } else { %> <% if (!index && post.toc) { %>
<%= __('article.catalogue') %> <%- toc(post.content) %>
        <% } %>
        <%- post.content %>
    <% } %>
    </div>

这个不是取post.excerpt?

from hexo-theme-icarus.

life1347 avatar life1347 commented on July 3, 2024

@Xiahl1990 在文章的 md 檔內加入

from hexo-theme-icarus.

xu6148152 avatar xu6148152 commented on July 3, 2024

@life1347 我在md里面加了<!-- more -->怎么没效果?渲染出来的还是<!-- more -->

from hexo-theme-icarus.

JackyAndroid avatar JackyAndroid commented on July 3, 2024

这个设计对多平台的文章的侵入性太强,希望改进

from hexo-theme-icarus.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.