add jekyll version to the drop

This commit is contained in:
Frank Taillandier 2017-09-06 01:11:33 +02:00
parent 5219054a76
commit f9cabae8a6
2 changed files with 5 additions and 1 deletions

View File

@ -20,6 +20,10 @@ module Jekyll
Jekyll::SeoTag::VERSION
end
def jekyll_version
Jekyll::VERSION
end
# Should the `<title>` tag be generated for this page?
def title?
return false unless title

View File

@ -3,7 +3,7 @@
<title>{{ seo_tag.title }}</title>
{% endif %}
<meta name="generator" content="Jekyll v{{ jekyll.version }}" />
<meta name="generator" content="Jekyll v{{ seo_tag.jekyll_version }}" />
{% if seo_tag.page_title %}
<meta property="og:title" content="{{ seo_tag.page_title }}" />