![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
github.com/gildesmarais/jekyll-loading-lazy
This plugin adds loading="lazy"
to all img
and iframe
tags on
your Jekyll site. No configuration needed.
If a loading
attribute is already present nothing is changed.
loading="lazy"
causes images and iframes to load lazily without any JavaScript.
Browser support is growing.
If a browser does not support the loading
attribute, it will directly
(read: blockingly) load the resource.
If you like it, be awesome and buy me a coffee ☕️. Thank you!
Add the following to your site's Gemfile
:
gem 'jekyll-loading-lazy'
add the following to your site's _config.yml
:
plugins:
- jekyll-loading-lazy
Note: if jekyll --version
is less than 3.5
use:
gems:
- jekyll-loading-lazy
In your terminal, execute:
bundle
(re)start your Jekyll server with:
jekyll serve
That's basically all there is.
In case you want to eager load some images/iframes, add loading="eager"
to their tags.
git commit -m 'Add cool feature'
)rake
Thanks to @keithmifsud's
jekyll-target-blank
whereon this Jekyll plugin largely bases.
FAQs
Unknown package
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.