A set of Statiq helpers to create files in .well-known/
dotnet add package StatiqExtensions.WellKnown
Example:
await Bootstrapper
.Factory
.CreateWeb(args)
.AddSetting(SettingKeys.WebFingerAlias.FromTemplate, "@[email protected]")
.AddPipeline<WellKnownFolderPipeline>()
.RunAsync();
To creates a WebFinger file that contains static content and "redirects" to a real account in the fediverse, use one of the following settings:
WebFingerAliasFromTemplate
: Set this to a fediverse handle and the content of the webFinger-file will be generated from an internal template.WebFingerAliasStaticResult
: Set this to the full content of the webFinger-file. This setting takes precedence overWebFingerAliasFromTemplate
.
To create a microsoft-identity-association.json
file, use the setting below:
MicrosoftIdentityAssociation.ApplicationId
: Set this to an application-id or a list of application-ids.
StatiqExtensions.WellKnown follows the Contributor Covenant Code of Conduct.
We accept Pull Requests.
Small note: If editing the Readme, please conform to the standard-readme specification.
This project follows the [all-contributors][] specification. Contributions of any kind welcome!