Files
blog.terrible.dev/src/TerribleDev.Blog.Web/Models/IPost.cs
2022-08-11 13:59:47 -04:00

24 lines
616 B
C#

using Microsoft.AspNetCore.Html;
using YamlDotNet.Serialization;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace TerribleDev.Blog.Web.Models
{
public interface IPost
{
string CanonicalUrl { get; set; }
string UrlWithoutPath { get; set; }
string RelativeUrl { get; set; }
string Title { get; set; }
DateTime PublishDate { get; set; }
DateTime? UpdatedDate { get; set; }
IPostContent Content { get; set; }
bool isLanding { get; set; }
string ThumbnailImage { get; }
}
}