ssg: StaticSitePost: add constructor for post-less instantiation
This commit is contained in:
parent
b81daeb4e0
commit
cc61210ad9
|
@ -17,6 +17,12 @@ namespace OpenLiveWriter.BlogClient.Clients.StaticSite
|
|||
private StaticSiteConfig SiteConfig;
|
||||
public BlogPost BlogPost { get; private set; }
|
||||
|
||||
public StaticSitePost(StaticSiteConfig config)
|
||||
{
|
||||
SiteConfig = config;
|
||||
BlogPost = null;
|
||||
}
|
||||
|
||||
public StaticSitePost(StaticSiteConfig config, BlogPost blogPost)
|
||||
{
|
||||
SiteConfig = config;
|
||||
|
|
Loading…
Reference in New Issue