Skip to content
This repository has been archived by the owner on Sep 7, 2020. It is now read-only.

Allow custom url (eg: 404.html) #47

Closed
MoOx opened this issue Nov 1, 2015 · 8 comments
Closed

Allow custom url (eg: 404.html) #47

MoOx opened this issue Nov 1, 2015 · 8 comments
Assignees

Comments

@MoOx
Copy link
Owner

MoOx commented Nov 1, 2015

Currently you cannot choose your url that are "guess" from your md files (content/whatever.md => /whatever/).
On GitHub pages, 404.html is used as a default page when an http 404 issue is raised. We need a solution to handle this case.
Simple solution is to support an url field in the md metadata header. Not sure if that's a good idea, but that will do the job and is flexible enough for other use-cases.

@MoOx
Copy link
Owner Author

MoOx commented Nov 2, 2015

url? permalink? route? Which name is better? Jekyll & Wordpress use permalink. Not sure why they don't simply use url.

@MoOx
Copy link
Owner Author

MoOx commented Nov 2, 2015

According to the wikipedia definition of Permalink https://en.wikipedia.org/wiki/Permalink a simple field that might change is not a permalink, so I guess url or uri (since we don't have to enter the full url) make more sense.

@magsout
Copy link
Contributor

magsout commented Nov 2, 2015

`routeˋ sounds good for me

@MoOx
Copy link
Owner Author

MoOx commented Jan 25, 2016

I will go with route (make sense since we already use routes somewhere). On it.

@MoOx
Copy link
Owner Author

MoOx commented Feb 13, 2016

On it. I think I have an idea to handle this pretty quickly in an elegant manner.

@MoOx MoOx self-assigned this Feb 13, 2016
@piruetka
Copy link

👍

@MoOx
Copy link
Owner Author

MoOx commented Feb 15, 2016

I have a local wip that works like a charm. Will push this evening or tomorrow if everything is ok.

MoOx added a commit that referenced this issue Feb 16, 2016
@MoOx
Copy link
Owner Author

MoOx commented Feb 24, 2016

Closed by 865622e

@MoOx MoOx closed this as completed Feb 24, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants