Download
We're evolving to serve you better! This current forum has transitioned to read-only mode. For new discussions, support, and engagement, we've moved to GitHub Discussions.

Is there a helper that points to the theme override directory?

  • #2326
    Avatar photo[anonymous]

    Hello Publii Developers,

    Instead of using the content delivery network of Font Awesome I want to add the CSS en JS files locally to my website. I put the files in the CSS and JS  directory of the theme override. Now my question: how can I generate the addresses to these folders?

    For example: the location of the CSS file is:

    /taste-override/assets/css/FontAwesome/css/all.css

    The helper {{css}} point to the CSS directory of the official theme (/taste/assets/css).

    Is there a helper that I can use to point to the theme override directory (/taste-override/)?

    Thanks in advance,

    Verhoeckx

    #2374
    Avatar photo[anonymous]

    Hi,

    Good point – there are no such helper, but we should add it – I will try to do it in the nearest release 🙂

    #2391
    Avatar photo[anonymous]

    Hello Tomasz,

    Ah, that would be great!!

    Thanks in advance!

    Verhoeckx

    #3341
    Avatar photo[anonymous]

    Hi,

    For your information – fix for this issue will be included in v.0.37: https://github.com/GetPublii/Publii/issues/794

    #3342
    Avatar photo[anonymous]

    Oh, that’s great!

    I was already wondering if this feature was added or not.

    Totally different question:

    Is there a plan to add the ability to add tables in the new Block Editor?