Coder Social home page Coder Social logo

Comments (4)

Sellato avatar Sellato commented on June 16, 2024 1

@alessandrocraeye Great thank you :) your code works fine!

One comment :) this was not a mine code, this is Breadcrumb.html.twig so it's need to be fixed in next release of Fork CMS.

PS: In ForkCMS delimiter hard coded in css file.

Screenshot

from forkcms.

alessandrocraeye avatar alessandrocraeye commented on June 16, 2024

I believe this is purely because your if statement is implemented wrong.

The class breadcrumb-item is what is needed by bootstrap to show the breadcrumb styling and delimiter.
By implementing it like you mentioned: <li {% if loop.last %} class="breadcrumb-item active" {% endif %} the needed breadcrumb-item class is only being added to the last item in the list.

It should actually be implemented like this: <li class="breadcrumb-item{% if loop.last %} active{% endif %}"> so the breadcrumb-item class gets added to every item. The active class is only needed on the last item.

from forkcms.

crydotsnake avatar crydotsnake commented on June 16, 2024

Hello 👋🏼

I created a pull request, that should fixes the issue!

Merry Christmas btw! 🎄

from forkcms.

Sellato avatar Sellato commented on June 16, 2024

I created a pull request, that should fixes the issue!

Great!, Thank you!

Merry Christmas

from forkcms.

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.