mirror of
https://github.com/hendrikschneider/jekyll-analytics
synced 2025-02-16 20:18:30 +00:00
apply fix for posts
This commit is contained in:
parent
9559352c78
commit
d6bb83e701
2 changed files with 4 additions and 4 deletions
|
@ -1,8 +1,8 @@
|
|||
|
||||
Gem::Specification.new do |s|
|
||||
s.name = 'jekyll-analytics'
|
||||
s.version = '0.1.5'
|
||||
s.date = '2017-11-06'
|
||||
s.version = '0.1.6'
|
||||
s.date = '2017-12-21'
|
||||
s.summary = "Jekyll plugin "
|
||||
s.description = "Plugin to easily add web analytics to your jekyll site without modifying your templates"
|
||||
s.authors = ["Hendrik Schneider"]
|
||||
|
|
|
@ -17,11 +17,11 @@ Jekyll::Hooks.register :pages, :post_render do |page|
|
|||
inject(page)
|
||||
end
|
||||
|
||||
Jekyll::Hooks.register :post, :post_render do |post|
|
||||
Jekyll::Hooks.register :posts, :post_render do |post|
|
||||
inject(post)
|
||||
end
|
||||
|
||||
Jekyll::Hooks.register :site, :post_render do |site|
|
||||
#puts site.config
|
||||
#inject(site)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue