Add metadata support

- Begin WIP on Bit Badger theme
This commit is contained in:
2022-04-25 13:36:16 -04:00
parent fa20122f20
commit f1249440b1
35 changed files with 558 additions and 13 deletions

View File

@@ -25,8 +25,8 @@ type WebLogMiddleware (next : RequestDelegate) =
/// DotLiquid filters
module DotLiquidBespoke =
open DotLiquid
open System.IO
open DotLiquid
/// A filter to generate nav links, highlighting the active link (exact match)
type NavLinkFilter () =
@@ -166,7 +166,7 @@ let main args =
builder.Services
.AddAuthentication(CookieAuthenticationDefaults.AuthenticationScheme)
.AddCookie(fun opts ->
opts.ExpireTimeSpan <- TimeSpan.FromMinutes 20.
opts.ExpireTimeSpan <- TimeSpan.FromMinutes 60.
opts.SlidingExpiration <- true
opts.AccessDeniedPath <- "/forbidden")
let _ = builder.Services.AddLogging ()