Add post list and category manipulation

This commit is contained in:
2022-04-23 17:53:40 -04:00
parent e8b903b33b
commit a58cc25bbb
14 changed files with 603 additions and 71 deletions

View File

@@ -307,3 +307,10 @@ module WebLogUser =
url = None
authorizationLevel = User
}
/// Get the user's displayed name
let displayName user =
let name =
seq { match user.preferredName with "" -> user.firstName | n -> n; " "; user.lastName }
|> Seq.reduce (+)
name.Trim ()