From 07d6e619cced7a2256bbe6de582ad68f93cd1553 Mon Sep 17 00:00:00 2001 From: Christian Mainka Date: Mon, 8 Jul 2024 18:29:54 +0000 Subject: [PATCH] feat: introduce `bib_search` variable via `_config.yml` --- _config.yml | 1 + _includes/scripts/misc.liquid | 4 +++- _pages/publications.md | 2 ++ 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/_config.yml b/_config.yml index a6efd6583f78..ee7be6df62b8 100644 --- a/_config.yml +++ b/_config.yml @@ -51,6 +51,7 @@ navbar_fixed: true footer_fixed: true search_enabled: true socials_in_search: true +bib_search: true # Dimensions max_width: 930px diff --git a/_includes/scripts/misc.liquid b/_includes/scripts/misc.liquid index b859f150edfa..497f0eee892a 100644 --- a/_includes/scripts/misc.liquid +++ b/_includes/scripts/misc.liquid @@ -38,7 +38,9 @@ - +{% if site.search_enabled %} + +{% endif %} diff --git a/_pages/publications.md b/_pages/publications.md index 27468ea6e1be..485c7238a45e 100644 --- a/_pages/publications.md +++ b/_pages/publications.md @@ -9,7 +9,9 @@ nav_order: 2 +{% if site.search_enabled %} +{% endif %}