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
22 22
 
23 23
 ## Article Templates
24 24
 
25
-A template article exists in `content/pages/template.md`. If you use Vim, you
25
+A template article exists in `templates/article.md`. If you use Vim, you
26 26
 can add an `autocmd` to inject this template into any new file in `content`.
27 27
 Example snippet for `.vimrc`:
28 28
 
29 29
     if has("autocmd")
30 30
         augroup templates
31
-            autocmd BufNewFile */blogdir/content/*.md 0r %:h/pages/template.md
31
+            autocmd BufNewFile */blogdir/content/*.md 0r %:h:h/templates/article.md
32 32
         augroup END
33 33
     endif
34 34
 

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


Loading…
Cancel
Save