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 try to separate a landingpage from other pages by using the path or a variable, it seems both does not work when a link points to a non-existing page.
The path does not change to {{url_root}}/404/ but stays the same, say {{url_root}}/ in case our links are on the index page, which is probably the reason for this unfortunate behaviour.
Here my suggestion:
switch the path to the href path which was not found (e.g. if you would like to jump to page {{url_root}}/mysecondpage/, but this page does not exist, then 404 should appear instead, so having path {{url_root}}/mysecondpage/
correctly switch the variable scope to use the variables from 404.md or the global config in case of an 404.html
The text was updated successfully, but these errors were encountered:
it seems my setting is a bit confused... now the variables work indeed (don't know why they haven't before) so all fine
(maybe it was due to me moving the 404.md to a subdirectory, which run into the other bug that _site is not properly cleaned up, so I always got the old outdated 404)
I try to separate a landingpage from other pages by using the path or a variable, it seems both does not work when a link points to a non-existing page.
The path does not change to
{{url_root}}/404/
but stays the same, say{{url_root}}/
in case our links are on the index page, which is probably the reason for this unfortunate behaviour.Here my suggestion:
{{url_root}}/mysecondpage/
, but this page does not exist, then 404 should appear instead, so having path{{url_root}}/mysecondpage/
404.md
or the global config in case of an404.html
The text was updated successfully, but these errors were encountered: