Fix prior permalink lookup (a8)
- Fix permalink edit links (a7)
This commit is contained in:
@@ -302,7 +302,7 @@ let private deriveAction ctx : HttpHandler seq =
|
||||
match Data.Post.findCurrentPermalink [ permalink; altLink ] webLog.id conn |> await with
|
||||
| Some link -> yield redirectTo true $"/{Permalink.toString link}"
|
||||
| None -> ()
|
||||
// Prior permalink
|
||||
// Prior page
|
||||
match Data.Page.findCurrentPermalink [ permalink; altLink ] webLog.id conn |> await with
|
||||
| Some link -> yield redirectTo true $"/{Permalink.toString link}"
|
||||
| None -> ()
|
||||
|
||||
Reference in New Issue
Block a user