opengraph embed support
Some checks failed
Build Container / build (push) Failing after 1m2s

This commit is contained in:
magmaus3 2024-05-18 20:38:39 +02:00
parent 900ffb8c7a
commit 2f68204883
Signed by: magmaus3
GPG key ID: 695507CAEE1DB324

View file

@ -10,6 +10,15 @@
'/static/search/search.css', '/static/search/search.css',
'/static/search/searchResults.css' '/static/search/searchResults.css'
) }}"> ) }}">
<meta content="article" property="og:type" />
<meta content="{{ map['Name'] }}" property="og:title" />
{% if map['Description'] != '' %}<meta content="{{ map['Description'] }}" property="og:description" />{% endif %}
<meta content="https://iwm-browser.magmaus3.eu.org/level/{{ map['ID'] }}" property="og:url" />
<meta content="{{ THUMB_URL }}/{{ map['ID'] }}.png" property="og:image" />
<meta content="800" property="og:image:width" />
<meta content="608" property="og:image:height" />
<meta content="IWM Browser" property="og:site_name" />
<!-- <meta content="#43B581" data-react-helmet="true" name="theme-color" /> -->
<!-- Optional features --> <!-- Optional features -->
<script> <script>
function copy(obj) { function copy(obj) {