Sinatra doesn’t know this ditty.

Try this:
get '/posts/2017-11-05-small-maze/' do
  "Hello World"
end