diff options
author | mattn <mattn.jp@gmail.com> | 2012-10-11 14:47:25 +0900 |
---|---|---|
committer | mattn <mattn.jp@gmail.com> | 2012-10-11 14:47:25 +0900 |
commit | 6519d7219efa079c9e8425201dc2a9075f67c82f (patch) | |
tree | e957fc86b12f2b07c33d005b50fde6267f7c6790 /template | |
parent | b07d0796e7178fc23673a99c9f49a1a6721746f8 (diff) | |
download | vim-sonictemplate-6519d7219efa079c9e8425201dc2a9075f67c82f.tar.gz vim-sonictemplate-6519d7219efa079c9e8425201dc2a9075f67c82f.tar.bz2 vim-sonictemplate-6519d7219efa079c9e8425201dc2a9075f67c82f.zip |
also -.
Diffstat (limited to 'template')
-rw-r--r-- | template/markdown/base-post.mkd | 2 |
1 files changed, 1 insertions, 1 deletions
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_}} |