summaryrefslogtreecommitdiffstats
path: root/blog/_plugins/page_title.rb
diff options
context:
space:
mode:
Diffstat (limited to 'blog/_plugins/page_title.rb')
-rw-r--r--blog/_plugins/page_title.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/blog/_plugins/page_title.rb b/blog/_plugins/page_title.rb
index 039e859..3c835fd 100644
--- a/blog/_plugins/page_title.rb
+++ b/blog/_plugins/page_title.rb
@@ -1,4 +1,3 @@
-require "jekyll/multiple/languages/plugin"
require "facets/kernel/silence"
module Jekyll
@@ -10,7 +9,7 @@ module Jekyll
def render(context)
text = silently do
- t = Jekyll::LocalizeTag.new('t', @key, '')
+ t = Jekyll::LocalizeTag.parse('t', @key, '', {})
t.render(context)
end
text || context[@key]