├── .github ├── FUNDING.yml └── workflows │ ├── gempush.yml │ └── ruby.yml ├── .rspec ├── .gitignore ├── Gemfile ├── spec ├── fixtures │ └── unit │ │ ├── _config.yml │ │ ├── _includes │ │ └── include.html │ │ ├── nothing.html │ │ ├── index.md │ │ ├── _docs │ │ ├── document-with-include.md │ │ └── document-with-liquid-tag.md │ │ ├── _posts │ │ ├── 2020-04-16-post-with-img.md │ │ ├── 2020-04-16-post-with-iframe.md │ │ ├── 2020-04-16-post-with-loading-img.md │ │ ├── 2020-04-16-post-with-loading-iframe.md │ │ └── 2018-05-22-post-with-multiple-markdown-images.md │ │ └── _layouts │ │ └── default.html ├── spec_helper.rb └── jekyll-loading_spec.rb ├── lib ├── jekyll-loading-lazy │ └── version.rb └── jekyll-loading-lazy.rb ├── .rubocop.yml ├── Rakefile ├── LICENSE.md ├── jekyll-loading-lazy.gemspec ├── README.md └── Gemfile.lock /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | github: gildesmarais 2 | -------------------------------------------------------------------------------- /.rspec: -------------------------------------------------------------------------------- 1 | --color 2 | --require spec_helper 3 | --order random 4 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /*.gem 2 | spec/fixtures/unit/.jekyll-cache 3 | pkg 4 | -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | source "https://rubygems.org" 4 | 5 | gemspec 6 | -------------------------------------------------------------------------------- /spec/fixtures/unit/_config.yml: -------------------------------------------------------------------------------- 1 | url: https://gil.desmarais.de 2 | collections: 3 | docs: 4 | output: true 5 | -------------------------------------------------------------------------------- /spec/fixtures/unit/_includes/include.html: -------------------------------------------------------------------------------- 1 | This is an include. It has an image.  2 | -------------------------------------------------------------------------------- /spec/fixtures/unit/nothing.html: -------------------------------------------------------------------------------- 1 | --- 2 | layout: default 3 | title: Nothing 4 | --- 5 | 6 |
Nothing to do in here.
7 | -------------------------------------------------------------------------------- /spec/fixtures/unit/index.md: -------------------------------------------------------------------------------- 1 | --- 2 | layout: default 3 | title: Just a page 4 | --- 5 | 6 | . 7 | -------------------------------------------------------------------------------- /lib/jekyll-loading-lazy/version.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | module Jekyll 4 | class LoadingLazy 5 | VERSION = "0.1.1" 6 | end 7 | end 8 | -------------------------------------------------------------------------------- /spec/fixtures/unit/_docs/document-with-include.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Document with include 3 | --- 4 | 5 | This is a document with an include: {% include include.html %} 6 | -------------------------------------------------------------------------------- /spec/fixtures/unit/_docs/document-with-liquid-tag.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Document with liquid tag 3 | --- 4 | 5 | This