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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user