use attr_accessor

This commit is contained in:
Ben Balter 2017-04-07 17:10:13 -04:00
parent fa44b31280
commit 337bffa3bc
No known key found for this signature in database
GPG Key ID: DBB67C246AD356C4
1 changed files with 2 additions and 2 deletions

View File

@ -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,
}