2026-04-07 14:23:29 +02:00
|
|
|
namespace Finch.Metadata;
|
2024-02-06 16:00:44 +01:00
|
|
|
|
|
|
|
|
public class MetadataOptions
|
|
|
|
|
{
|
|
|
|
|
public List<string> TitleFragments { get; set; } = [];
|
|
|
|
|
|
|
|
|
|
public bool? NoIndex { get; set; }
|
|
|
|
|
|
|
|
|
|
public bool? NoFollow { get; set; }
|
|
|
|
|
|
|
|
|
|
public string Description { get; set; }
|
|
|
|
|
|
|
|
|
|
public string Icon { get; set; }
|
|
|
|
|
|
|
|
|
|
public string Image { get; set; }
|
|
|
|
|
|
|
|
|
|
public string Author { get; set; }
|
|
|
|
|
|
2024-03-15 00:35:32 +01:00
|
|
|
public string TitleFragmentsSeparator { get; set; } = " / ";
|
|
|
|
|
|
|
|
|
|
public string TitlePageNameToFragmentSeparator { get; set; } = " / ";
|
|
|
|
|
|
|
|
|
|
public bool HidePageName { get; set; }
|
|
|
|
|
|
2024-02-06 16:00:44 +01:00
|
|
|
//public Schema Schema { get; set; }
|
|
|
|
|
|
|
|
|
|
public MetadataOptions() { }
|
|
|
|
|
|
|
|
|
|
public MetadataOptions(params string[] titleFragments)
|
|
|
|
|
{
|
|
|
|
|
TitleFragments.AddRange(titleFragments);
|
|
|
|
|
}
|
|
|
|
|
}
|