[openstreetmap/openstreetmap-website] Remove Open Graph og:image:secure_url property (PR #4876)
Anton Khorev
notifications at github.com
Tue Jun 4 10:58:48 UTC 2024
On the actual osm website `og:image:secure_url` is the same as `og:image`, therefore it's not [an alternate url](https://ogp.me/#structured).
~~~
<meta property="og:image" content="https://www.openstreetmap.org/assets/osm_logo_256-ed028f90468224a272961c380ecee0cfb73b8048b34f4b4b204b7f0d1097875d.png">
<meta property="og:image:secure_url" content="https://www.openstreetmap.org/assets/osm_logo_256-ed028f90468224a272961c380ecee0cfb73b8048b34f4b4b204b7f0d1097875d.png">
~~~
Same for OpenHistoricalMap and probably every publicly available openstreetmap-website instance.
Removing `og:image:secure_url` would make it easier to replace the image if necessary, like #1361.
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/4876
-- Commit Summary --
* Remove Open Graph og:image:secure_url property
-- File Changes --
M app/helpers/open_graph_helper.rb (3)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/4876.patch
https://github.com/openstreetmap/openstreetmap-website/pull/4876.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/4876
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/4876 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240604/dc77505b/attachment.htm>
More information about the rails-dev
mailing list