Git Product home page Git Product logo

Comments (4)

miloshadzic avatar miloshadzic commented on July 19, 2024

Hey, I'm a bit busy these days but I've written a quick test to see if things blow up. It seems to be working ok (I also use this in a layout on my site). Could it be that it's something specific to your gem/site configuration? I don't use contracts for anything for example and that's where things look like they're blowing up in you case.

If you put up some parts of your configuration and/or layouts maybe I could help out.

from middleman-inline.

egermani avatar egermani commented on July 19, 2024

Hi Milos,

Thanks for your reply. Your note about not using contracts was helpful -- I'm using middleman 4.2.1, which has contracts as a dependency. So perhaps your extension isn't fully compatible with middleman's latest. I should be able to come up with a workaround that'll work for my purposes.

from middleman-inline.

miloshadzic avatar miloshadzic commented on July 19, 2024

Hm, I doubt that's the case –– I just updated the version on my blog to 4.2.1(it used to be 4.2.0) and It works.

from middleman-inline.

egermani avatar egermani commented on July 19, 2024

Oh, that is interesting. So your doubt gave me confidence that I'd messed something up in my config, and I started stripped stuff away.

In the end, the issue had nothing to do with your inliner. I had a custom layout that was to be applied only during the build process, and instead of applying it to just the subfolder that needed it, I gave it a path of *. This seems to have put everything in the source folder through the layout rendering process, including the stylesheets. Now that I've targeted that layout correctly, everything's happy, and things are being inlined no trouble.

Thanks!

from middleman-inline.

Related Issues (5)

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.