Add meta tags to show cover and share description in social platforms

This commit is contained in:
Deluan 2023-01-24 15:35:23 -05:00
parent cab43c89e6
commit 69b36c75a5
5 changed files with 54 additions and 19 deletions

View file

@ -29,6 +29,12 @@
work correctly both with client-side routing and a non-root public URL.
Learn how to configure a non-root public URL by running `npm run build`.
-->
<meta property="og:site_name" content="Navidrome">
<meta property="og:url" content="{{ .ShareURL }}">
<meta property="og:title" content="{{ .ShareDescription }}">
<meta property="og:image" content="{{ .ShareImageURL }}">
<meta property="og:image:width" content="300">
<meta property="og:image:height" content="300">
<title>Navidrome</title>
<script>
window.__APP_CONFIG__ = {{ .AppConfig }}