From e4772e314a1b4094c5f4a826522bc5da80d01ca8 Mon Sep 17 00:00:00 2001 From: Peter Date: Mon, 17 Mar 2025 22:44:12 -0400 Subject: [PATCH] switch main key from meta to alt, more sane default --- hugo.toml | 2 +- static/js/fastsearch.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/hugo.toml b/hugo.toml index ba6490b..6fd2c26 100644 --- a/hugo.toml +++ b/hugo.toml @@ -6,7 +6,7 @@ defaultContentLanguage = 'es' [params] user = "peter" hostname = "peterdominguez.art" - footerHtml = 'Todo contenido bajo una licencia CC BY-SA 4.0. Para buscar en este sitio: presiona Meta (tecla Win) + /' + footerHtml = 'Todo contenido bajo una licencia CC BY-SA 4.0. Para buscar en este sitio: presiona Alt + /' [params.author] name = "Peter Domínguez" avatar = "/simon.png" diff --git a/static/js/fastsearch.js b/static/js/fastsearch.js index 0d524c2..4c4e501 100755 --- a/static/js/fastsearch.js +++ b/static/js/fastsearch.js @@ -15,8 +15,8 @@ const DEFAULT_CONFIG = { shortcuts: { open: { // Shortcut to open/close search key: '/', // The key to trigger the shortcut - metaKey: true, // Requires Cmd/Win key - altKey: false, // Requires Alt key + metaKey: false, // Requires Cmd/Win key + altKey: true, // Requires Alt key ctrlKey: false, // Requires Ctrl key shiftKey: false // Requires Shift key }