Update Open Graph logic and remove unused OGP image
All checks were successful
/ CI (push) Successful in 13s
/ CD (push) Successful in 7s

Removed the fallback Open Graph image logic from the header and deleted the unused `ogp.png` file. Also removed the `image` field from `_config.yml` as it is no longer necessary. Simplifies configuration and ensures only page-specific images are used.
This commit is contained in:
Lars 2024-12-25 14:57:15 +01:00
parent 4fc1da1842
commit cd7ed8a775
4 changed files with 0 additions and 3 deletions

View file

@ -96,8 +96,6 @@
/>
{% if page.image %}
<meta property="og:image" content="{{ page.image | absolute_url }}" />
{% else %}
<meta property="og:image" content="{{ site.image | absolute_url }}" />
{% endif %}
<meta property="og:image:width" content="640" />
<meta property="og:image:height" content="640" />