From 9bb15c97d76581036029d2b48441f8e9edbf7b28 Mon Sep 17 00:00:00 2001 From: Lynnesbian Date: Mon, 6 Apr 2020 03:00:57 +1000 Subject: [PATCH] add lsi support --- Gemfile | 3 ++- Gemfile.lock | 4 ++++ _config.yml | 2 +- assets/style.css | 4 ++-- 4 files changed, 9 insertions(+), 4 deletions(-) diff --git a/Gemfile b/Gemfile index e24cfcf..f377ba9 100644 --- a/Gemfile +++ b/Gemfile @@ -17,7 +17,8 @@ gem "nokogiri", "~>1.10.9" # If you have any plugins, put them here! group :jekyll_plugins do gem "jekyll-feed", "~> 0.12" - gem "jekyll-paginate-v2", "~> 3.0.0" + gem "jekyll-paginate-v2", "~> 3.0.0" + gem "classifier-reborn", "~> 2.2.0" end # Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem diff --git a/Gemfile.lock b/Gemfile.lock index 7f57705..3d54dd9 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -3,12 +3,15 @@ GEM specs: addressable (2.7.0) public_suffix (>= 2.0.2, < 5.0) + classifier-reborn (2.2.0) + fast-stemmer (~> 1.0) colorator (1.1.0) concurrent-ruby (1.1.6) em-websocket (0.5.1) eventmachine (>= 0.12.9) http_parser.rb (~> 0.6.0) eventmachine (1.2.7) + fast-stemmer (1.0.2) ffi (1.12.2) forwardable-extended (2.6.0) http_parser.rb (0.6.0) @@ -72,6 +75,7 @@ PLATFORMS ruby DEPENDENCIES + classifier-reborn (~> 2.2.0) jekyll (~> 4.0.0) jekyll-feed (~> 0.12) jekyll-paginate-v2 (~> 3.0.0) diff --git a/_config.yml b/_config.yml index 2c9d993..bc19a8c 100644 --- a/_config.yml +++ b/_config.yml @@ -2,7 +2,7 @@ url: "" # the base hostname & protocol for your site, e.g. http://example.com baseurl: "" # the subpath of your site, e.g. /blog title: "Bune City Blog" # the name of your site, e.g. ACME Corp. exclude: [old/] -plugins: [jekyll-feed, jekyll-paginate-v2] +plugins: [jekyll-feed, jekyll-paginate-v2, classifier-reborn] pagination: enabled: true diff --git a/assets/style.css b/assets/style.css index eb607cc..0d62e14 100644 --- a/assets/style.css +++ b/assets/style.css @@ -181,12 +181,12 @@ p, li { #post-related-posts { display: flex; - justify-content: space-between; + flex-direction: column; } .related-post { flex: 1; - margin: 5px; + margin: 5px 0; padding: 10px; }