Implement htmax as auto-htmx selection (#59)

- Move program support items to MyWebLog namespace
- Fix parameter ordering in some tests
This commit is contained in:
2026-07-05 21:28:58 -04:00
parent 9d2277ab32
commit fcd02ecbec
12 changed files with 213 additions and 153 deletions
+8 -8
View File
@@ -105,17 +105,17 @@ type AccessLevel =
AccessLevel.Weights[needed] <= AccessLevel.Weights[this]
/// <summary>How the htmx library will be auto-injected in a web log's theme pages</summary>
/// <summary>How the htmx library will be auto-injected in a web log's templates</summary>
[<Struct>]
type AutoHtmxType =
/// <summary>Do not auto-inject htmx into the web log's theme pages</summary>
/// <summary>Do not auto-inject htmx into the web log's templates</summary>
| NoAutoHtmx
/// <summary>Inject the standard htmx library into the web log's theme pages</summary>
/// <summary>Inject the standard htmx library into the web log's templates</summary>
| AutoHtmx
/// <summary>Inject the htmax library bundle into the web log's theme pages</summary>
/// <summary>Inject the htmax library bundle into the web log's templates</summary>
| AutoHtmax
/// <summary>Parse an auto-htmx type from its string representation</summary>
@@ -628,7 +628,7 @@ type OpenGraphType =
string VideoOther, "Video: Other"
string VideoTvShow, "Video: TV Show"
string Website, nameof Website ]
override this.ToString() =
match this with
| Article -> "article"