From 1b6eeaca41d13abf530a9c25826d5a2325c2023c Mon Sep 17 00:00:00 2001 From: Florian Klampfer Date: Thu, 11 Feb 2021 09:27:33 +0700 Subject: [PATCH] Fix #258 # Conflicts: # _layouts/project.html # _layouts/resume.html # _layouts/welcome.html --- _layouts/base.html | 5 ----- _layouts/post.html | 5 +++++ 2 files changed, 5 insertions(+), 5 deletions(-) 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 %}