edryd.org

Unnamed repository; edit this file 'description' to name the repository.
git clone git://edryd.org/edryd.org
Log | Files | Refs | LICENSE

commit 848797a8b6453f3f4f860d743a3c37ccaea98b4b
parent 3f047df19aa8668a03aaa494d3ecdb6750fa0992
Author: Ed van Bruggen <edvb@uw.edu>
Date:   Mon, 15 Feb 2021 23:31:03 -0800

Display quote author as unkown if not given

Diffstat:
layouts/partials/quote.html | 10++++++----
1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/layouts/partials/quote.html b/layouts/partials/quote.html @@ -2,9 +2,11 @@ <blockquote class="blockquote pl-3"> <p>“{{ index . 0 }}”</p> </blockquote> - {{ with (index . 1) }} - <figcaption class="blockquote-footer italic"> + <figcaption class="blockquote-footer italic"> + {{ with (index . 1) }} {{ . }} - </figcaption> - {{ end }} + {{ else }} + Unknown + {{ end }} + </figcaption> </figure>