Browse Source

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]
restyle-spring-2019
Annika Backstrom 1 year ago
parent
commit
8ae2afe727
2 changed files with 2 additions and 2 deletions
  1. 2
    2
      README.md
  2. 0
    0
      templates/article.md

+ 2
- 2
README.md View File

@@ -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


content/pages/template.md → templates/article.md View File


Loading…
Cancel
Save