Skip to content

Commit b9c1e44

Browse files
committed
fix tools (#204)
1 parent 9ca6105 commit b9c1e44

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.local.vimrc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ function! s:new_entry()
88
if len(title) == 0
99
return
1010
endif
11-
exec "e" printf("%s/_posts/%s-%s.md", s:basedir, strftime("%Y-%m-%d"), substitute(title, '\s', '-', 'g'))
11+
exec "e" printf("%s/_posts/blog/%s-%s.md", s:basedir, strftime("%Y-%m-%d"), substitute(title, '\s', '-', 'g'))
1212
call setline(1, [
1313
\ '---',
14-
\ 'layout: post',
14+
\ 'layout: blog',
1515
\ 'category: blog',
1616
\ 'title: ' . title,
1717
\ '---',

scripts/release.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
open("#{root}/#{file}", "wb") {|f|
1414
f.puts <<"EOS"
1515
---
16-
layout: post
16+
layout: release
1717
category: release
1818
title: #{rel['title']} #{rel['version']} リリース
1919

0 commit comments

Comments
 (0)