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

**URL:** <https://talk.jekyllrb.com/t/jekyll-adding-extra-period-in-filename-before-html-extension-help/7511>\
**Category:** Help\
**Created:** [July 21, 2022, 2:08pm UTC](https://talk.jekyllrb.com/t/jekyll-adding-extra-period-in-filename-before-html-extension-help/7511 "2022-07-21T14:08:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jlconlin](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/jlconlin/32/2845_2.png) [@jlconlin](https://talk.jekyllrb.com/u/jlconlin)\
**Post date:** [July 21, 2022, 2:08pm UTC](https://talk.jekyllrb.com/t/jekyll-adding-extra-period-in-filename-before-html-extension-help/7511/1 "2022-07-21T14:08:06Z")

</div>

I have a collection in my Jekyll configuration. Inside that collection, I have a simple page called `terminology.md`. 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:

```nohighlight
notebook/
  Collection/
    index.md
    terminology.md

```

The `Collection/index.md` file looks like this:

```markdown
---
title: Collection
permalink: /Collection/
---
...

```

The `Collection/terminology.md` file looks like:

```markdown
---
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.

---

<div class="post-metadata">

**Author:** ![jlconlin](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/jlconlin/32/2845_2.png) [@jlconlin](https://talk.jekyllrb.com/u/jlconlin)\
**Post date:** [July 21, 2022, 2:48pm UTC](https://talk.jekyllrb.com/t/jekyll-adding-extra-period-in-filename-before-html-extension-help/7511/2 "2022-07-21T14:48:50Z")

</div>

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

```nohighlight
collections:
  Collection:
    output: true
    permalink: /Colection/:path.

```

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