fix carbon
This commit is contained in:
parent
1c9ceb741f
commit
5d576e17dd
2 changed files with 3 additions and 3 deletions
|
|
@ -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'}
|
||||||
|
|
|
||||||
|
|
@ -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/
|
||||||
Loading…
Reference in a new issue