Reputation: 521
I'm trying to add a new page to my jekyll site and I declare the permalink like this:
permalink: /new-page/
But the new page ends up in mydomain.com/pages/new-page/ instead of mydomain.com/new-page/
This worked before, it must have happened after some jekyll update.
Any idea what might be wrong?
Thanks in advance
Upvotes: 0
Views: 247
Reputation: 2296
You must do it like this:
---
layout: default
title: Your website name
permalink: /about/
---
Upvotes: 1
Reputation: 521
Oh I found the problem. I had forgot the closing markdown dashes (---) after the permalink.
Upvotes: 0