Comments (3)
I cannot reproduce this.
$ jekyll --version
jekyll 4.3.3
$ jekyll new test-exclude-md
Running bundle install in /home/mkasberg/code/test-exclude-md...
New jekyll site installed in /home/mkasberg/code/test-exclude-md.
$ cd test-exclude-md
$ echo "testing" > README.md
$ bundle exec jekyll build
Configuration file: /home/mkasberg/code/test-exclude-md/_config.yml
Source: /home/mkasberg/code/test-exclude-md
Destination: /home/mkasberg/code/test-exclude-md/_site
Incremental build: disabled. Enable with --incremental
Generating...
Jekyll Feed: Generating feed for posts
done in 0.374 seconds.
Auto-regeneration: disabled. Use --watch to enable.
$ ls _site # NOTE README.md gets created because it's not yet excluded.
404.html about assets feed.xml index.html jekyll README.md
$ echo "exclude:
dquote> - README.md" > _config.yml
$ tail -n4 _config.yml
exclude:
- README.md
$ bundle exec jekyll build
Configuration file: /home/mkasberg/code/test-exclude-md/_config.yml
Source: /home/mkasberg/code/test-exclude-md
Destination: /home/mkasberg/code/test-exclude-md/_site
Incremental build: disabled. Enable with --incremental
Generating...
Jekyll Feed: Generating feed for posts
Build Warning: Layout 'post' requested in _posts/2024-05-23-welcome-to-jekyll.markdown does not exist.
Build Warning: Layout 'default' requested in 404.html does not exist.
Build Warning: Layout 'page' requested in about.markdown does not exist.
Build Warning: Layout 'home' requested in index.markdown does not exist.
done in 0.327 seconds.
Auto-regeneration: disabled. Use --watch to enable.
$ ls _site # NOTE exclude works correctly and removes README.md.
404.html about feed.xml index.html jekyll
Since I don't believe this is a bug with Jekyll, here are some other things you might check:
- Run
jekyll clean
, or otherwise deleteREADME.md
from_site
and see whether it gets re-created. - Ensure your
_config.yml
is valid yaml and yourexclude:
section is formatted correctly. - Ensure there are no other errors that prevent your jekyll build from running.
from jekyll.
Another thing that you can check :
- You have the keyword
exclude
only once in your_config.yml
.
I watched the issue because I thought I had the issue but with @mkasberg test I don't reproduce. After checking my conf I had the keyword exclude
twice...
from jekyll.
@axelfontaine Please feel free to reopen after checking the above comments to confirm you don't have a double exclude
key in your config. If you do reopen this, you must provide a reproduction test case since we can't confirm your issue. Thanks!
from jekyll.
Related Issues (20)
- I initially had logic that was a lot more tolerant of `s`s. And then I ran into the [🥔 🐛 - potato bug](https://github.com/check-spelling/check-spelling/releases/tag/0.0.17-alpha) -- namely the plural of `potato` is not `potatos`. It was so embarrassing, since I learned the proper spelling in elementary school. It was also a big deal as a [Vice President suggested `potatoe` to a student](https://abcnews.go.com/Politics/video/june-15-1992-dan-quayle-misspells-potato-48017343).
- [Docs]:
- [Bug]: Unable to build website HOT 1
- [Bug]: `permalink_ext': undefined method `end_with?' for {}:Hash HOT 2
- [Bug]: error running "bundle exec jekyll s" HOT 4
- [Bug]: related_posts prefers longer articles
- [Bug]: Can't serve website due to sass-embedded version HOT 5
- [Bug]: Jekyll release v3.9.5 is missing from GitHub, only exists in ruby gems HOT 7
- feat:
- [Bug]: Obsolete nodeJS version HOT 2
- [Bug]: Empty include parameter when assign a forloop attribute to it.
- Unquoted language code "no" not recognized in _config.yml HOT 2
- [Bug]: pipe character to single row table priority unexpectedly high
- feat: Adding relative path to current URL support HOT 2
- [Bug]: Livereload don't work for project initiated with --blank flag HOT 1
- feat: XMPP: Post to PubSub HOT 2
- [Bug]: jekyll changes filenames when copying files to _site on build HOT 1
- feat: can you make a grapgic fenweator for instagram and youtube with jekyll with a javaacript or a webrtc based json , or even an encrypted json to a rest blob
- SCSS class not found when i call to the function HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jekyll.