This is an automated email from the ASF dual-hosted git repository.

heneveld pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/brooklyn-docs.git


The following commit(s) were added to refs/heads/master by this push:
     new 81f61f8a update liquid plugin code ('dig' no longer used it seems)
81f61f8a is described below

commit 81f61f8a3ed45222c72a89e1279d1e18ae0566b2
Author: Alex Heneveld <[email protected]>
AuthorDate: Mon May 20 13:39:41 2024 +0100

    update liquid plugin code ('dig' no longer used it seems)
---
 _plugins/read.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/_plugins/read.rb b/_plugins/read.rb
index df0a26a1..c0faf574 100644
--- a/_plugins/read.rb
+++ b/_plugins/read.rb
@@ -45,7 +45,7 @@ module JekyllRead
 
       # is there a better way to trim a leading / ?
       file = file.relative_path_from(Pathname.new("/")) unless file.relative?
-      raise "No such file #{file} in read call (from 
#{context.dig('page','path')})" unless file.exist?
+      raise "No such file #{file} in read call (from #{context_page['path']})" 
unless file.exist?
       file
     end
 

Reply via email to