├── docs ├── CNAME ├── latest_version.txt ├── .gitignore ├── favicon.ico ├── img │ ├── logo-2x.png │ ├── logo-rss.png │ ├── octojekyll.png │ ├── footer-arrow.png │ ├── footer-logo.png │ ├── twitter-card.png │ ├── article-footer.png │ ├── jekyll-sticker.jpg │ └── jekylllayoutconcept.png ├── fonts │ ├── FontAwesome.eot │ ├── FontAwesome.ttf │ └── FontAwesome.woff ├── redirects │ ├── github.html │ └── issues.html ├── css │ └── screen.scss ├── news │ ├── index.html │ └── releases │ │ └── index.html ├── _includes │ ├── docs_contents.html │ ├── docs_option.html │ ├── tutorials_option.html │ ├── tutorials_contents.html │ ├── docs_ul.html │ ├── tutorials_ul.html │ ├── docs_contents_mobile.html │ ├── tutorials_contents_mobile.html │ ├── news_contents_mobile.html │ ├── primary-nav-items.html │ ├── header.html │ ├── footer.html │ ├── news_item.html │ ├── top.html │ ├── news_contents.html │ ├── analytics.html │ └── anchor_links.html ├── _data │ ├── tutorials.yml │ └── docs.yml ├── _layouts │ ├── default.html │ ├── page.html │ ├── news.html │ ├── error.html │ ├── news_item.html │ ├── docs.html │ └── tutorials.html ├── _docs │ ├── migrations.md │ ├── continuous-integration │ │ └── index.md │ ├── drafts.md │ ├── sites.md │ ├── maintaining │ │ └── index.md │ ├── upgrading.md │ ├── support.md │ └── extras.md ├── _posts │ ├── 2016-05-18-jekyll-3-1-5-released.markdown │ ├── 2013-12-09-jekyll-1-4-1-released.markdown │ ├── 2014-11-12-jekyll-2-5-2-released.markdown │ ├── 2013-10-28-jekyll-1-3-0-rc1-released.markdown │ ├── 2016-11-14-jekyll-3-3-1-released.markdown │ ├── 2013-12-16-jekyll-1-4-2-released.markdown │ ├── 2014-07-29-jekyll-2-2-0-released.markdown │ ├── 2016-05-19-jekyll-3-1-6-released.markdown │ ├── 2014-03-24-jekyll-1-5-0-released.markdown │ ├── 2016-04-19-jekyll-3-1-3-released.markdown │ ├── 2016-01-20-jekyll-3-0-2-released.markdown │ ├── 2014-12-22-jekyll-2-5-3-released.markdown │ ├── 2013-09-14-jekyll-1-2-1-released.markdown │ ├── 2015-02-26-introducing-jekyll-talk.markdown │ ├── 2014-03-27-jekyll-1-5-1-released.markdown │ ├── 2013-11-26-jekyll-1-3-1-released.markdown │ ├── 2015-01-20-jekyll-meet-and-greet.markdown │ ├── 2014-06-04-jekyll-stickers-1-dollar-stickermule.markdown │ ├── 2013-06-07-jekyll-1-0-3-released.markdown │ ├── 2016-08-02-jekyll-3-2-1-released.markdown │ ├── 2016-04-26-jekyll-3-0-5-released.markdown │ ├── 2013-07-25-jekyll-1-0-4-released.markdown │ ├── 2013-07-25-jekyll-1-1-2-released.markdown │ ├── 2014-05-08-jekyll-2-0-3-released.markdown │ ├── 2016-04-19-jekyll-3-0-4-released.markdown │ ├── 2014-07-01-jekyll-2-1-1-released.markdown │ ├── 2013-07-24-jekyll-1-1-1-released.markdown │ ├── 2014-12-17-alfredxing-welcome-to-jekyll-core.md │ ├── 2017-07-17-jekyll-3-5-1-released.markdown │ ├── 2015-11-17-jekyll-3-0-1-released.markdown │ ├── 2013-05-06-jekyll-1-0-0-released.markdown │ ├── 2013-05-08-jekyll-1-0-1-released.markdown │ ├── 2013-07-14-jekyll-1-1-0-released.markdown │ ├── 2013-09-06-jekyll-1-2-0-released.markdown │ ├── 2013-05-12-jekyll-1-0-2-released.markdown │ ├── 2016-02-08-jekyll-3-0-3-released.markdown │ ├── 2013-12-07-jekyll-1-4-0-released.markdown │ ├── 2014-01-13-jekyll-1-4-3-released.markdown │ ├── 2017-09-21-jekyll-3-6-0-released.markdown │ ├── 2016-02-19-jekyll-3-1-2-released.markdown │ ├── 2014-11-08-jekyll-2-5-1-released.markdown │ ├── 2016-05-18-jekyll-3-1-4-released.markdown │ ├── 2015-01-24-jekyll-3-0-0-beta1-released.markdown │ ├── 2016-01-28-jekyll-3-1-1-released.markdown │ ├── 2017-08-12-jekyll-3-5-2-released.markdown │ ├── 2014-09-09-jekyll-2-4-0-released.markdown │ └── 2014-06-28-jekyll-turns-21-i-mean-2-1-0.markdown ├── _sass │ ├── _font-awesome.scss │ └── _mixins.scss ├── readme.md ├── 404.html ├── community │ └── index.md └── _config.yml ├── test ├── safe_glob_test[ │ └── find_me.txt ├── source │ ├── _includes │ │ ├── tmp │ │ ├── include.html │ │ ├── sig.markdown │ │ └── params.html │ ├── symlink-test │ │ ├── _data │ │ ├── symlinked-dir │ │ └── symlinked-file │ ├── _data │ │ ├── products.yml │ │ ├── languages.yml │ │ ├── categories │ │ │ └── dairy.yaml │ │ ├── categories.01 │ │ │ └── dairy.yaml │ │ ├── members.yaml │ │ └── members.json │ ├── _methods │ │ ├── um_hi.md │ │ ├── with.dots │ │ │ ├── .htaccess │ │ │ └── .gitignore │ │ ├── site │ │ │ ├── initialize.md │ │ │ ├── generate.md │ │ │ └── _dont_include_me_either.md │ │ ├── escape-+ #%20[].md │ │ ├── 3940394-21-9393050-fifif1323-test.md │ │ ├── _do_not_read_me.md │ │ ├── sanitized_path.md │ │ ├── collection │ │ │ └── entries │ │ ├── yaml_with_dots.md │ │ └── configuration.md │ ├── _layouts │ │ ├── simple.html │ │ ├── post │ │ │ └── simple.html │ │ └── default.html │ ├── _sass │ │ └── _grid.scss │ ├── _includes_custom │ │ └── custom.html │ ├── _posts │ │ ├── 2009-06-22-no-yaml.markdown │ │ ├── 2013-03-19-not-a-post.markdown │ │ │ └── .gitkeep │ │ ├── 2011-04-12-text-extension.text │ │ ├── 2013-08-01-mkdn-extension.mkdn │ │ ├── 2014-11-24-Rmd-extension.Rmd │ │ ├── 2009-06-22-empty-yaml.markdown │ │ ├── include_relative │ │ │ ├── rel_include.html │ │ │ └── params.html │ │ ├── 2009-05-18-empty-tag.markdown │ │ ├── 2009-05-18-tag.markdown │ │ ├── 2010-01-08-triple-dash.markdown │ │ ├── 2009-05-18-empty-tags.markdown │ │ ├── 2015-12-27-extra-spaces.markdown │ │ ├── 2009-03-12-hash-#1.markdown │ │ ├── 2014-03-03-yaml-with-dots.md │ │ ├── 2014-01-06-permalink-traversal.md │ │ ├── 2013-01-12-nil-layout.markdown │ │ ├── 2009-01-27-no-category.markdown │ │ ├── 2014-03-22-escape-+ %20[].markdown │ │ ├── 2010-01-16-override-data.markdown │ │ ├── 2008-10-18-foo-bar.markdown │ │ ├── 2013-01-12-no-layout.markdown │ │ ├── 2009-01-27-category.markdown │ │ ├── 2009-01-27-empty-category.markdown │ │ ├── 2009-05-18-tags.markdown │ │ ├── 2008-12-13-include.markdown │ │ ├── 2009-01-27-empty-categories.markdown │ │ ├── 2008-02-02-published.markdown │ │ ├── 2013-05-10-number-category.markdown │ │ ├── 2008-11-21-complex.markdown │ │ ├── 2009-01-27-categories.markdown │ │ ├── 2010-01-09-date-override.markdown │ │ ├── 2015-02-20-extensionless-permalink.markdown │ │ ├── 2010-01-09-time-override.markdown │ │ ├── 2014-07-05-mixed-case-category.markdown │ │ ├── es │ │ │ └── 2008-11-21-nested.markdown │ │ ├── 2016-11-26-special-chars-(+).markdown │ │ ├── 2008-02-02-not-published.markdown │ │ ├── 2014-07-05-another-mixed-case-category.markdown │ │ ├── 2017-2-5-i-dont-like-zeroes.md │ │ ├── 2010-01-09-timezone-override.markdown │ │ ├── 2009-01-27-array-categories.markdown │ │ ├── 2008-12-03-permalinked-post.markdown │ │ ├── 2013-12-20-properties.text │ │ ├── 2013-04-11-custom-excerpt.markdown │ │ ├── 2013-01-02-post-excerpt.markdown │ │ ├── 2015-01-08-post-excerpt-separator.markdown │ │ ├── 2011-04-12-md-extension.md │ │ ├── 2013-07-22-post-excerpt-with-layout.markdown │ │ ├── 2016-08-16-indented-link-references.markdown │ │ ├── 2013-12-17-include-variable-filters.markdown │ │ └── 2014-09-02-relative-includes.markdown │ ├── assets │ │ ├── base.js │ │ └── application.coffee │ ├── css │ │ ├── main.scss │ │ └── screen.css │ ├── _thanksgiving │ │ ├── black-friday.md │ │ └── 2015-11-26-thanksgiving.md │ ├── _with.dots │ │ ├── all.dots │ │ │ └── 2.4.0.md │ │ ├── file.with.dots.md │ │ ├── mit.txt │ │ └── permalink.with.slash.tho.md │ ├── _broken │ │ └── bad_post.md │ ├── _slides │ │ ├── example-slide-5.html │ │ ├── example-slide-1.html │ │ ├── octojekyll.png │ │ ├── example-slide-Upper-Cased.html │ │ ├── example-slide-3.html │ │ ├── example-slide-2.html │ │ ├── non-outputted-slide.html │ │ ├── example-slide-7.md │ │ ├── example-slide-4.html │ │ └── example-slide-6.html │ ├── products.yml │ ├── about.html │ ├── contacts.html │ ├── exploit.md │ ├── _config.dev.toml │ ├── contacts │ │ ├── bar.html │ │ ├── index.html │ │ └── humans.txt │ ├── pgp.key │ ├── environment.html │ ├── info.md │ ├── _urls_differ_by_case_invalid │ │ ├── page1.html │ │ └── page2.html │ ├── _urls_differ_by_case_valid │ │ └── page1.html │ ├── deal.with.dots.html │ ├── dynamic_file.php │ ├── + │ │ ├── %# +.md │ │ └── foo.md │ ├── category │ │ └── _posts │ │ │ └── 2008-09-23-categories.markdown │ ├── _encodings │ │ ├── Unicode16LECRLFandBOM.md │ │ └── UTF8CRLFandBOM.md │ ├── unpublished.html │ ├── properties.html │ ├── win │ │ └── _posts │ │ │ └── 2009-05-24-yaml-linebreak.markdown │ ├── z_category │ │ └── _posts │ │ │ └── 2008-09-23-categories.markdown │ ├── foo │ │ └── _posts │ │ │ └── bar │ │ │ └── 2008-12-12-topical-post.markdown │ ├── .htaccess │ ├── _plugins │ │ └── dummy.rb │ ├── static_files.html │ ├── _drafts │ │ └── draft-properties.text │ ├── _config_folded.yml │ ├── js │ │ └── coffeescript.coffee │ ├── index.html │ └── sitemap.xml ├── fixtures │ ├── test-theme │ │ ├── _symlink │ │ ├── assets │ │ │ ├── img │ │ │ │ ├── another-logo.png │ │ │ │ └── logo.png │ │ │ ├── base.js │ │ │ ├── application.coffee │ │ │ └── style.scss │ │ ├── _sass │ │ │ ├── test-theme-red.scss │ │ │ └── test-theme-black.scss │ │ ├── _layouts │ │ │ └── default.html │ │ ├── _includes │ │ │ └── include.html │ │ └── test-theme.gemspec │ ├── empty_permalink.erb │ ├── front_matter.erb │ ├── broken_front_matter2.erb │ ├── exploit_front_matter.erb │ ├── broken_front_matter1.erb │ ├── broken_front_matter3.erb │ └── test-dependency-theme │ │ └── test-dependency-theme.gemspec ├── simplecov_custom_profile.rb ├── test_data_reader.rb ├── test_site_drop.rb ├── test_ansi.rb ├── test_command.rb ├── test_liquid_renderer.rb ├── test_sass.rb ├── test_liquid_extensions.rb ├── test_rdiscount.rb ├── test_layout_reader.rb ├── test_coffeescript.rb ├── test_excerpt_drop.rb └── test_doctor_command.rb ├── lib ├── theme_template │ ├── _layouts │ │ ├── default.html │ │ ├── page.html │ │ └── post.html │ ├── example │ │ ├── _config.yml.erb │ │ ├── style.scss │ │ ├── _post.md │ │ └── index.html │ ├── gitignore.erb │ ├── Gemfile │ ├── theme.gemspec.erb │ └── LICENSE.txt.erb ├── site_template │ ├── .gitignore │ ├── index.md │ ├── 404.html │ ├── about.md │ └── _posts │ │ └── 0000-00-00-welcome-to-jekyll.markdown.erb └── jekyll │ ├── version.rb │ ├── generator.rb │ ├── drops │ ├── excerpt_drop.rb │ ├── static_file_drop.rb │ ├── collection_drop.rb │ ├── unified_payload_drop.rb │ ├── jekyll_drop.rb │ └── site_drop.rb │ ├── converters │ ├── identity.rb │ ├── smartypants.rb │ └── markdown │ │ └── rdiscount_parser.rb │ ├── utils │ ├── rouge.rb │ ├── exec.rb │ └── internet.rb │ ├── publisher.rb │ ├── readers │ ├── collection_reader.rb │ ├── static_file_reader.rb │ ├── page_reader.rb │ └── theme_assets_reader.rb │ ├── liquid_extensions.rb │ ├── errors.rb │ ├── commands │ ├── help.rb │ ├── new_theme.rb │ └── clean.rb │ ├── tags │ └── link.rb │ ├── liquid_renderer.rb │ ├── related_posts.rb │ ├── liquid_renderer │ └── file.rb │ └── stevenson.rb ├── .jrubyrc ├── script ├── bootstrap ├── cucumber ├── fmt ├── cibuild ├── rubies ├── rubyprof ├── branding ├── default-site ├── proof ├── console ├── test ├── travis ├── stackprof └── vendor-mimes ├── .github ├── first-timers.yml └── SUPPORT.markdown ├── benchmark ├── symbol-to-proc ├── string-concat ├── sequential-assignment ├── proc-call-vs-yield ├── hash-fetch ├── string-replacement ├── flat-map ├── capture-assign.rb ├── end-with-vs-regexp └── file-dir-ensure-trailing-slash ├── .editorconfig ├── .gitignore ├── .codeclimate.yml ├── rake ├── docs.rake └── release.rake ├── features └── highlighting.feature ├── appveyor.yml ├── LICENSE └── .travis.yml /docs/CNAME: -------------------------------------------------------------------------------- 1 | jekyllrb.com 2 | -------------------------------------------------------------------------------- /docs/latest_version.txt: -------------------------------------------------------------------------------- 1 | 3.6.2 2 | -------------------------------------------------------------------------------- /test/safe_glob_test[/find_me.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/source/_includes/tmp: -------------------------------------------------------------------------------- 1 | ../../../tmp/ -------------------------------------------------------------------------------- /test/source/symlink-test/_data: -------------------------------------------------------------------------------- 1 | ../_data -------------------------------------------------------------------------------- /test/fixtures/test-theme/_symlink: -------------------------------------------------------------------------------- 1 | _layouts -------------------------------------------------------------------------------- /test/source/_data/products.yml: -------------------------------------------------------------------------------- 1 | ../products.yml -------------------------------------------------------------------------------- /test/source/_includes/include.html: -------------------------------------------------------------------------------- 1 | included 2 | -------------------------------------------------------------------------------- /test/source/_methods/um_hi.md: -------------------------------------------------------------------------------- 1 | ./site/generate.md -------------------------------------------------------------------------------- /test/source/symlink-test/symlinked-dir: -------------------------------------------------------------------------------- 1 | ../css -------------------------------------------------------------------------------- /test/source/_data/languages.yml: -------------------------------------------------------------------------------- 1 | - java 2 | - ruby 3 | -------------------------------------------------------------------------------- /test/source/_layouts/simple.html: -------------------------------------------------------------------------------- 1 | <<< {{ content }} >>> -------------------------------------------------------------------------------- /test/source/_sass/_grid.scss: -------------------------------------------------------------------------------- 1 | .half { width: 50%; } -------------------------------------------------------------------------------- /test/source/symlink-test/symlinked-file: -------------------------------------------------------------------------------- 1 | ../index.html -------------------------------------------------------------------------------- /lib/theme_template/_layouts/default.html: -------------------------------------------------------------------------------- 1 | {{ content }} 2 | -------------------------------------------------------------------------------- /test/source/_includes_custom/custom.html: -------------------------------------------------------------------------------- 1 | custom_included -------------------------------------------------------------------------------- /test/source/_posts/2009-06-22-no-yaml.markdown: -------------------------------------------------------------------------------- 1 | No YAML. -------------------------------------------------------------------------------- /test/source/_posts/2013-03-19-not-a-post.markdown/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/source/assets/base.js: -------------------------------------------------------------------------------- 1 | alert("From your site."); 2 | -------------------------------------------------------------------------------- /docs/.gitignore: -------------------------------------------------------------------------------- 1 | _site/ 2 | *.swp 3 | pkg/ 4 | test/ 5 | .idea/ -------------------------------------------------------------------------------- /test/fixtures/test-theme/assets/img/another-logo.png: -------------------------------------------------------------------------------- 1 | logo.png -------------------------------------------------------------------------------- /test/source/_layouts/post/simple.html: -------------------------------------------------------------------------------- 1 | <<< {{ content }} >>> 2 | -------------------------------------------------------------------------------- /test/source/_methods/with.dots/.htaccess: -------------------------------------------------------------------------------- 1 | I should be copied 2 | -------------------------------------------------------------------------------- /test/source/css/main.scss: -------------------------------------------------------------------------------- 1 | --- 2 | --- 3 | 4 | @import "grid"; -------------------------------------------------------------------------------- /test/source/_methods/with.dots/.gitignore: -------------------------------------------------------------------------------- 1 | I should be copied 2 | -------------------------------------------------------------------------------- /lib/theme_template/example/_config.yml.erb: -------------------------------------------------------------------------------- 1 | theme: <%= theme_name %> 2 | -------------------------------------------------------------------------------- /test/fixtures/test-theme/assets/base.js: -------------------------------------------------------------------------------- 1 | alert("From your theme."); 2 | -------------------------------------------------------------------------------- /test/source/_posts/2011-04-12-text-extension.text: -------------------------------------------------------------------------------- 1 | Best **post** ever 2 | -------------------------------------------------------------------------------- /test/source/_posts/2013-08-01-mkdn-extension.mkdn: -------------------------------------------------------------------------------- 1 | Best **post** ever 2 | -------------------------------------------------------------------------------- /test/source/_posts/2014-11-24-Rmd-extension.Rmd: -------------------------------------------------------------------------------- 1 | Best **post** ever 2 | -------------------------------------------------------------------------------- /lib/site_template/.gitignore: -------------------------------------------------------------------------------- 1 | _site 2 | .sass-cache 3 | .jekyll-metadata 4 | -------------------------------------------------------------------------------- /test/source/_posts/2009-06-22-empty-yaml.markdown: -------------------------------------------------------------------------------- 1 | --- 2 | --- 3 | Empty YAML. -------------------------------------------------------------------------------- /test/source/_posts/include_relative/rel_include.html: -------------------------------------------------------------------------------- 1 | relative_included 2 | -------------------------------------------------------------------------------- /test/source/_thanksgiving/black-friday.md: -------------------------------------------------------------------------------- 1 | --- 2 | --- 3 | {{ page.title }} 4 | -------------------------------------------------------------------------------- /.jrubyrc: -------------------------------------------------------------------------------- 1 | backtrace.mask=true 2 | backtrace.color=true 3 | backtrace.style=mri 4 | -------------------------------------------------------------------------------- /test/source/assets/application.coffee: -------------------------------------------------------------------------------- 1 | --- 2 | --- 3 | alert "From your site." 4 | -------------------------------------------------------------------------------- /script/bootstrap: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | script/branding 4 | bundle install -j8 5 | -------------------------------------------------------------------------------- /test/fixtures/empty_permalink.erb: -------------------------------------------------------------------------------- 1 | --- 2 | permalink: '' 3 | --- 4 | Empty Permalink 5 | -------------------------------------------------------------------------------- /test/fixtures/test-theme/_sass/test-theme-red.scss: -------------------------------------------------------------------------------- 1 | .sample { 2 | color: red; 3 | } 4 | -------------------------------------------------------------------------------- /test/source/_includes/sig.markdown: -------------------------------------------------------------------------------- 1 | --- 2 | Tom Preston-Werner 3 | github.com/mojombo 4 | -------------------------------------------------------------------------------- /test/source/_methods/site/initialize.md: -------------------------------------------------------------------------------- 1 | --- 2 | --- 3 | 4 | Page without title. 5 | -------------------------------------------------------------------------------- /test/source/_with.dots/all.dots/2.4.0.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: v2.4.0 3 | --- 4 | 5 | v2.4.0 -------------------------------------------------------------------------------- /test/source/_with.dots/file.with.dots.md: -------------------------------------------------------------------------------- 1 | --- 2 | --- 3 | 4 | I'm a file with dots. 5 | -------------------------------------------------------------------------------- /docs/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Adrianotiger/jekyll/master/docs/favicon.ico -------------------------------------------------------------------------------- /test/fixtures/front_matter.erb: -------------------------------------------------------------------------------- 1 | --- 2 | test: good 3 | --- 4 | Real content starts here 5 | -------------------------------------------------------------------------------- /test/fixtures/test-theme/_sass/test-theme-black.scss: -------------------------------------------------------------------------------- 1 | .sample { 2 | color: black; 3 | } 4 | -------------------------------------------------------------------------------- /test/source/_broken/bad_post.md: -------------------------------------------------------------------------------- 1 | --- 2 | bad yaml: [ 3 | --- 4 | Real content starts here 5 | -------------------------------------------------------------------------------- /test/source/_slides/example-slide-5.html: -------------------------------------------------------------------------------- 1 | --- 2 | layout: slide 3 | --- 4 | 5 | Wooot 6 | -------------------------------------------------------------------------------- /test/source/products.yml: -------------------------------------------------------------------------------- 1 | - name: sugar 2 | price: 5.3 3 | - name: salt 4 | price: 2.5 5 | -------------------------------------------------------------------------------- /docs/img/logo-2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Adrianotiger/jekyll/master/docs/img/logo-2x.png -------------------------------------------------------------------------------- /lib/theme_template/_layouts/page.html: -------------------------------------------------------------------------------- 1 | --- 2 | layout: default 3 | --- 4 | 5 | {{ content }} 6 | -------------------------------------------------------------------------------- /lib/theme_template/_layouts/post.html: -------------------------------------------------------------------------------- 1 | --- 2 | layout: default 3 | --- 4 | 5 | {{ content }} 6 | -------------------------------------------------------------------------------- /lib/theme_template/gitignore.erb: -------------------------------------------------------------------------------- 1 | *.gem 2 | .bundle 3 | .sass-cache 4 | _site 5 | Gemfile.lock 6 | -------------------------------------------------------------------------------- /test/fixtures/test-theme/_layouts/default.html: -------------------------------------------------------------------------------- 1 | default.html from test-theme: {{ content }} 2 | -------------------------------------------------------------------------------- /test/fixtures/test-theme/assets/application.coffee: -------------------------------------------------------------------------------- 1 | --- 2 | --- 3 | alert "From your theme." 4 | -------------------------------------------------------------------------------- /test/source/_thanksgiving/2015-11-26-thanksgiving.md: -------------------------------------------------------------------------------- 1 | --- 2 | --- 3 | Happy {{ page.title }} ! 4 | -------------------------------------------------------------------------------- /docs/img/logo-rss.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Adrianotiger/jekyll/master/docs/img/logo-rss.png -------------------------------------------------------------------------------- /docs/img/octojekyll.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Adrianotiger/jekyll/master/docs/img/octojekyll.png -------------------------------------------------------------------------------- /test/fixtures/broken_front_matter2.erb: -------------------------------------------------------------------------------- 1 | --- 2 | bad yaml: [ 3 | --- 4 | Real content starts here 5 | -------------------------------------------------------------------------------- /test/source/about.html: -------------------------------------------------------------------------------- 1 | --- 2 | title: About 3 | permalink: /about/ 4 | --- 5 | 6 | About the site 7 | -------------------------------------------------------------------------------- /test/source/contacts.html: -------------------------------------------------------------------------------- 1 | --- 2 | title: Contact Information 3 | --- 4 | 5 | Contact Information 6 | -------------------------------------------------------------------------------- /test/source/exploit.md: -------------------------------------------------------------------------------- 1 | --- 2 | permalink: /%2e%2e/%2e%2e/%2e%2e/baddie.html 3 | --- 4 | 5 | # Test 6 | -------------------------------------------------------------------------------- /docs/img/footer-arrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Adrianotiger/jekyll/master/docs/img/footer-arrow.png -------------------------------------------------------------------------------- /docs/img/footer-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Adrianotiger/jekyll/master/docs/img/footer-logo.png -------------------------------------------------------------------------------- /docs/img/twitter-card.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Adrianotiger/jekyll/master/docs/img/twitter-card.png -------------------------------------------------------------------------------- /test/fixtures/test-theme/_includes/include.html: -------------------------------------------------------------------------------- 1 | include.html from test-theme 2 | -------------------------------------------------------------------------------- /test/source/_config.dev.toml: -------------------------------------------------------------------------------- 1 | baseurl = "/you-beautiful-blog-you" 2 | title = "My magnificent site, wut" 3 | -------------------------------------------------------------------------------- /test/source/_methods/escape-+ #%20[].md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Jekyll.escape" 3 | --- 4 | 5 | Signs are nice 6 | -------------------------------------------------------------------------------- /test/source/_posts/2009-05-18-empty-tag.markdown: -------------------------------------------------------------------------------- 1 | --- 2 | title: A Tag 3 | tag: 4 | --- 5 | 6 | Whoa. 7 | -------------------------------------------------------------------------------- /test/source/_posts/2009-05-18-tag.markdown: -------------------------------------------------------------------------------- 1 | --- 2 | title: A Tag 3 | tag: code 4 | --- 5 | 6 | Whoa. 7 | -------------------------------------------------------------------------------- /test/source/_with.dots/mit.txt: -------------------------------------------------------------------------------- 1 | --- 2 | --- 3 | 4 | I should be output to `/with.dots/mit/index.html`. 5 | -------------------------------------------------------------------------------- /test/source/contacts/bar.html: -------------------------------------------------------------------------------- 1 | --- 2 | title: Contact Information 3 | --- 4 | 5 | Contact Information 6 | -------------------------------------------------------------------------------- /test/source/contacts/index.html: -------------------------------------------------------------------------------- 1 | --- 2 | title: Contact Information 3 | --- 4 | 5 | Contact Information 6 | -------------------------------------------------------------------------------- /test/source/pgp.key: -------------------------------------------------------------------------------- 1 | -----BEGIN PGP PUBLIC KEY BLOCK----- 2 | Version: GnuPG/MacGPG2 v2.0.17 (Darwin) 3 | -------------------------------------------------------------------------------- /docs/fonts/FontAwesome.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Adrianotiger/jekyll/master/docs/fonts/FontAwesome.eot -------------------------------------------------------------------------------- /docs/fonts/FontAwesome.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Adrianotiger/jekyll/master/docs/fonts/FontAwesome.ttf -------------------------------------------------------------------------------- /docs/fonts/FontAwesome.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Adrianotiger/jekyll/master/docs/fonts/FontAwesome.woff -------------------------------------------------------------------------------- /docs/img/article-footer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Adrianotiger/jekyll/master/docs/img/article-footer.png -------------------------------------------------------------------------------- /docs/img/jekyll-sticker.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Adrianotiger/jekyll/master/docs/img/jekyll-sticker.jpg -------------------------------------------------------------------------------- /lib/theme_template/Gemfile: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | source "https://rubygems.org" 4 | gemspec 5 | -------------------------------------------------------------------------------- /script/cucumber: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | time ruby -S bundle exec cucumber \ 4 | --format progress "$@" 5 | -------------------------------------------------------------------------------- /test/source/_posts/2010-01-08-triple-dash.markdown: -------------------------------------------------------------------------------- 1 | --- 2 | title: Foo --- Bar 3 | --- 4 | 5 | Triple the fun! -------------------------------------------------------------------------------- /lib/jekyll/version.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | module Jekyll 4 | VERSION = "3.6.0".freeze 5 | end 6 | -------------------------------------------------------------------------------- /test/source/_methods/3940394-21-9393050-fifif1323-test.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "this is a test!" 3 | --- 4 | 5 | wheee 6 | -------------------------------------------------------------------------------- /test/source/_posts/2009-05-18-empty-tags.markdown: -------------------------------------------------------------------------------- 1 | --- 2 | title: Some Tags 3 | tags: 4 | --- 5 | 6 | Awesome! 7 | -------------------------------------------------------------------------------- /test/source/_posts/2015-12-27-extra-spaces.markdown: -------------------------------------------------------------------------------- 1 | --- 2 | extra: spaces 3 | --- 4 | 5 | Best **post** ever 6 | -------------------------------------------------------------------------------- /test/source/_slides/example-slide-1.html: -------------------------------------------------------------------------------- 1 | --- 2 | title: Example slide 3 | layout: slide 4 | --- 5 | 6 | Wooot 7 | -------------------------------------------------------------------------------- /docs/img/jekylllayoutconcept.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Adrianotiger/jekyll/master/docs/img/jekylllayoutconcept.png -------------------------------------------------------------------------------- /docs/redirects/github.html: -------------------------------------------------------------------------------- 1 | --- 2 | permalink: /github.html 3 | redirect_to: https://github.com/jekyll/jekyll 4 | --- 5 | -------------------------------------------------------------------------------- /test/fixtures/exploit_front_matter.erb: -------------------------------------------------------------------------------- 1 | --- 2 | test: !ruby/hash:DoesNotExist {} 3 | --- 4 | Real content starts here 5 | -------------------------------------------------------------------------------- /docs/redirects/issues.html: -------------------------------------------------------------------------------- 1 | --- 2 | permalink: /issues.html 3 | redirect_to: https://github.com/jekyll/jekyll/issues 4 | --- 5 | -------------------------------------------------------------------------------- /lib/jekyll/generator.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | module Jekyll 4 | Generator = Class.new(Plugin) 5 | end 6 | -------------------------------------------------------------------------------- /test/fixtures/test-theme/assets/style.scss: -------------------------------------------------------------------------------- 1 | --- 2 | --- 3 | @import "test-theme-{{ site.theme-color | default: "red" }}"; 4 | -------------------------------------------------------------------------------- /test/source/_posts/2009-03-12-hash-#1.markdown: -------------------------------------------------------------------------------- 1 | --- 2 | layout: default 3 | title: Hash #1 4 | --- 5 | 6 | Hashes are nice 7 | -------------------------------------------------------------------------------- /test/source/_posts/2014-03-03-yaml-with-dots.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Test Post Where YAML Ends in Dots 3 | ... 4 | 5 | # Test 6 | -------------------------------------------------------------------------------- /test/source/_slides/octojekyll.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Adrianotiger/jekyll/master/test/source/_slides/octojekyll.png -------------------------------------------------------------------------------- /test/source/environment.html: -------------------------------------------------------------------------------- 1 | --- 2 | title: I'm a Jekyll environment exchequer 3 | --- 4 | 5 | {{ jekyll.environment }} 6 | -------------------------------------------------------------------------------- /test/source/info.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Information 3 | --- 4 | 5 | # Information 6 | 7 | Very important information is here 8 | -------------------------------------------------------------------------------- /test/fixtures/broken_front_matter1.erb: -------------------------------------------------------------------------------- 1 | # Some stuff on the first line 2 | --- 3 | test: good 4 | --- 5 | Real content starts here 6 | -------------------------------------------------------------------------------- /test/fixtures/broken_front_matter3.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Adrianotiger/jekyll/master/test/fixtures/broken_front_matter3.erb -------------------------------------------------------------------------------- /test/source/_methods/_do_not_read_me.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: The unreadable wonder 3 | --- 4 | 5 | Don't read me, you fool! FILTER ME 6 | -------------------------------------------------------------------------------- /test/source/_posts/2014-01-06-permalink-traversal.md: -------------------------------------------------------------------------------- 1 | --- 2 | permalink: /%2e%2e/%2e%2e/%2e%2e/baddie.html 3 | --- 4 | 5 | # Test 6 | -------------------------------------------------------------------------------- /test/source/_slides/example-slide-Upper-Cased.html: -------------------------------------------------------------------------------- 1 | --- 2 | title: Example Slide 3 | layout: slide 4 | --- 5 | 6 | Cased! 7 | -------------------------------------------------------------------------------- /test/source/_urls_differ_by_case_invalid/page1.html: -------------------------------------------------------------------------------- 1 | --- 2 | title: About 3 | permalink: /about/ 4 | --- 5 | 6 | About the site 7 | -------------------------------------------------------------------------------- /test/source/_urls_differ_by_case_invalid/page2.html: -------------------------------------------------------------------------------- 1 | --- 2 | title: About 3 | permalink: /About/ 4 | --- 5 | 6 | About the site 7 | -------------------------------------------------------------------------------- /test/source/_urls_differ_by_case_valid/page1.html: -------------------------------------------------------------------------------- 1 | --- 2 | title: About 3 | permalink: /about/ 4 | --- 5 | 6 | About the site 7 | -------------------------------------------------------------------------------- /test/source/deal.with.dots.html: -------------------------------------------------------------------------------- 1 | --- 2 | title: Deal with dots 3 | --- 4 | 5 | Let's test if jekyll deals properly with dots. 6 | -------------------------------------------------------------------------------- /test/source/_data/categories/dairy.yaml: -------------------------------------------------------------------------------- 1 | name: Dairy 2 | products: 3 | - name: cheese 4 | price: 5.3 5 | - name: milk 6 | price: 2.5 -------------------------------------------------------------------------------- /test/source/_posts/2013-01-12-nil-layout.markdown: -------------------------------------------------------------------------------- 1 | --- 2 | layout: nil 3 | title: No layout 4 | --- 5 | 6 | This post has no layout. 7 | -------------------------------------------------------------------------------- /test/source/_slides/example-slide-3.html: -------------------------------------------------------------------------------- 1 | --- 2 | title: Override permalink 3 | layout: slide 4 | permalink: /slide/3/ 5 | --- 6 | -------------------------------------------------------------------------------- /test/source/dynamic_file.php: -------------------------------------------------------------------------------- 1 | --- 2 | --- 3 | 4 | I'm a Jekyll file! I should be output as dynamic_file.php, no .html to be found. 5 | -------------------------------------------------------------------------------- /test/source/+/%# +.md: -------------------------------------------------------------------------------- 1 | --- 2 | layout: default 3 | title : Page name with non-alphabetic character 4 | --- 5 | Line 1 6 | {{ page.title }} 7 | -------------------------------------------------------------------------------- /test/source/_data/categories.01/dairy.yaml: -------------------------------------------------------------------------------- 1 | name: Dairy 2 | products: 3 | - name: cheese 4 | price: 5.5 5 | - name: milk 6 | price: 2.75 7 | -------------------------------------------------------------------------------- /test/source/_posts/2009-01-27-no-category.markdown: -------------------------------------------------------------------------------- 1 | --- 2 | layout: default 3 | title: Category in YAML 4 | --- 5 | 6 | Best *post* ever 7 | -------------------------------------------------------------------------------- /test/source/_posts/2014-03-22-escape-+ %20[].markdown: -------------------------------------------------------------------------------- 1 | --- 2 | layout: default 3 | title: Plus space percent 4 | --- 5 | 6 | Signs are nice 7 | -------------------------------------------------------------------------------- /test/source/contacts/humans.txt: -------------------------------------------------------------------------------- 1 | --- 2 | permalink: /contacts/humans/ 3 | --- 4 | 5 | I should be output to `/contacts/humans/index.html`. 6 | -------------------------------------------------------------------------------- /test/fixtures/test-theme/assets/img/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Adrianotiger/jekyll/master/test/fixtures/test-theme/assets/img/logo.png -------------------------------------------------------------------------------- /test/source/_methods/site/generate.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Site#generate" 3 | layout: default 4 | --- 5 | 6 | Run your generators! {{ page.layout }} 7 | -------------------------------------------------------------------------------- /test/source/_posts/2010-01-16-override-data.markdown: -------------------------------------------------------------------------------- 1 | --- 2 | date: 2010-01-10 13:07:09 3 | tags: A string 4 | --- 5 | 6 | Best **post** ever 7 | -------------------------------------------------------------------------------- /test/source/category/_posts/2008-09-23-categories.markdown: -------------------------------------------------------------------------------- 1 | --- 2 | layout: default 3 | title: Categories 4 | --- 5 | 6 | Categories _should_ work -------------------------------------------------------------------------------- /test/source/+/foo.md: -------------------------------------------------------------------------------- 1 | --- 2 | layout: default 3 | title : Page inside + 4 | permalink: /+/plus+in+url.html 5 | --- 6 | Line 1 7 | {{ page.title }} 8 | -------------------------------------------------------------------------------- /test/source/_encodings/Unicode16LECRLFandBOM.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Adrianotiger/jekyll/master/test/source/_encodings/Unicode16LECRLFandBOM.md -------------------------------------------------------------------------------- /test/source/_methods/site/_dont_include_me_either.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Don't Include Me Either 3 | --- 4 | 5 | Don't include me either. FILTER ME PLZ 6 | -------------------------------------------------------------------------------- /test/source/_posts/2008-10-18-foo-bar.markdown: -------------------------------------------------------------------------------- 1 | --- 2 | layout: default 3 | title: Foo Bar 4 | --- 5 | 6 | # {{ page.title }} 7 | 8 | Best **post** ever -------------------------------------------------------------------------------- /test/source/_posts/2013-01-12-no-layout.markdown: -------------------------------------------------------------------------------- 1 | --- 2 | title: I have no layout 3 | --- 4 | 5 | This post will be rendered with the "post" layout. 6 | -------------------------------------------------------------------------------- /test/source/unpublished.html: -------------------------------------------------------------------------------- 1 | --- 2 | layout: default 3 | title: Not published! 4 | published: false 5 | --- 6 | 7 | This should *not* be published! 8 | -------------------------------------------------------------------------------- /test/source/_posts/2009-01-27-category.markdown: -------------------------------------------------------------------------------- 1 | --- 2 | layout: default 3 | title: Category in YAML 4 | category: foo 5 | --- 6 | 7 | Best *post* ever 8 | -------------------------------------------------------------------------------- /test/source/_posts/2009-01-27-empty-category.markdown: -------------------------------------------------------------------------------- 1 | --- 2 | layout: default 3 | title: Category in YAML 4 | category: 5 | --- 6 | 7 | Best *post* ever 8 | -------------------------------------------------------------------------------- /test/source/_posts/2009-05-18-tags.markdown: -------------------------------------------------------------------------------- 1 | --- 2 | title: Some Tags 3 | tags: 4 | - food 5 | - cooking 6 | - pizza 7 | --- 8 | 9 | Awesome! 10 | -------------------------------------------------------------------------------- /test/source/_posts/2008-12-13-include.markdown: -------------------------------------------------------------------------------- 1 | --- 2 | layout: default 3 | title: Include 4 | --- 5 | 6 | {% include sig.markdown %} 7 | 8 | This _is_ cool 9 | -------------------------------------------------------------------------------- /test/source/_posts/2009-01-27-empty-categories.markdown: -------------------------------------------------------------------------------- 1 | --- 2 | layout: default 3 | title: Category in YAML 4 | categories: 5 | --- 6 | 7 | Best *post* ever 8 | -------------------------------------------------------------------------------- /test/source/properties.html: -------------------------------------------------------------------------------- 1 | --- 2 | foo: bar 3 | layout: default 4 | permalink: /properties/ 5 | title: Properties Page 6 | --- 7 | 8 | All the properties. 9 | -------------------------------------------------------------------------------- /test/source/win/_posts/2009-05-24-yaml-linebreak.markdown: -------------------------------------------------------------------------------- 1 | --- 2 | layout: post 3 | title: "Test title" 4 | tag: "Ruby" 5 | --- 6 | 7 | This is the content -------------------------------------------------------------------------------- /test/source/_methods/sanitized_path.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Jekyll.sanitized_path" 3 | --- 4 | 5 | `{{ page.title }}` is used to make sure your path is in your source. 6 | -------------------------------------------------------------------------------- /test/source/_posts/2008-02-02-published.markdown: -------------------------------------------------------------------------------- 1 | --- 2 | layout: default 3 | title: Publish 4 | category: publish_test 5 | --- 6 | 7 | This should be published. 8 | -------------------------------------------------------------------------------- /test/source/_posts/2013-05-10-number-category.markdown: -------------------------------------------------------------------------------- 1 | --- 2 | layout: default 3 | title: Number Category in YAML 4 | category: 2013 5 | --- 6 | 7 | Please make me pass -------------------------------------------------------------------------------- /test/source/_slides/example-slide-2.html: -------------------------------------------------------------------------------- 1 | --- 2 | title: Override title 3 | layout: slide 4 | nested: 5 | test1: override1 6 | test2: override2 7 | --- 8 | -------------------------------------------------------------------------------- /test/source/_data/members.yaml: -------------------------------------------------------------------------------- 1 | - name: Jack 2 | age: 27 3 | blog: http://example.com/jack 4 | 5 | - name: John 6 | age: 32 7 | blog: http://example.com/john 8 | -------------------------------------------------------------------------------- /test/source/_methods/collection/entries: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Collection#entries" 3 | --- 4 | 5 | I have no file extension but I should still be a part of the collection. 6 | -------------------------------------------------------------------------------- /test/source/_posts/2008-11-21-complex.markdown: -------------------------------------------------------------------------------- 1 | --- 2 | layout: default 3 | title: Complex 4 | --- 5 | 6 | url: {{ page.url }} 7 | date: {{ page.date }} 8 | id: {{ page.id }} -------------------------------------------------------------------------------- /test/source/_posts/2009-01-27-categories.markdown: -------------------------------------------------------------------------------- 1 | --- 2 | layout: default 3 | title: Categories in YAML 4 | categories: foo bar baz 5 | --- 6 | 7 | Best *post* ever 8 | -------------------------------------------------------------------------------- /test/source/_posts/2010-01-09-date-override.markdown: -------------------------------------------------------------------------------- 1 | --- 2 | date: 2010-01-10 3 | --- 4 | 5 | Post with a front matter date 6 | 7 | {{ page.date | date_to_string }} 8 | -------------------------------------------------------------------------------- /test/source/_slides/non-outputted-slide.html: -------------------------------------------------------------------------------- 1 | --- 2 | title: Non outputted slide 3 | layout: slide 4 | published: false 5 | --- 6 | 7 | This should not be output 8 | -------------------------------------------------------------------------------- /test/source/_posts/2015-02-20-extensionless-permalink.markdown: -------------------------------------------------------------------------------- 1 | --- 2 | layout: ~ 3 | title: Extensionless Permalink 4 | permalink: /:title 5 | --- 6 | 7 | {{ page.url }} 8 | -------------------------------------------------------------------------------- /test/source/_slides/example-slide-7.md: -------------------------------------------------------------------------------- 1 | --- 2 | am_i_convertible: yes 3 | permalink: /slides/example-slide-7.php 4 | --- 5 | 6 | Am I convertible? {{ page.am_i_convertible }} 7 | -------------------------------------------------------------------------------- /test/source/z_category/_posts/2008-09-23-categories.markdown: -------------------------------------------------------------------------------- 1 | --- 2 | layout: default 3 | title: Categories 4 | --- 5 | 6 | Categories _should_ work. Even if ordered after index. -------------------------------------------------------------------------------- /.github/first-timers.yml: -------------------------------------------------------------------------------- 1 | repository: jekyll 2 | labels: 3 | - good first issue 4 | - help-wanted 5 | - first-time-only 6 | template: .github/first-timers-issue-template.md 7 | -------------------------------------------------------------------------------- /test/source/_posts/2010-01-09-time-override.markdown: -------------------------------------------------------------------------------- 1 | --- 2 | date: 2010-01-10 13:07:09 3 | --- 4 | 5 | Post with a front matter time 6 | 7 | {{ page.date | date_to_string }} 8 | -------------------------------------------------------------------------------- /test/source/_posts/2014-07-05-mixed-case-category.markdown: -------------------------------------------------------------------------------- 1 | --- 2 | layout: default 3 | title: Mixed Case Category in YAML 4 | category: MixedCase 5 | --- 6 | 7 | Best *post* ever 8 | -------------------------------------------------------------------------------- /test/source/_posts/es/2008-11-21-nested.markdown: -------------------------------------------------------------------------------- 1 | --- 2 | layout: default 3 | title: Nested 4 | --- 5 | 6 | url: {{ page.url }} 7 | date: {{ page.date }} 8 | id: {{ page.id }} 9 | -------------------------------------------------------------------------------- /test/source/foo/_posts/bar/2008-12-12-topical-post.markdown: -------------------------------------------------------------------------------- 1 | --- 2 | layout: default 3 | title: Topical Post 4 | --- 5 | 6 | h1. {{ page.title }} 7 | 8 | This post has a topic. 9 | -------------------------------------------------------------------------------- /test/source/.htaccess: -------------------------------------------------------------------------------- 1 | --- 2 | layout: nil 3 | --- 4 | ErrorDocument 404 /404.html 5 | ErrorDocument 500 /500.html 6 | {% for post in site.posts %} 7 | # {{ post.url }} 8 | {% endfor %} -------------------------------------------------------------------------------- /docs/css/screen.scss: -------------------------------------------------------------------------------- 1 | --- 2 | --- 3 | 4 | @import "mixins"; 5 | @import "normalize"; 6 | @import "gridism"; 7 | @import "pygments"; 8 | @import "font-awesome"; 9 | @import "style"; 10 | -------------------------------------------------------------------------------- /test/source/_posts/2016-11-26-special-chars-(+).markdown: -------------------------------------------------------------------------------- 1 | --- 2 | layout: default 3 | title: Special Characters 4 | --- 5 | 6 | url: {{ page.url }} 7 | date: {{ page.date }} 8 | id: {{ page.id }} -------------------------------------------------------------------------------- /test/source/_with.dots/permalink.with.slash.tho.md: -------------------------------------------------------------------------------- 1 | --- 2 | permalink: /with.dots/permalink.with.slash.tho/ 3 | --- 4 | 5 | I'm a file with dots BUT I have a permalink which ends with a slash. 6 | -------------------------------------------------------------------------------- /test/source/_plugins/dummy.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | module Jekyll 4 | class Dummy < Generator 5 | priority :high 6 | 7 | def generate(site) end 8 | end 9 | end 10 | -------------------------------------------------------------------------------- /test/source/_posts/2008-02-02-not-published.markdown: -------------------------------------------------------------------------------- 1 | --- 2 | layout: default 3 | title: Not published! 4 | published: false 5 | category: publish_test 6 | --- 7 | 8 | This should *not* be published! 9 | -------------------------------------------------------------------------------- /test/source/_posts/2014-07-05-another-mixed-case-category.markdown: -------------------------------------------------------------------------------- 1 | --- 2 | layout: default 3 | title: Another Mixed Case Category in YAML 4 | category: Mixedcase 5 | --- 6 | 7 | Best *post* ever 8 | -------------------------------------------------------------------------------- /test/source/_posts/2017-2-5-i-dont-like-zeroes.md: -------------------------------------------------------------------------------- 1 | --- 2 | foo: bar 3 | --- 4 | I have an abbreviated date. Instead of "2017-02-05", I am instead "2017-2-5". 5 | Zeros have always seemed superfluous. 6 | -------------------------------------------------------------------------------- /docs/news/index.html: -------------------------------------------------------------------------------- 1 | --- 2 | layout: news 3 | title: News 4 | permalink: /news/ 5 | author: all 6 | --- 7 | 8 | {% for post in site.posts %} 9 | {% include news_item.html %} 10 | {% endfor %} 11 | -------------------------------------------------------------------------------- /test/source/_posts/2010-01-09-timezone-override.markdown: -------------------------------------------------------------------------------- 1 | --- 2 | date: 2010-01-10 13:07:09 +00:00 3 | --- 4 | 5 | Post with a front matter time with timezone 6 | 7 | {{ page.date | date_to_string }} 8 | -------------------------------------------------------------------------------- /test/source/static_files.html: -------------------------------------------------------------------------------- 1 | --- 2 | --- 3 | {% for file in site.static_files %} 4 | - {{ file.path }} last edited at {{ file.modified_time | date:"%H:%m" }} with extname {{ file.extname }}{% endfor %} 5 | -------------------------------------------------------------------------------- /test/source/_posts/2009-01-27-array-categories.markdown: -------------------------------------------------------------------------------- 1 | --- 2 | layout: default 3 | title: Array categories in YAML 4 | categories: 5 | - foo 6 | - bar 7 | - baz 8 | --- 9 | 10 | Best *post* ever 11 | -------------------------------------------------------------------------------- /benchmark/symbol-to-proc: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require 'benchmark/ips' 3 | 4 | Benchmark.ips do |x| 5 | x.report('block') { (1..100).map { |i| i.to_s } } 6 | x.report('&:to_s') { (1..100).map(&:to_s) } 7 | end 8 | -------------------------------------------------------------------------------- /test/source/_includes/params.html: -------------------------------------------------------------------------------- 1 | {{include.param}} 2 | 3 |
Best post ever
-------------------------------------------------------------------------------- /benchmark/string-concat: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require 'benchmark/ips' 3 | 4 | url = "https://jekyllrb.com" 5 | 6 | Benchmark.ips do |x| 7 | x.report('+=') { url += '/' } 8 | x.report('<<') { url << '/' } 9 | end 10 | -------------------------------------------------------------------------------- /test/source/_drafts/draft-properties.text: -------------------------------------------------------------------------------- 1 | --- 2 | categories: foo bar baz 3 | foo: bar 4 | layout: default 5 | tags: ay bee cee 6 | title: Properties Draft 7 | --- 8 | 9 | All the properties. 10 | 11 | Plus an excerpt. 12 | -------------------------------------------------------------------------------- /test/source/_posts/include_relative/params.html: -------------------------------------------------------------------------------- 1 | {{include.param}} 2 | 3 |{{page.excerpt}}-------------------------------------------------------------------------------- /script/fmt: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | echo "Rubocop $(bundle exec rubocop --version)" 3 | bundle exec rubocop -D $@ 4 | success=$? 5 | if ((success != 0)); then 6 | echo -e "\nTry running \`script/fmt -a\` to automatically fix errors" 7 | fi 8 | exit $success 9 | -------------------------------------------------------------------------------- /test/source/_data/members.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "name": "Jack", 4 | "age": 27, 5 | "blog": "http://example.com/jack" 6 | }, 7 | { 8 | "name": "John", 9 | "age": 32, 10 | "blog": "http://example.com/john" 11 | } 12 | ] 13 | -------------------------------------------------------------------------------- /lib/site_template/index.md: -------------------------------------------------------------------------------- 1 | --- 2 | # You don't need to edit this file, it's empty on purpose. 3 | # Edit theme's home layout instead if you wanna make some changes 4 | # See: https://jekyllrb.com/docs/themes/#overriding-theme-defaults 5 | layout: home 6 | --- 7 | -------------------------------------------------------------------------------- /lib/theme_template/example/style.scss: -------------------------------------------------------------------------------- 1 | --- 2 | --- 3 | 4 | // Here, you can test out the Sass/SCSS that you include in your theme. 5 | // Simply `@import` the necessary file(s) to get the proper styles on the site. 6 | // E.g.: 7 | // @import "a-file-from-my-theme"; 8 | -------------------------------------------------------------------------------- /test/source/_posts/2013-01-02-post-excerpt.markdown: -------------------------------------------------------------------------------- 1 | --- 2 | layout: ~ 3 | title: Post Excerpt 4 | --- 5 | 6 | First paragraph with [link ref][link]. 7 | 8 | Second paragraph 9 | 10 | --- 11 | 12 | Third paragraph 13 | 14 | [link]: https://jekyllrb.com/ 15 | -------------------------------------------------------------------------------- /docs/_includes/docs_contents.html: -------------------------------------------------------------------------------- 1 | 9 | -------------------------------------------------------------------------------- /docs/_includes/docs_option.html: -------------------------------------------------------------------------------- 1 | {% for item in include.items %} 2 | {% assign item_url = item | prepend:"/docs/" | append:"/" %} 3 | {% assign doc = site.docs | where: "url", item_url | first %} 4 | 5 | {% endfor %} 6 | -------------------------------------------------------------------------------- /benchmark/sequential-assignment: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require 'benchmark/ips' 3 | 4 | Benchmark.ips do |x| 5 | x.report('parallel assignment') do 6 | a, b = 1, 2 7 | end 8 | x.report('multi-line assignment') do 9 | a = 1 10 | b = 2 11 | end 12 | end 13 | -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- 1 | # editorconfig.org 2 | 3 | root = true 4 | 5 | [*] 6 | charset = utf-8 7 | end_of_line = lf 8 | indent_size = 2 9 | indent_style = space 10 | insert_final_newline = true 11 | trim_trailing_whitespace = true 12 | 13 | [*.md] 14 | trim_trailing_whitespace = false 15 | -------------------------------------------------------------------------------- /docs/_data/tutorials.yml: -------------------------------------------------------------------------------- 1 | - title: Tutorials 2 | tutorials: 3 | - home 4 | - video-walkthroughs 5 | - navigation 6 | - orderofinterpretation 7 | - custom-404-page 8 | - convert-site-to-jekyll 9 | 10 | #- title: Another section 11 | # tutorials: 12 | # - sample 13 | -------------------------------------------------------------------------------- /docs/_layouts/default.html: -------------------------------------------------------------------------------- 1 | {% include top.html %} 2 | 3 | 4 | {% include header.html %} 5 | 6 | {{ content }} 7 | 8 | {% include footer.html %} 9 | {% include anchor_links.html %} 10 | {% include analytics.html %} 11 | 12 | 13 |