Use .markdown for page templates (#7126)

Merge pull request 7126
This commit is contained in:
Jakob Krigovsky 2018-07-11 16:01:17 +02:00 committed by jekyllbot
parent 0e0960e2c3
commit 1801793035
4 changed files with 3 additions and 3 deletions

View File

@ -19,8 +19,8 @@ In the case of Minima, you see only the following files in your Jekyll site dire
├── _config.yml ├── _config.yml
├── _posts ├── _posts
│ └── 2016-12-04-welcome-to-jekyll.markdown │ └── 2016-12-04-welcome-to-jekyll.markdown
├── about.md ├── about.markdown
└── index.md └── index.markdown
``` ```
The `Gemfile` and `Gemfile.lock` files are used by Bundler to keep track of the required gems and gem versions you need to build your Jekyll site. The `Gemfile` and `Gemfile.lock` files are used by Bundler to keep track of the required gems and gem versions you need to build your Jekyll site.

View File

@ -57,7 +57,7 @@ class TestNewCommand < JekyllUnitTest
capture_output { Jekyll::Commands::New.process(@args) } capture_output { Jekyll::Commands::New.process(@args) }
new_site_files = dir_contents(@full_path).reject do |f| new_site_files = dir_contents(@full_path).reject do |f|
File.extname(f) == ".markdown" f.end_with?("welcome-to-jekyll.markdown")
end end
assert_same_elements static_template_files, new_site_files assert_same_elements static_template_files, new_site_files