Improve comment for url_placeholders method
This commit is contained in:
parent
cce58159ce
commit
a23e94ad48
|
@ -73,7 +73,8 @@ module Jekyll
|
||||||
}).to_s
|
}).to_s
|
||||||
end
|
end
|
||||||
|
|
||||||
# See url.rb for an explanation
|
# Returns a hash of URL placeholder names (as symbols) mapping to the
|
||||||
|
# desired placeholder replacements. For details see "url.rb"
|
||||||
def url_placeholders
|
def url_placeholders
|
||||||
{
|
{
|
||||||
:path => @dir,
|
:path => @dir,
|
||||||
|
|
|
@ -205,7 +205,8 @@ module Jekyll
|
||||||
}).to_s
|
}).to_s
|
||||||
end
|
end
|
||||||
|
|
||||||
# See url.rb for an explanation
|
# Returns a hash of URL placeholder names (as symbols) mapping to the
|
||||||
|
# desired placeholder replacements. For details see "url.rb"
|
||||||
def url_placeholders
|
def url_placeholders
|
||||||
{
|
{
|
||||||
:year => date.strftime("%Y"),
|
:year => date.strftime("%Y"),
|
||||||
|
|
Loading…
Reference in New Issue