Various blog improvements

This commit is contained in:
Robert Marshall 2020-01-03 17:56:51 +00:00
parent 929adac910
commit 8e79aed647
8 changed files with 37 additions and 44 deletions

View file

@ -17,7 +17,7 @@ namespace Website.Controllers
public async Task<IActionResult> Index()
{
var post = await _blogRepo.GetLatestPostAsync();
var model = new BlogPostPreviewViewModel(post);
var model = new BlogPostSnippetViewModel(post);
return View(model);
}
}