diff --git a/src/MyWebLog.Data/MyWebLog.Data.fsproj b/src/MyWebLog.Data/MyWebLog.Data.fsproj index 846ab8a..53fccf5 100644 --- a/src/MyWebLog.Data/MyWebLog.Data.fsproj +++ b/src/MyWebLog.Data/MyWebLog.Data.fsproj @@ -11,7 +11,7 @@ - + diff --git a/src/MyWebLog/DotLiquidBespoke.fs b/src/MyWebLog/DotLiquidBespoke.fs index c004fa3..78786b3 100644 --- a/src/MyWebLog/DotLiquidBespoke.fs +++ b/src/MyWebLog/DotLiquidBespoke.fs @@ -222,17 +222,17 @@ let register () = Template.RegisterTag "page_foot" Template.RegisterTag "user_links" - [ // Domain types - typeof; typeof; typeof; typeof; typeof - typeof; typeof; typeof; typeof - // View models - typeof; typeof; typeof; typeof - typeof; typeof; typeof; typeof - typeof; typeof; typeof; typeof - typeof; typeof; typeof; typeof - typeof; typeof - // Framework types - typeof; typeof; typeof; typeof - typeof; typeof; typeof; typeof + [ // Domain types + typeof; typeof; typeof; typeof; typeof + typeof; typeof; typeof; typeof + // View models + typeof; typeof; typeof; typeof + typeof; typeof; typeof; typeof + typeof; typeof; typeof; typeof + typeof; typeof; typeof; typeof + typeof; typeof + // Framework types + typeof; typeof; typeof; typeof + typeof; typeof; typeof; typeof ] |> List.iter (fun it -> Template.RegisterSafeType (it, [| "*" |])) diff --git a/src/MyWebLog/Handlers/Helpers.fs b/src/MyWebLog/Handlers/Helpers.fs index 35e6d9b..e3efe15 100644 --- a/src/MyWebLog/Handlers/Helpers.fs +++ b/src/MyWebLog/Handlers/Helpers.fs @@ -138,7 +138,7 @@ let bareForTheme theme template next ctx = fun (hash : Hash) -> task { | Some detail -> $"{m.level}|||{m.message}|||{detail}" | None -> $"{m.level}|||{m.message}" |> setHttpHeader "X-Message") - withHxNoPush + withHxNoPushUrl htmlString (layoutTemplate.Render hash) } diff --git a/src/MyWebLog/MyWebLog.fsproj b/src/MyWebLog/MyWebLog.fsproj index f993c63..2883e6a 100644 --- a/src/MyWebLog/MyWebLog.fsproj +++ b/src/MyWebLog/MyWebLog.fsproj @@ -28,8 +28,8 @@ - - + +