Git Product home page Git Product logo

Comments (4)

vmasrani avatar vmasrani commented on June 2, 2024

Fixed by changing line 59 in blog/index.html to
<div class="row row-cols-1 row-cols-md-{% if featured_posts.size <= 2 or is_even == 0 %}2{% else %}3{% endif %}">

from al-folio.

george-gca avatar george-gca commented on June 2, 2024

From the information point of view I believe it should not have that much pinned posts in the blog. Not only because it gets really crowded, but also if all posts are featured, none is really featured, you agree?

Also we are limitting to display at most 2 featured posts per row, I don't understand how yours let it be 3.

from al-folio.

vmasrani avatar vmasrani commented on June 2, 2024

I believe it's from this line. Looks less crowded when not on mobile, and featured posts bump a few old posts I want to stay on the top

from al-folio.

george-gca avatar george-gca commented on June 2, 2024

One solution might be using the same limitation we put for the description to the titles, since your titles have too much characters. Other than that, change the number of posts displayed per row in the featured section.

But I don't think this is a bug, since the behavior is correct. The problem is the amount of information you want to display in a section that was thought to display only a couple of posts, and this is a user preference. This template is intended to provide as much as possible ready-to-use code, but also enable the user to increment it in any way fits their preferences, which I believe is the case here.

from al-folio.

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.