awestruct 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/awestruct/extensions/posts.rb +1 -1
- metadata +2 -2
@@ -11,7 +11,7 @@ module Awestruct
|
|
11
11
|
posts = []
|
12
12
|
|
13
13
|
site.pages.each do |page|
|
14
|
-
if ( page.relative_source_path =~ /^#{@path_prefix}\/(20[01][0-9])-([01][0-9])-([0123][0-9])-(
|
14
|
+
if ( page.relative_source_path =~ /^#{@path_prefix}\/(20[01][0-9])-([01][0-9])-([0123][0-9])-([^.]+)\..*$/ )
|
15
15
|
year = $1
|
16
16
|
month = $2
|
17
17
|
day = $3
|