mirror of
https://github.com/jekyll/jekyll.git
synced 2026-01-30 01:08:26 -05:00
Improve comment for url_placeholders method
This commit is contained in:
@@ -73,7 +73,8 @@ module Jekyll
|
||||
}).to_s
|
||||
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
|
||||
{
|
||||
:path => @dir,
|
||||
|
||||
@@ -205,7 +205,8 @@ module Jekyll
|
||||
}).to_s
|
||||
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
|
||||
{
|
||||
:year => date.strftime("%Y"),
|
||||
|
||||
Reference in New Issue
Block a user