3

In my recent efforts to understand, maintain & add features to an existing website, built with Jekyll, I have posted a few questions (see this & this).

I have added a js slider plugin on the home page. The CSS file that came with the slider was added to the folder: '/assets/'

And then imported in the '_assets/css/app.scss' sass file: @import "flexslider.css;

Now everything is running fine in browsers, including latest Firefox, Chrome, Opera & Edge upto version 16. Edge 17 (latest) is flagging up an error with a message:

SEC7136: The origin 'http://staging.whatever.com' failed an integrity check for a style resource 'http://staging.whatever.com/assets/flexslider.css'

I do not understand why Edge 17 would be the only one flagging this & what the integrity check is all about, it appears to be related to some sort of security check fail.

My main question is, is the above method of appending a CSS file in a jekyll project correct? Is there a recommended way of importing css files within project?

Kayote
  • 14,579
  • 25
  • 85
  • 144
  • 1
    please see this reply: https://stackoverflow.com/a/51098088/434697 – Kayote Jun 29 '18 at 09:43
  • This may also help with importing `.css` into `.scss` https://stackoverflow.com/questions/7111610/import-regular-css-file-in-scss-file – DC.Azndj Jun 29 '18 at 13:30

0 Answers0