From f677a3731cfa7624c63b89438f9e9d789798762e Mon Sep 17 00:00:00 2001 From: Danila Fedorin Date: Wed, 19 Jun 2024 22:03:33 -0700 Subject: [PATCH] Add a series nav shortcode to display navigation early Signed-off-by: Danila Fedorin --- assets/scss/style.scss | 4 ++++ layouts/shortcodes/seriesnav.html | 3 +++ 2 files changed, 7 insertions(+) create mode 100644 layouts/shortcodes/seriesnav.html diff --git a/assets/scss/style.scss b/assets/scss/style.scss index 6e6c83e..abf34e0 100755 --- a/assets/scss/style.scss +++ b/assets/scss/style.scss @@ -424,3 +424,7 @@ blockquote { margin-left: 0; padding-left: 1rem; } + +.early-navigation-wrapper { + margin-bottom: 3rem; +} diff --git a/layouts/shortcodes/seriesnav.html b/layouts/shortcodes/seriesnav.html new file mode 100644 index 0000000..811cb47 --- /dev/null +++ b/layouts/shortcodes/seriesnav.html @@ -0,0 +1,3 @@ +
+{{ partial "seriesnav.html" .Page }} +