Git Product home page Git Product logo

Comments (4)

orchardbot avatar orchardbot commented on June 27, 2024

@bleroy commented:

That should probably be a setting on the blog or on the post. My own pro blog for example doesn't summarize and I don't mind but I understand that's not necessarily the desired behavior for everyone. Having an option to specify the summary explicitly or to add a separator in the body might help too.

from orchard.

orchardbot avatar orchardbot commented on June 27, 2024

@Jetski5822 commented:

The issue was raised to me via my boss, as they are using the blogs for something quite specific. But you are right, i think it should be a setting, i may hook up the solution i wrote to a setting. Would it be worth sending this in? or are you guys going to look in to it in the current iteration?

from orchard.

orchardbot avatar orchardbot commented on June 27, 2024

@bleroy commented:

Sure, send it in as a patch. Contribution model is still pending but should be ready shortly.

from orchard.

orchardbot avatar orchardbot commented on June 27, 2024

@heskew commented:

I hooked up a summary template variation (Orchard.Core/Common/Views/DisplayTemplates/Parts/Common.Body.Summary.ascx) that does everything on the view side with a HtmlHelper and string extensions so changing what the summary looks like is as simple as overriding the template in a theme.

It's really simple for now and that's intentional. In the cards for future summary functionality is some way to explicitly create a summary with an additional input, falling back to looking for a comment in the body markup (kinda like wordpress, and other app I'd imagine) and finally falling back to an auto generated summary (excerpt, as we're calling them) on the way out.

from orchard.

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.