mirror of
https://github.com/fooflington/selfdefined.git
synced 2025-04-19 08:19:15 +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 [
|
||||
...collection
|
||||
.getFilteredByGlob('./11ty/definitions/*.md')
|
||||
|
@ -1,5 +1,5 @@
|
||||
<div class="auto-grid">
|
||||
{% for definition in collections.definedDefinitions %}
|
||||
{% for definition in collections.definedWords %}
|
||||
{% include 'components/definition.njk' %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user