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: { providers: {
// if you want to add more than one, edit the array directly. // if you want to add more than one, edit the array directly.
domain: 'netlify.com', domain: 'netlify.com',
service: 'static-hosting' service: 'cdn'
}, },
credentials: { credentials: {
// optional, eg: { domain='my-org.com', doctype = 'webpage', url = 'https://my-org.com/our-climate-record'} // 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 excludeFromSitemap: true
--- ---
[upstream] [upstream]
providers = [{ domain = {{meta.greenweb.providers.domain}}, service = {{meta.greenweb.providers.service}} }] providers = [{ domain = '{{ meta.greenweb.providers.domain }}', service = '{{ meta.greenweb.providers.service }}' }]
[org] [org]
credentials = [ credentials = [
{% if meta.greenweb.credentials.domain %} {% 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 %} ] {% endif %} ]
# more info: https://carbontxt.org/ # more info: https://carbontxt.org/