You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to keep my raw posts, that is the files containing the mere content and simple markup, in the postsfolder, in order to separate them from the other pages. At the same time, I would like to have a URLs like
my-domain/post1/
instead of
my-domain/posts/post1/
How can I achieve that?
I use "prettify": true.
I understand that by changing posts in the following line in blog.py
Global["config"]["path"] = "posts"
to
Global["config"]["path"] = "new-posts"
and changing the name of the posts folder to new-posts I would get something like
my-domain/new-posts/post1/
like explained in #152. But that does not solve my problem.
The text was updated successfully, but these errors were encountered:
rob-weiss
changed the title
How can I remove the posts folder?
How can I remove the /posts/ part in my URL while keeping the posts folder?
Dec 6, 2016
I want to keep my raw posts, that is the files containing the mere content and simple markup, in the
posts
folder, in order to separate them from the other pages. At the same time, I would like to have a URLs likeinstead of
How can I achieve that?
I use
"prettify": true
.I understand that by changing
posts
in the following line inblog.py
to
and changing the name of the
posts
folder tonew-posts
I would get something likelike explained in #152. But that does not solve my problem.
The text was updated successfully, but these errors were encountered: