From bbbc85d8244e4886b11dc099946769b6c62554aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20L=C3=BCtzner?= Date: Thu, 18 May 2023 01:13:27 +0000 Subject: [PATCH] feat: add params.navbar_style to config to select a style for the navbar (#14) This is a new feature in readable.css 1.1.0. The new version of readable.css defaults to a navbar without animations, but to stay compatible with older releases of this theme, we default to "classy" instead which is the animated navbar. The new navbar styles also look better without wrapping the elements inside a ``, so we make that conditional and only apply it when the "classy" style is chosen. --- layouts/partials/header.html | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 2947992..7bcaaa8 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -1,10 +1,15 @@

{{ $.Site.Title }}

{{ $.Site.Params.subtitle }}

-