From 337bffa3bc5a84bdc81b99046800912470dcd32f Mon Sep 17 00:00:00 2001 From: Ben Balter Date: Fri, 7 Apr 2017 17:10:13 -0400 Subject: [PATCH] use attr_accessor --- lib/jekyll-seo-tag.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/jekyll-seo-tag.rb b/lib/jekyll-seo-tag.rb index 689e5b1..9f9b7e2 100644 --- a/lib/jekyll-seo-tag.rb +++ b/lib/jekyll-seo-tag.rb @@ -40,8 +40,8 @@ module Jekyll def payload { - "page" => @context.registers[:page], - "site" => @context.registers[:site].site_payload["site"], + "page" => context.registers[:page], + "site" => context.registers[:site].site_payload["site"], "paginator" => context["paginator"], "seo_tag" => drop, }