fix carbon

This commit is contained in:
madrilene 2024-02-01 10:11:18 +01:00
parent 1c9ceb741f
commit 5d576e17dd
2 changed files with 3 additions and 3 deletions

View file

@ -55,7 +55,7 @@ module.exports = {
providers: {
// if you want to add more than one, edit the array directly.
domain: 'netlify.com',
service: 'static-hosting'
service: 'cdn'
},
credentials: {
// optional, eg: { domain='my-org.com', doctype = 'webpage', url = 'https://my-org.com/our-climate-record'}

View file

@ -4,11 +4,11 @@ eleventyExcludeFromCollections: true
excludeFromSitemap: true
---
[upstream]
providers = [{ domain = {{meta.greenweb.providers.domain}}, service = {{meta.greenweb.providers.service}} }]
providers = [{ domain = '{{ meta.greenweb.providers.domain }}', service = '{{ meta.greenweb.providers.service }}' }]
[org]
credentials = [
{% if meta.greenweb.credentials.domain %}
{ domain = {{ meta.greenweb.credentials.domain }}, doctype = {{meta.greenweb.credentials.doctype }}, url = {{meta.greenweb.credentials.url }} }
{ domain = '{{ meta.greenweb.credentials.domain }}', doctype = '{{meta.greenweb.credentials.doctype }}', url = '{{ meta.greenweb.credentials.url }}' }
{% endif %} ]
# more info: https://carbontxt.org/