Skip to content

Commit

Permalink
Add Facebook sharing link and og:description.
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisLoer committed Mar 21, 2019
1 parent 4c6051a commit 882c8a3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions energy-viz/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<meta charset='utf-8'>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<meta property="og:title" content="Explore 17 years of US electric generation" />
<meta property="og:description" content="See how much our power sources have already changed in the 21st century." />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://electricitytransition.com/" />
<meta property="og:image" content="https://chrisloer.github.io/energy-viz/wind_heatmap.png" />
Expand Down Expand Up @@ -288,15 +289,15 @@ <h5 class="modal-title" id="exploreLabel">🔎 Explore</h5>
</div>
<div class="modal-body">
<p>Use the controls to filter by fuel source and move through time. Zoom in to see data on individual plants. What interesting patterns do you see?</p>
<p><i class="fab fa-medium"></i> &mdash; <a href="https://medium.com/@chrisloer/how-i-built-it-us-electric-generation-map-ed8b2b682eed">How I built it</a></p>
<p><i class="fab fa-medium"></i> <a href="https://medium.com/@chrisloer/how-i-built-it-us-electric-generation-map-ed8b2b682eed">How I built it</a></p>
<small id="citation">
Data from <a href='https://www.eia.gov/electricity/data/eia923/'>US Energy Information Administration</a>
<br>
Inspired by <a href="https://www.nytimes.com/interactive/2018/12/24/climate/how-electricity-generation-changed-in-your-state.html">NYTimes</a> and <a href="https://www.carbonbrief.org/mapped-how-the-us-generates-electricity">Carbon Brief</a>
<br>
<span style="float: right"><i class="far fa-copyright"></i> 2019</span>
<br>
<a href="https://twitter.com/share?ref_src=twsrc%5Etfw" class="twitter-share-button" data-text="Explore 17 years of US electric generation" data-url="https://electricitytransition.com" data-show-count="false">Tweet</a><script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script><span style="float:right"><i class="fab fa-twitter"></i> <a href="https://twitter.com/ChrisLoer">@ChrisLoer</a></span>
<a href="https://twitter.com/share?ref_src=twsrc%5Etfw" class="twitter-share-button" data-text="Watch the evolution of electric generation in the 21st century - massive change is already happening" data-url="https://electricitytransition.com" data-show-count="false">Tweet</a><script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>&nbsp;<iframe src="https://www.facebook.com/plugins/share_button.php?href=https%3A%2F%2Felectricitytransition.com&layout=button_count&size=small&appId=220162164669330&width=75&height=20" width="75" height="20" style="border:none;overflow:hidden" scrolling="no" frameborder="0" allowTransparency="true" allow="encrypted-media"></iframe><span style="float:right"><i class="fab fa-twitter"></i> <a href="https://twitter.com/ChrisLoer">@ChrisLoer</a></span>
</small>
</div>
<div class="modal-footer">
Expand Down

0 comments on commit 882c8a3

Please sign in to comment.