Commit 8ae2afe7 authored by Annika Backstrom's avatar Annika Backstrom

Move template from `pages` directory, to a new `templates` directory

The old page didn't like being a draft in the `pages` directory.

[skip ci]
parent 9db9a3f9
......@@ -22,13 +22,13 @@ If you make content or theme changes and want to regenerate the site, re-run the
## Article Templates
A template article exists in `content/pages/template.md`. If you use Vim, you
A template article exists in `templates/article.md`. If you use Vim, you
can add an `autocmd` to inject this template into any new file in `content`.
Example snippet for `.vimrc`:
if has("autocmd")
augroup templates
autocmd BufNewFile */blogdir/content/*.md 0r %:h/pages/template.md
autocmd BufNewFile */blogdir/content/*.md 0r %:h:h/templates/article.md
augroup END
endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment