Skip to content

Commit

Permalink
Disable Jekyll to serve files whose names begin with _.
Browse files Browse the repository at this point in the history
  • Loading branch information
igrep authored Nov 20, 2018
1 parent 0a3a484 commit bf13688
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,11 @@ endif
git status
# Copy all of the generated site's files to the current directory.
cp -r /tmp/haskell-jp-blog-deploy/generated-site/* ./

# Disable Jekyll to serve files whose names begin with `_`.
# https://help.github.com/articles/files-that-start-with-an-underscore-are-missing/
touch ./.nojekyll

# Add everything back. (A lot of files probably won't change, so, for
# instance, they won't show up on 'git status' even though we just did 'git
# rm -rf *'. A 'git rm -rf FILE' followed by 'git add FILE' is a noop if
Expand Down

1 comment on commit bf13688

@haskell-jp-bot
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.