From 6519d7219efa079c9e8425201dc2a9075f67c82f Mon Sep 17 00:00:00 2001 From: mattn Date: Thu, 11 Oct 2012 14:47:25 +0900 Subject: also -. --- template/markdown/base-post.mkd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'template') diff --git a/template/markdown/base-post.mkd b/template/markdown/base-post.mkd index d19c898..61859a4 100644 --- a/template/markdown/base-post.mkd +++ b/template/markdown/base-post.mkd @@ -1,6 +1,6 @@ --- layout: post -title: {{_expr_:substitute(matchstr(expand("%:p:t:r"), '^[0-9-]\+\zs.*'), '_', ' ', 'g')}} +title: {{_expr_:substitute(matchstr(expand("%:p:t:r"), '^[0-9-]\+\zs.*'), '[-_]', ' ', 'g')}} date: {{_expr_:strftime('%Y/%m/%d %H:%M', localtime())}} --- {{_cursor_}} -- cgit v1.2.3-54-g00ecf