Keywords and topics in urls
Created by: leowzukw
With SEO in mind, it could be great to be able to have keywords in urls.
This way a post named stog013.html
, placed in the folder post
, with this content
<post title="Stog 0.13.0"
date="2014/10/03"
topics="stog,release"
keywords="version,tag"
published="true"
>
<p>
Release 0.13.0 of stog is available from the <page href="/install"/> page.
</p>
<sep_/>
<p>Changes:</p>
...
</post>
would be accessible with the url <site-url>/post/stog/release/version/tag/stog013.html
.
It could be setted by an option in the config file like this : (for preceding example)
...
url: "folder/topics/keywords/file";
....
To avoid too long urls because of too many keywords, we could image a syntax like this
...
url: "folder/topics(1)/keywords(2)/file";
....
to take the first topic and the two first keywords.
It might be generalized to every attributes (especially dates), and even customs ones.