Jekyll Adding Extra Period in Filename before HTML Extension—help!

I have a collection in my Jekyll configuration. Inside that collection, I have a simple page called When Jekyll renders this page, it names the page terminology..html (note the double/extra period). This seems like a bug in Jekyll or a plugin, or a problem in my configuration. If I specify a permalink in my frontmatter, then the problem goes away. This is the second time I’ve come across this problem.

Unfortunately, I cannot share my Jekyll repository, but I’ll try to give the details below.

The layout of my directories/files looks like this:


The Collection/ file looks like this:

title: Collection
permalink: /Collection/

The Collection/ file looks like:

title: Collection Terminology

As I mentioned above, if I add permalink: /Collection/terminology to my frontmatter, then the extra period goes away and it behaves as expected.

Nevermind, I figured out the answer. I had this in my _config.yml

    output: true
    permalink: /Colection/:path.

Notice the extra period in the permalink. This has now been corrected.

1 Like