Update Open Graph logic and remove unused OGP image
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:
parent
4fc1da1842
commit
cd7ed8a775
4 changed files with 0 additions and 3 deletions
|
@ -3,7 +3,6 @@ description: >-
|
||||||
Some dude in the internet.
|
Some dude in the internet.
|
||||||
lang: en-US
|
lang: en-US
|
||||||
timezone: Europe/Berlin
|
timezone: Europe/Berlin
|
||||||
image: assets/img/ogp.png
|
|
||||||
mode: dark # default theme "dark" | "light"
|
mode: dark # default theme "dark" | "light"
|
||||||
|
|
||||||
# Profile settings
|
# Profile settings
|
||||||
|
|
|
@ -96,8 +96,6 @@
|
||||||
/>
|
/>
|
||||||
{% if page.image %}
|
{% if page.image %}
|
||||||
<meta property="og:image" content="{{ page.image | absolute_url }}" />
|
<meta property="og:image" content="{{ page.image | absolute_url }}" />
|
||||||
{% else %}
|
|
||||||
<meta property="og:image" content="{{ site.image | absolute_url }}" />
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<meta property="og:image:width" content="640" />
|
<meta property="og:image:width" content="640" />
|
||||||
<meta property="og:image:height" content="640" />
|
<meta property="og:image:height" content="640" />
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 47 KiB After Width: | Height: | Size: 4.2 KiB |
Binary file not shown.
Before Width: | Height: | Size: 30 KiB |
Loading…
Add table
Reference in a new issue