@{
string Title = Model.WithoutSettings.String(BlogKeys.Title);
string PageTitle = Context.String(BlogKeys.Title) + (string.IsNullOrWhiteSpace(Title) ? string.Empty : " - " + Title);
}
@PageTitle
@if (Context.String(BlogKeys.RssPath) != null) {
}
@if (Context.String(BlogKeys.AtomPath) != null) {
}
@* *@
@Html.Partial("_Head")
@{
string backgroundImage = null;
if(Model.String(BlogKeys.Image) != null)
{
backgroundImage = $"background-image: url(\"{Model.String(BlogKeys.Image)}\")";
}
}
@Html.Partial("_Scripts")
@if(Model.String(BlogKeys.Image) == null)
{
}