add the 404 page and route to it
this implies that the arcology is always selfhosting, note sure that's a perfect idea, but here we go...nix-docker-checkpoint
parent
9409bbd043
commit
115e0ebd16
|
@ -0,0 +1,8 @@
|
|||
#+TITLE: The Page You Requested is Not Available
|
||||
#+ARCOLOGY_KEY: arcology/404
|
||||
|
||||
The link you clicked referenced a page which is not exported to my public web-site. If you are interested in its content or think it should be published, please send an email to [[site@whatthefuck.computer]], please *include the page you just came from*.
|
||||
|
||||
Please understand that much of this [[file:../knowledge_base.org][Knowledge Base]] system, including published pages, is *under-developed thinking* and pages which do not meet a certain quality threshold, or are little more than stubs to wikipedia will probably not be included simply to fight public information atrophy.
|
||||
|
||||
For more information, see [[file:README.org][the Arcology Project README]].
|
|
@ -76,7 +76,7 @@ defp normalize_url(_match, page) do
|
|||
cond do
|
||||
key == nil ->
|
||||
Logger.warn("could not load key for #{page}")
|
||||
~s(<a href="/index.html" class="dead-link">)
|
||||
~s(<a href="/arcology/404.html" class="dead-link">)
|
||||
|
||||
true ->
|
||||
~s(<a href="/#{key}.html">)
|
||||
|
|
Loading…
Reference in New Issue