Sign in

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

  • This topic has 4 replies, 2 voices, and was last updated 3 years, 1 month ago by .
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #2326
    Avatar photoVerhoeckx

    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 photoTomasz Dziuda

    Hi,

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

    --
    Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!

    #2391
    Avatar photoVerhoeckx

    Hello Tomasz,

    Ah, that would be great!!

    Thanks in advance!

    Verhoeckx

     

    #3341
    Avatar photoTomasz Dziuda

    Hi,

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

    --
    Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!

    #3342
    Avatar photoVerhoeckx

    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?

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.