Skip to content
Snippets Groups Projects
Commit 5f7602d7 authored by Briggs, Aaron Shane's avatar Briggs, Aaron Shane
Browse files

Merge branch 'WDFN-697_make_facebook_shares_more_compelling' into 'main'

WDFN-697_Facebook shares - use intent tweet

See merge request !330
parents 4d752897 bbc0acf1
No related branches found
No related tags found
1 merge request!330WDFN-697_Facebook shares - use intent tweet
......@@ -44,7 +44,7 @@ For local development, example lookup files are stored in the
repository in the folder wdfn-server/data and they are not automatically updated. Please note, that the files in the wdfn-server/data
directory are there for local development; they are not, necessarily, the files used in the deployed versions of the application.
The sample files can of course be updated to match what is used on deployment by manually download a copy of the new files to replace the
The sample files can be updated to match what is used on deployment by manually downloading a copy of the new files to replace the
files in your wdfn-server/data directory. These new files can be committed to Git and updated in the repository.
## Run tests
......
Source diff could not be displayed: it is too large. Options to address this: view the blob.
This diff is collapsed.
......@@ -13,10 +13,11 @@
<meta property="og:type" content="website">
<meta property="og:title" content="{{ page_title }}">
<meta property="og:description" content="{{ components.Description(stations[0].site_no, location_with_values, parm_grp_summary) }}">
<meta property="og:image" content="{{ config.GRAPH_SERVER_ENDPOINT }}/monitoring-location/{{ stations[0].site_no }}/?parameterCode={{ default_parameter_code }}&width=500">
<meta property="og:image" content="{{ config.GRAPH_SERVER_ENDPOINT }}/monitoring-location/{{ stations[0].site_no }}/?parameterCode={{ default_parameter_code }}&width=1000">
<meta property="og:image:alt" content="hydrograph for location: {{ stations[0].site_no }}">
<!-- tags for Twitter Cards -->
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:image" content="{{ config.GRAPH_SERVER_ENDPOINT }}/monitoring-location/{{ stations[0].site_no }}/?parameterCode={{ default_parameter_code }}&width=500">
<meta name="twitter:site" content="@USGS_Water">
<meta name="twitter:creator" content="@USGS_Water">
{% endif %}
......
......@@ -8,7 +8,7 @@
<use xlink:href="{{ 'img/sprite.svg#facebook' | static_url }}"></use>
</svg>
</a>
<a class="social-share-twitter" href="https://twitter.com/home?status={{ share_encoded_url }}" target="_blank" rel="noopener">
<a class="social-share-twitter" href="https://twitter.com/intent/tweet?url={{ share_encoded_url }}" target="_blank" rel="noopener">
<svg aria-labelled_by="social-share-twitter" role="img">
<title id="social-share-twitter">Share on Twitter</title>
<use xlink:href="{{ 'img/sprite.svg#twitter' | static_url }}"></use>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment