Skip to content

Commit

Permalink
Fix hook bug
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredcwhite committed Oct 29, 2020
1 parent a50ed78 commit 1a1df9a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/serbea/bridgetown_support.rb
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def output_ext(ext)
end
end

Bridgetown::Hooks.register :site, :pre_render do |site|
Bridgetown::Hooks.register :site, :pre_render, reloadable: false do |site|
# make sure Liquid doesn't find {% %} and decide to process Serbea code!
site.contents.each do |convertible|
convertible.data.render_with_liquid = false if convertible.extname == ".serb"
Expand Down
2 changes: 1 addition & 1 deletion lib/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module Serbea
VERSION = "0.6.2"
VERSION = "0.6.3"
end

0 comments on commit 1a1df9a

Please sign in to comment.