From 5ea834520fefd18e28c95cea95e343de784e82b7 Mon Sep 17 00:00:00 2001 From: Matthew Griffin Date: Fri, 23 Feb 2024 16:43:19 +0000 Subject: [PATCH] Add unpublished resources page Move glossary entries to resources --- _config.yml | 3 ++- _glossary/software_carbon_intensity.md | 2 +- .../cloud_carbon_footprint.md | 0 {_glossary => _resources}/digital_beacon.md | 0 {_glossary => _resources}/ecograder.md | 0 {_glossary => _resources}/ember.md | 0 .../green_software_foundation.md | 0 .../green_web_foundation.md | 0 .../sustainable_development_goals.md | 0 .../sustainable_web_design.md | 0 .../web_sustainability_guidelines.md | 0 .../website_carbon_calculator.md | 0 pages/resources.md | 16 ++++++++++++++++ tailwind.config.js | 1 + 14 files changed, 20 insertions(+), 2 deletions(-) rename {_glossary => _resources}/cloud_carbon_footprint.md (100%) rename {_glossary => _resources}/digital_beacon.md (100%) rename {_glossary => _resources}/ecograder.md (100%) rename {_glossary => _resources}/ember.md (100%) rename {_glossary => _resources}/green_software_foundation.md (100%) rename {_glossary => _resources}/green_web_foundation.md (100%) rename {_glossary => _resources}/sustainable_development_goals.md (100%) rename {_glossary => _resources}/sustainable_web_design.md (100%) rename {_glossary => _resources}/web_sustainability_guidelines.md (100%) rename {_glossary => _resources}/website_carbon_calculator.md (100%) create mode 100644 pages/resources.md diff --git a/_config.yml b/_config.yml index 37eb3a8..4a939d2 100644 --- a/_config.yml +++ b/_config.yml @@ -31,7 +31,8 @@ postcss: cache: false collections: - glossary: + - glossary + - resources # collections_dir: glossary diff --git a/_glossary/software_carbon_intensity.md b/_glossary/software_carbon_intensity.md index bc4141d..aa10dc5 100644 --- a/_glossary/software_carbon_intensity.md +++ b/_glossary/software_carbon_intensity.md @@ -2,5 +2,5 @@ title: Software Carbon Intensity (SCI) --- -A methodology developed by the [Green Software Foundation](#green-software-foundation-gsf) to help calculate and track the impact of software, it is designed to be widely applicable and calculatable with a bias towards actions that eliminate carbon emissions. It considers both [operational](#operational-carbon) and [embodied carbon](#embodied-carbon) and has a scaling factor (R) that allows for a value that is independent of the size of the system which could be for example per transaction or per user. The inclusion of embodied carbon ensures that this value can never reach zero but gives a value that can be tracked to validate improvements over time. +A methodology developed by the [Green Software Foundation](/resources#green-software-foundation-gsf) to help calculate and track the impact of software, it is designed to be widely applicable and calculatable with a bias towards actions that eliminate carbon emissions. It considers both [operational](#operational-carbon) and [embodied carbon](#embodied-carbon) and has a scaling factor (R) that allows for a value that is independent of the size of the system which could be for example per transaction or per user. The inclusion of embodied carbon ensures that this value can never reach zero but gives a value that can be tracked to validate improvements over time. diff --git a/_glossary/cloud_carbon_footprint.md b/_resources/cloud_carbon_footprint.md similarity index 100% rename from _glossary/cloud_carbon_footprint.md rename to _resources/cloud_carbon_footprint.md diff --git a/_glossary/digital_beacon.md b/_resources/digital_beacon.md similarity index 100% rename from _glossary/digital_beacon.md rename to _resources/digital_beacon.md diff --git a/_glossary/ecograder.md b/_resources/ecograder.md similarity index 100% rename from _glossary/ecograder.md rename to _resources/ecograder.md diff --git a/_glossary/ember.md b/_resources/ember.md similarity index 100% rename from _glossary/ember.md rename to _resources/ember.md diff --git a/_glossary/green_software_foundation.md b/_resources/green_software_foundation.md similarity index 100% rename from _glossary/green_software_foundation.md rename to _resources/green_software_foundation.md diff --git a/_glossary/green_web_foundation.md b/_resources/green_web_foundation.md similarity index 100% rename from _glossary/green_web_foundation.md rename to _resources/green_web_foundation.md diff --git a/_glossary/sustainable_development_goals.md b/_resources/sustainable_development_goals.md similarity index 100% rename from _glossary/sustainable_development_goals.md rename to _resources/sustainable_development_goals.md diff --git a/_glossary/sustainable_web_design.md b/_resources/sustainable_web_design.md similarity index 100% rename from _glossary/sustainable_web_design.md rename to _resources/sustainable_web_design.md diff --git a/_glossary/web_sustainability_guidelines.md b/_resources/web_sustainability_guidelines.md similarity index 100% rename from _glossary/web_sustainability_guidelines.md rename to _resources/web_sustainability_guidelines.md diff --git a/_glossary/website_carbon_calculator.md b/_resources/website_carbon_calculator.md similarity index 100% rename from _glossary/website_carbon_calculator.md rename to _resources/website_carbon_calculator.md diff --git a/pages/resources.md b/pages/resources.md new file mode 100644 index 0000000..1c99ab0 --- /dev/null +++ b/pages/resources.md @@ -0,0 +1,16 @@ +--- +layout: default +title: Resources +permalink: /resources +published: false +--- + +# Resources + +{% assign items = site.resources %} + +{% for item in items %} + {% include linkedHeading.html heading=item.title level=2 %} + {{ item.content | remove: '

' | remove: '

' }} + {% if item.link and item.linktext%}[{{ item.linktext }}]({{ item.link }}){:target="_blank"}{% endif %} +{% endfor %} \ No newline at end of file diff --git a/tailwind.config.js b/tailwind.config.js index 305ec40..82739ba 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -8,6 +8,7 @@ module.exports = { './_layouts/**/*.html', './_posts/*.md', './_glossary/*.md', + './_resources/*.md', './pages/*.md', './*.md', './*.html',