Remove DotLiquid (#47)

This commit is contained in:
2026-07-11 17:58:00 -04:00
parent b3eab09576
commit 32372a3f9f
5 changed files with 5 additions and 254 deletions
+5 -8
View File
@@ -190,15 +190,12 @@ let options () =
it
open Giraffe.Htmx.Common
open Fluid.Ast
/// <summary>Fluid parser customized with myWebLog filters and tags</summary>
let parser =
// spacer
let s = " "
// Required return for tag delegates
let ok () =
VTask<Fluid.Ast.Completion> Fluid.Ast.Completion.Normal
let s = " "
let it = FluidParser()
// Create various items in the page header based on the state of the page being generated
@@ -264,7 +261,7 @@ let parser =
let url = app.WebLog.AbsoluteUrl(Permalink app.Page.Permalink)
writer.WriteLine $"""{s}<link rel=canonical href="{url}">"""
ok ())
VTask(Completion.Normal))
// Create various items in the page footer based on the state of the page being generated
it.RegisterEmptyTag("page_foot",
@@ -284,7 +281,7 @@ let parser =
themeAsset (StringValue "script.js") context
|> sprintf "%s<script src=\"%s\"></script>" s
|> writer.WriteLine
ok ())
VTask(Completion.Normal))
// Create links for a user to log on or off, and a dashboard link if they are logged off
it.RegisterEmptyTag("user_links",
@@ -302,7 +299,7 @@ let parser =
"</ul>"
}
|> Seq.iter writer.WriteLine
ok ())
VTask(Completion.Normal))
it