From 10b1ed834a6fc2764179595d141c5b0ab9518faf Mon Sep 17 00:00:00 2001 From: Danielle McLean Date: Wed, 11 Oct 2017 23:09:22 +1100 Subject: [PATCH] Display an adorable tiny sparkline-style avatar for the p-author on each h-entry --- templates/mf2/h-entry.cassius | 3 +++ templates/mf2/h-entry.hamlet | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/templates/mf2/h-entry.cassius b/templates/mf2/h-entry.cassius index 6bf132c..92cc390 100644 --- a/templates/mf2/h-entry.cassius +++ b/templates/mf2/h-entry.cassius @@ -5,3 +5,6 @@ article.h-entry justify-content: space-evenly > * margin-right: 1em + > .p-author img + height: 1em + vertical-align: -0.1em diff --git a/templates/mf2/h-entry.hamlet b/templates/mf2/h-entry.hamlet index 63cde03..1fc14e6 100644 --- a/templates/mf2/h-entry.hamlet +++ b/templates/mf2/h-entry.hamlet @@ -6,7 +6,7 @@
$maybe author <- maybeAuthor - + Avatar for #{userFullName author} #{userFullName author}