Skip to content

Commit

Permalink
Merge branch 'GH-69-add-RFS-and-taxonomies/FB' into GH-72-update-PS/FB
Browse files Browse the repository at this point in the history
  • Loading branch information
dominikag2 committed Aug 29, 2024
2 parents 39de8f5 + d8d3c45 commit 35cab9b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ public async Task<ArticlePageViewModel> GetArticlePageViewModel(ArticlePage? art

if (articleSchema != null)
{
var articleSchemaTeaserImage = articleSchema?.ArticleSchemaTeaser.FirstOrDefault();
var articleSchemaTeaserImage = articleSchema.ArticleSchemaTeaser.FirstOrDefault();

return new ArticlePageViewModel
{
Title = articleSchema?.ArticleSchemaTitle ?? string.Empty,
Title = articleSchema.ArticleSchemaTitle,
Summary = new HtmlString(articleSchema?.ArticleSchemaSummary),
Text = new HtmlString(articleSchema?.ArticleSchemaText),
CreatedOn = articlePage.ArticlePagePublishDate,
Expand Down

0 comments on commit 35cab9b

Please sign in to comment.