GithubHelp home page GithubHelp logo

Comments (4)

danpros avatar danpros commented on June 3, 2024

This is good idea. Regarding those ... can be added to theme directly. Example in twentyfifteen theme:

    <div class="entry-content post-<?php echo $p->date;?>">
        <?php echo get_teaser($p->body, $p->url); ?>
        <?php if (config('teaser.type') === 'trimmed'):?>[...] <a class="more-link" href="<?php echo $p->url; ?>"><?php echo config('read.more'); ?></a><?php endif;?>
    </div>

from htmly.

sb0001 avatar sb0001 commented on June 3, 2024

Works like a charm! Thank you! The "..." solution is definitely something for the docs - or maybe even better: an option in config?

from htmly.

danpros avatar danpros commented on June 3, 2024

Yes I already add it in my local dev. I will commit it soon, new config teaser.ignore.

Edit: ah for those dot, simply add it to the theme. Will update it later for themes

from htmly.

danpros avatar danpros commented on June 3, 2024

Already releasing new version with this improvements. I will close this one

from htmly.

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.