From c69e6c902e459e9678309da43fe9f1902f9d9796 Mon Sep 17 00:00:00 2001 From: Attajak Janrak Date: Sun, 28 Apr 2024 13:55:14 +0000 Subject: [PATCH] Updated --- .replit | 4 ++-- Gemfile | 2 -- Gemfile.lock | 3 --- config/initializers.rb | 3 +-- src/_components/navbar.liquid | 2 -- src/about.md | 17 +++++++++++++++-- src/posts.md | 2 +- 7 files changed, 19 insertions(+), 14 deletions(-) diff --git a/.replit b/.replit index 30ca556..e13687d 100644 --- a/.replit +++ b/.replit @@ -1,13 +1,13 @@ run = "bin/bt start" entrypoint = "README.md" -hidden = [".bundle", ".config"] +hidden = [".bundle", ".config", ".upm"] modules = ["ruby-3.2:v6-20240209-9e3a339", "nodejs-20:v8-20230920-bd784b9"] [nix] channel = "stable-23_11" [gitHubImport] -requiredFiles = [".replit", "replit.nix"] +requiredFiles = [".replit", "replit.nix", "Gemfile", "package.json"] [deployment] run = ["sh", "-c", "bin/bt start"] diff --git a/Gemfile b/Gemfile index 8328aeb..979e1c7 100644 --- a/Gemfile +++ b/Gemfile @@ -42,5 +42,3 @@ group :bridgetown_plugins do end gem "bridgetown-minify-html", "~> 2.0", :group => :bridgetown_plugins - -gem "bridgetown-quick-search", "~> 2.0", :group => :bridgetown_plugins diff --git a/Gemfile.lock b/Gemfile.lock index 18c24a2..b3e5f39 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -54,8 +54,6 @@ GEM htmlcompressor (>= 0.4, < 1.0) bridgetown-paginate (1.3.4) bridgetown-core (= 1.3.4) - bridgetown-quick-search (2.0.0) - bridgetown (>= 1.2.0.beta2, < 2.0) bridgetown-routes (1.3.4) bridgetown-core (= 1.3.4) roda-route_list (>= 2.1) @@ -128,7 +126,6 @@ DEPENDENCIES bridgetown (~> 1.3.4) bridgetown-feed (~> 3.1) bridgetown-minify-html (~> 2.0) - bridgetown-quick-search (~> 2.0) bridgetown-routes (~> 1.3.4) bridgetown-seo-tag (~> 6.0) bridgetown-sitemap (~> 2.0) diff --git a/config/initializers.rb b/config/initializers.rb index 34c35ec..da7606d 100644 --- a/config/initializers.rb +++ b/config/initializers.rb @@ -45,7 +45,7 @@ # Uncomment to use file-based dynamic template routing via Roda (make sure you # uncomment the gem dependency in your `Gemfile` as well): # - # init :"bridgetown-routes" + init :"bridgetown-routes" # # We also recommend that if you're using Roda routes you include this plugin @@ -64,5 +64,4 @@ init :"bridgetown-feed" init :"bridgetown-seo-tag" init :"bridgetown-sitemap" - init :"bridgetown-quick-search" end diff --git a/src/_components/navbar.liquid b/src/_components/navbar.liquid index 4d56198..3804e0a 100644 --- a/src/_components/navbar.liquid +++ b/src/_components/navbar.liquid @@ -2,8 +2,6 @@ Logo -{% render "bridgetown_quick_search/search", placeholder: "Search", input_class: "input", theme: "dark", snippet_length: 200 %} -