mirror of
https://github.com/samsonjs/samhuri.net.git
synced 2026-03-25 09:05:47 +00:00
fix year
This commit is contained in:
parent
fe4c427273
commit
5920e6fbb3
1 changed files with 1 additions and 1 deletions
|
|
@ -115,7 +115,7 @@ class HarpBlog
|
|||
else
|
||||
save_post(post)
|
||||
if options[:commit]
|
||||
git_commit("create post '#{post.title}'", [year_index_path(post.year), post_path(post.dir)])
|
||||
git_commit("create post '#{post.title}'", [year_index_path("#{post.time.year}"), post_path(post.dir)])
|
||||
end
|
||||
post
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in a new issue