diff options
author | Alan Pearce | 2017-06-18 18:23:28 +0200 |
---|---|---|
committer | Alan Pearce | 2017-06-18 18:23:28 +0200 |
commit | e13c5726846a89df4196f6abc9fc98d99d48305b (patch) | |
tree | 700b4942398c36113425793242a820ce4a8a6b52 /src/views/tag.njk | |
parent | 33171a749162685e42650f82041cd2af0136718d (diff) | |
download | homestead-e13c5726846a89df4196f6abc9fc98d99d48305b.tar.lz homestead-e13c5726846a89df4196f6abc9fc98d99d48305b.tar.zst homestead-e13c5726846a89df4196f6abc9fc98d99d48305b.zip |
Rename templates to njk
It's specified in the nunjucks documentation. Using it allows editors to understand the syntax better
Diffstat (limited to 'src/views/tag.njk')
-rw-r--r-- | src/views/tag.njk | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/views/tag.njk b/src/views/tag.njk new file mode 100644 index 0000000..7ff9871 --- /dev/null +++ b/src/views/tag.njk @@ -0,0 +1,3 @@ +{% for post in posts %} + {{ post.data.get('title') }} +{% endfor %} |