use both name and property attributes for opengraph metadata tags, so more places will render the preview card properly

This commit is contained in:
xenofem 2023-12-17 14:14:22 -05:00
parent 1b35c93243
commit c072c7ce51

View file

@ -9,12 +9,12 @@
<link rel="apple-touch-icon" href="images/site-icons/transbeam-apple.png"/>
<link rel="manifest" href="manifest.json"/>
<title>{% block title %}transbeam{% endblock %}</title>
<meta name="og:type" content="website"/>
<meta name="og:site_name" content="transbeam"/>
<meta name="og:title" content="{% block og_title %}transbeam{% endblock %}"/>
<meta name="og:description" content="{% block og_description %}Low-latency file-drop web app{% endblock %}"/>
<meta name="og:image" content="{{ base_url }}/images/site-icons/transbeam-192.png"/>
<meta name="og:url" content="{{ base_url }}/{% block relative_path %}{% endblock %}"/>
<meta name="og:type" property="og:type" content="website"/>
<meta name="og:site_name" property="og:site_name" content="transbeam"/>
<meta name="og:title" property="og:title" content="{% block og_title %}transbeam{% endblock %}"/>
<meta name="og:description" property="og:description" content="{% block og_description %}Low-latency file-drop web app{% endblock %}"/>
<meta name="og:image" property="og:image" content="{{ base_url }}/images/site-icons/transbeam-192.png"/>
<meta name="og:url" property="og:url" content="{{ base_url }}/{% block relative_path %}{% endblock %}"/>
{% block head %}{% endblock %}
</head>
<body {% block body_attrs %}{% endblock %}>