Sign in

JS in Theme Overrides not being used

  • This topic has 2 replies, 2 voices, and was last updated 3 years, 3 months ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #3622
    Avatar photostephenfsnow

    I’ve been using theme overrides successfully with .hbs files in the theme-override/partials folder however the renderer seems to be ignoring any .js files in theme-override/assets/js directory. Would this maybe be a bug or is overriding .js files not a feature? I wasn’t able to confirm in the documentation.

    Thanks!

    #3623
    Avatar photoBob

    Hi stephenfsnow,

    Yes, this is how it works now, but the next release of Publii will allow you to put any file in the overridden assets folder.

    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!

    #3625
    Avatar photostephenfsnow

    Awesome! Thanks for the response.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘JS in Theme Overrides not being used’ is closed to new replies.