├── .bundle └── config ├── .github ├── CODEOWNERS ├── ISSUE_TEMPLATE │ ├── bug_report.md │ └── feature_request.md ├── config.yml ├── dependabot.yml ├── funding.yml ├── no-response.yml ├── release-drafter.yml ├── settings.yml ├── stale.yml └── workflows │ ├── ci.rubocop.yml │ ├── ci.yml │ └── codeql-analysis.yml ├── .gitignore ├── .rspec ├── .rubocop.yml ├── .rubocop_todo.yml ├── Gemfile ├── LICENSE ├── README.md ├── docs ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md └── SECURITY.md ├── jekyll-default-layout.gemspec ├── lib ├── jekyll-default-layout.rb └── jekyll-default-layout │ ├── generator.rb │ └── version.rb ├── script ├── bootstrap └── cibuild └── spec ├── fixtures └── site │ ├── _collection_test │ └── document.md │ ├── _config.yml │ ├── _layouts │ ├── collection_test.html │ ├── default.html │ ├── home.html │ ├── page.html │ └── post.html │ ├── _posts │ └── 2016-01-01-post.md │ ├── file.html │ ├── index.md │ ├── page-with-layout.md │ ├── page.md │ └── with-defaults │ └── page-with-defaults.md ├── jekyll-default-layout └── generator_spec.rb └── spec_helper.rb /.bundle/config: -------------------------------------------------------------------------------- 1 | --- 2 | BUNDLE_PATH: "vendor/bundle" 3 | -------------------------------------------------------------------------------- /.github/CODEOWNERS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benbalter/jekyll-default-layout/HEAD/.github/CODEOWNERS -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benbalter/jekyll-default-layout/HEAD/.github/ISSUE_TEMPLATE/bug_report.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benbalter/jekyll-default-layout/HEAD/.github/ISSUE_TEMPLATE/feature_request.md -------------------------------------------------------------------------------- /.github/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benbalter/jekyll-default-layout/HEAD/.github/config.yml -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benbalter/jekyll-default-layout/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/funding.yml: -------------------------------------------------------------------------------- 1 | patreon: benbalter 2 | -------------------------------------------------------------------------------- /.github/no-response.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benbalter/jekyll-default-layout/HEAD/.github/no-response.yml -------------------------------------------------------------------------------- /.github/release-drafter.yml: -------------------------------------------------------------------------------- 1 | template: | 2 | ## What's Changed 3 | 4 | $CHANGES 5 | -------------------------------------------------------------------------------- /.github/settings.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benbalter/jekyll-default-layout/HEAD/.github/settings.yml -------------------------------------------------------------------------------- /.github/stale.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benbalter/jekyll-default-layout/HEAD/.github/stale.yml -------------------------------------------------------------------------------- /.github/workflows/ci.rubocop.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benbalter/jekyll-default-layout/HEAD/.github/workflows/ci.rubocop.yml -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benbalter/jekyll-default-layout/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.github/workflows/codeql-analysis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benbalter/jekyll-default-layout/HEAD/.github/workflows/codeql-analysis.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benbalter/jekyll-default-layout/HEAD/.gitignore -------------------------------------------------------------------------------- /.rspec: -------------------------------------------------------------------------------- 1 | --color 2 | --require spec_helper 3 | -------------------------------------------------------------------------------- /.rubocop.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benbalter/jekyll-default-layout/HEAD/.rubocop.yml -------------------------------------------------------------------------------- /.rubocop_todo.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benbalter/jekyll-default-layout/HEAD/.rubocop_todo.yml -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benbalter/jekyll-default-layout/HEAD/Gemfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benbalter/jekyll-default-layout/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benbalter/jekyll-default-layout/HEAD/README.md -------------------------------------------------------------------------------- /docs/CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benbalter/jekyll-default-layout/HEAD/docs/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /docs/CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benbalter/jekyll-default-layout/HEAD/docs/CONTRIBUTING.md -------------------------------------------------------------------------------- /docs/SECURITY.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benbalter/jekyll-default-layout/HEAD/docs/SECURITY.md -------------------------------------------------------------------------------- /jekyll-default-layout.gemspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benbalter/jekyll-default-layout/HEAD/jekyll-default-layout.gemspec -------------------------------------------------------------------------------- /lib/jekyll-default-layout.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benbalter/jekyll-default-layout/HEAD/lib/jekyll-default-layout.rb -------------------------------------------------------------------------------- /lib/jekyll-default-layout/generator.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benbalter/jekyll-default-layout/HEAD/lib/jekyll-default-layout/generator.rb -------------------------------------------------------------------------------- /lib/jekyll-default-layout/version.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | module JekyllDefaultLayout 4 | VERSION = "0.1.5" 5 | end 6 | -------------------------------------------------------------------------------- /script/bootstrap: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | set -e 4 | 5 | bundle install 6 | -------------------------------------------------------------------------------- /script/cibuild: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benbalter/jekyll-default-layout/HEAD/script/cibuild -------------------------------------------------------------------------------- /spec/fixtures/site/_collection_test/document.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benbalter/jekyll-default-layout/HEAD/spec/fixtures/site/_collection_test/document.md -------------------------------------------------------------------------------- /spec/fixtures/site/_config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benbalter/jekyll-default-layout/HEAD/spec/fixtures/site/_config.yml -------------------------------------------------------------------------------- /spec/fixtures/site/_layouts/collection_test.html: -------------------------------------------------------------------------------- 1 | COLLECTION_TEST LAYOUT 2 | {{ content }} -------------------------------------------------------------------------------- /spec/fixtures/site/_layouts/default.html: -------------------------------------------------------------------------------- 1 | DEFAULT LAYOUT 2 | 3 | {{ content }} 4 | -------------------------------------------------------------------------------- /spec/fixtures/site/_layouts/home.html: -------------------------------------------------------------------------------- 1 | HOME LAYOUT 2 | 3 | {{ content }} 4 | -------------------------------------------------------------------------------- /spec/fixtures/site/_layouts/page.html: -------------------------------------------------------------------------------- 1 | PAGE LAYOUT 2 | 3 | {{ content }} 4 | -------------------------------------------------------------------------------- /spec/fixtures/site/_layouts/post.html: -------------------------------------------------------------------------------- 1 | POST LAYOUT 2 | 3 | {{ content }} 4 | -------------------------------------------------------------------------------- /spec/fixtures/site/_posts/2016-01-01-post.md: -------------------------------------------------------------------------------- 1 | --- 2 | --- 3 | 4 | # Post 5 | -------------------------------------------------------------------------------- /spec/fixtures/site/file.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benbalter/jekyll-default-layout/HEAD/spec/fixtures/site/file.html -------------------------------------------------------------------------------- /spec/fixtures/site/index.md: -------------------------------------------------------------------------------- 1 | --- 2 | --- 3 | 4 | # The index 5 | -------------------------------------------------------------------------------- /spec/fixtures/site/page-with-layout.md: -------------------------------------------------------------------------------- 1 | --- 2 | layout: foo 3 | --- 4 | -------------------------------------------------------------------------------- /spec/fixtures/site/page.md: -------------------------------------------------------------------------------- 1 | --- 2 | --- 3 | 4 | # Page 5 | -------------------------------------------------------------------------------- /spec/fixtures/site/with-defaults/page-with-defaults.md: -------------------------------------------------------------------------------- 1 | --- 2 | --- 3 | 4 | # Page with defaults 5 | -------------------------------------------------------------------------------- /spec/jekyll-default-layout/generator_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benbalter/jekyll-default-layout/HEAD/spec/jekyll-default-layout/generator_spec.rb -------------------------------------------------------------------------------- /spec/spec_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benbalter/jekyll-default-layout/HEAD/spec/spec_helper.rb --------------------------------------------------------------------------------