30 lines
835 B
C#
30 lines
835 B
C#
using MongoDB.Bson.Serialization.Attributes;
|
|
|
|
namespace BCards.Web.Models;
|
|
|
|
public class SeoSettings
|
|
{
|
|
[BsonElement("title")]
|
|
public string Title { get; set; } = string.Empty;
|
|
|
|
[BsonElement("description")]
|
|
public string Description { get; set; } = string.Empty;
|
|
|
|
[BsonElement("keywords")]
|
|
public List<string> Keywords { get; set; } = new();
|
|
|
|
[BsonElement("ogImage")]
|
|
public string OgImage { get; set; } = string.Empty;
|
|
|
|
[BsonElement("ogTitle")]
|
|
public string OgTitle { get; set; } = string.Empty;
|
|
|
|
[BsonElement("ogDescription")]
|
|
public string OgDescription { get; set; } = string.Empty;
|
|
|
|
[BsonElement("twitterCard")]
|
|
public string TwitterCard { get; set; } = "summary_large_image";
|
|
|
|
[BsonElement("canonicalUrl")]
|
|
public string CanonicalUrl { get; set; } = string.Empty;
|
|
} |