matflores-jekyll 0.4.2 → 0.4.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/jekyll/post.rb +4 -3
  2. metadata +1 -1
data/lib/jekyll/post.rb CHANGED
@@ -88,11 +88,12 @@ module Jekyll
88
88
  if permalink
89
89
  permalink.to_s.split("/")[0..-2].join("/") + '/'
90
90
  else
91
- prefix = self.categories.empty? ? '' : '/' + self.categories.join('/')
91
+ # I don't want to use categories to define the destination directory
92
+ # prefix = self.categories.empty? ? '' : '/' + self.categories.join('/')
92
93
  if [:date, :pretty].include?(Jekyll.permalink_style)
93
- prefix + date.strftime("/%Y/%m/%d/")
94
+ date.strftime("/%Y/%m/%d/")
94
95
  else
95
- prefix + '/'
96
+ '/'
96
97
  end
97
98
  end
98
99
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: matflores-jekyll
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.2
4
+ version: 0.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tom Preston-Werner