mirror of
https://github.com/fooflington/selfdefined.git
synced 2025-04-20 16:39:09 +00:00
feat(11ty): rename defined collection
This commit is contained in:
parent
45bdf89dfc
commit
3399abf6da
@ -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')
|
||||||
|
@ -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>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user