Jekyll: check if file exists So I needed to display a file if it exists. A quick search yielded two options: