feat(11ty): rename defined collection

This commit is contained in:
Oscar 2019-11-14 09:31:40 +01:00
parent 45bdf89dfc
commit 3399abf6da
2 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@ module.exports = function (config) {
})] })]
}) })
config.addCollection('definedDefinitions', collection => { config.addCollection('definedWords', collection => {
return [ return [
...collection ...collection
.getFilteredByGlob('./11ty/definitions/*.md') .getFilteredByGlob('./11ty/definitions/*.md')

View File

@ -1,5 +1,5 @@
<div class="auto-grid"> <div class="auto-grid">
{% for definition in collections.definedDefinitions %} {% for definition in collections.definedWords %}
{% include 'components/definition.njk' %} {% include 'components/definition.njk' %}
{% endfor %} {% endfor %}
</div> </div>