Markata DidYouMean
Coming in Markata 0.9.1 is far better documentation. i.e. Documentation that
actually exists for everything. As part of poking around I realized that I
often go to look up the docs for a plugin and forget that the path is
/markta/plugins/feeds, sometimes I might try /markata/feeds or
/plugins/feeds.py or /feeds or I might even forget the plugin name exactly
and try something like feed and get a 404. So I added a didyoumean plugin
to markata that takes care of this.
[1]
I made a quick recording of this early feature, pay close attention to the url
as it automatically updates to the correct page.
markata-didyoumean.mp4 [2]
Happy Path # [3]
direct forward
If you have one post called /markata/plugins/feeds, and it is the only post
called feeds, any combination of /markata/feeds or /plugins/feeds or
/feeds will all automatically redirect with an html [4] page (not a server 3xx)
to the /markata/plugins/feeds post.
Here is the snippet that does the redirect.
<div class="container ...