Skip to content

Commit

Permalink
Merge pull request #44 from ScottLogic/sfd-80-social-card
Browse files Browse the repository at this point in the history
SFD-80: Add a Social Card
  • Loading branch information
mgriffin-scottlogic authored Aug 1, 2024
2 parents 49f15a4 + c031532 commit a6c4fd9
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 1 deletion.
9 changes: 9 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,15 @@ node_modules:
- source: "@scottlogic/tech-carbon-estimator/media"
target: media

defaults:
- scope:
path: ""
type: "pages"
values:
image: "/assets/images/social/default.png"
summary: Introducing a proposed Technology Carbon Standard for analysing an organisation's Technology Carbon Footprint.


# Exclude from processing.
# The following items will not be processed, by default.
# Any item listed under the `exclude:` key here will be automatically added to
Expand Down
5 changes: 5 additions & 0 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{{ page.title }}</title>
<link rel="stylesheet" href={{"/assets/css/main.css" | relative_url }}>

<!-- OpenGraph MetaData -->
<meta property="og:title" content="{{ page.title | escape }}" />
<meta property="og:description" content="{{ page.summary | escape }}"/>
<meta property="og:image" content="{{ page.image | relative_url }}" />

<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-PRVD4KMH9C"></script>
Expand Down
Binary file added assets/images/social/default.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/social/estimator.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 3 additions & 1 deletion pages/estimator.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
---
layout: default
title: Carbon Estimator
title: Technology Carbon Estimator
summary: The Technology Carbon Estimator is designed to give a high-level overview of the possible areas of carbon impact within your IT estate.
permalink: /estimator
includeEstimator: true
image: /assets/images/social/estimator.png
---

# Technology Carbon Estimator
Expand Down

0 comments on commit a6c4fd9

Please sign in to comment.