# File lib/jekyll/page.rb, line 32
def
dir
url
[
-1
,
1
]
==
'/'
?
url
:
File
.
dirname
(
url
)
end