jekyll-offline
jekyll-offline copied to clipboard
Jekyll Offline - Turn any Jekyll site into an offline application with relative links
Description : - Change URI.decode/encode (deprecated on my Ruby version) to URI::Parser.new.escape/unescape - Fix bug where reference on a page to the page itself lead to file:///index.html instead of the...
Getting an error when trying to run the demo. `/Users/jazzlw/src/jekyll-offline/lib_rellinks.rb:13:in 'relativize': undefined method 'encode' for URI:Module (NoMethodError) ` Looks like this is a depreciated method that no longer exists... Ruby...
Fix for ```undefined method `encode' for URI:Module``` #2 This worked for my site, and the repo's demo site. It may not work for all URIs. Based on this thread: https://stackoverflow.com/questions/65423458/ruby-2-7-says-uri-escape-is-obsolete-what-replaces-it...