diff --git a/_layouts/base.html b/_layouts/base.html index 4243f602d77..53e98960462 100644 --- a/_layouts/base.html +++ b/_layouts/base.html @@ -17,11 +17,6 @@ layout: compress --- -{% assign version = jekyll.version | split:'.' %} -{% assign major = v[0] %} -{% assign minor = v[1] %} -{% assign patch = v[2] %} - {% assign plugins = site.plugins | default:site.gems %} {% assign author = site.data.authors[page.author] | default:site.data.authors.first[1] | default:site.author %} diff --git a/_layouts/post.html b/_layouts/post.html index 7c8dc0b2cec..adf71490f65 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -17,6 +17,11 @@ layout: base --- +{% assign version = jekyll.version | split:'.' %} +{% assign major = version[0] | plus:0 %} +{% assign minor = version[1] | plus:0 %} +{% assign patch = version[2] | plus:0 %} + {% include_cached components/post.html post=page no_link_title=true no_excerpt=true hide_image=page.hide_image hide_description=page.hide_description %} {% include components/dingbat.html %}