From ca5f09d3b053c356faf531115a2e4e89df2fdd3a Mon Sep 17 00:00:00 2001 From: Javier Arce <4933+javierarce@users.noreply.github.com> Date: Tue, 3 Oct 2023 17:02:21 +0200 Subject: [PATCH] Fixes layout --- _layouts/book.html | 2 ++ _sass/Book.scss | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/_layouts/book.html b/_layouts/book.html index 8c6547564..9e1102646 100644 --- a/_layouts/book.html +++ b/_layouts/book.html @@ -12,9 +12,11 @@
{{ page.author }}
+ {% if page.cover -%}
Cover for {{page.title}}
+ {% endif -%} {{ content }}
diff --git a/_sass/Book.scss b/_sass/Book.scss index db8a1ccc7..95f57ea30 100644 --- a/_sass/Book.scss +++ b/_sass/Book.scss @@ -28,9 +28,9 @@ .Book__author { display: block; opacity: 0.5; - font-size: 1em; + font-size: 0.9em; font-style: italic; - font-family: "Times New Roman", Times, Baskerville, Georgia, serif; + font-family: Georgia, serif; } .Book__content.is-light p {