From 883da0ae0c007c69afe5edbdd073bb54aee038b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B8hannes=20Lippmann?= Date: Sun, 9 Dec 2018 13:59:24 +0100 Subject: [PATCH] Display the displayName instead of the id of the author. --- layouts/partials/post_meta.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/partials/post_meta.html b/layouts/partials/post_meta.html index 915becd..2d144b5 100644 --- a/layouts/partials/post_meta.html +++ b/layouts/partials/post_meta.html @@ -16,9 +16,9 @@ {{end}} - {{/* print the shortname (id) from the details */}} + {{/* print the prefered display name (displayName) from the details */}} - {{- $authorDetail.id -}} + {{- $authorDetail.displayname -}} {{else}} {{/* if no author details are set, just print whatever is set on the $author field */}}