diff --git a/docs/_includes/news_item.html b/docs/_includes/news_item.html index bf04dc9f..db490c8e 100644 --- a/docs/_includes/news_item.html +++ b/docs/_includes/news_item.html @@ -13,10 +13,10 @@ {{ post.date | date_to_string }} - - {% assign author = post.author %} + {% assign author = post.author %} + {% avatar user=author size=24 %} - {{ post.author }} + {{ author }}
diff --git a/docs/_layouts/news_item.html b/docs/_layouts/news_item.html index de6508d0..e9fa2aec 100644 --- a/docs/_layouts/news_item.html +++ b/docs/_layouts/news_item.html @@ -19,9 +19,10 @@ layout: news {{ page.date | date_to_string }} - - {% avatar {{ page.author}} size=24 %} - {{ page.author }} + {% assign author = page.author %} + + {% avatar user=author size=24 %} + {{ author }}