Commit 5f0cce8b authored by SpinShare's avatar SpinShare

more metadata

parent dccf09ef
......@@ -4,12 +4,12 @@
<base href="./" />
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>{% block title %}{% endblock %} ~ SpinSha.re</title>
<title>{% block title %}{% endblock %} ~ SpinShare</title>
<!-- Meta Tags -->
<link rel="icon" type="image/png" href="{{ asset('assets/img/favicon.png') }}" />
<meta property="og:site_name" content="SpinSha.re"/>
<meta name="description" content="Share your custom charts for the rhythm game Spin Rhythm XD on SpinSha.re" />
<meta property="og:site_name" content="SpinShare"/>
<meta name="description" content="Share your custom charts for the rhythm game Spin Rhythm XD on SpinShare" />
{% block meta %}{% endblock %}
<!-- Styles -->
......
{% extends 'base.html.twig' %}
{% block title %}{{ song.title }}{% endblock %}
{% block title %}{{ song.title }} on SpinShare{% endblock %}
{% block meta %}
<meta property="og:title" content="{{ song.title }} on SpinSha.re"/>
<meta property="og:title" content="{{ song.title }} on SpinShare"/>
<meta property="og:description" content="Charted by {{ song.charter }} &dash; Views: {{ song.views|default(0) }}, Downloads: {{ song.downloads|default(0) }}"/>
<meta property="og:type" content="music.song"/>
<meta property="og:url" content="{{ path('song.detail', {songId: song.id}) }}"/>
<meta property="og:image" content="{{ asset("uploads/cover/" ~ song.fileReference ~ ".png?v=" ~ date().timestamp) }}"/>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment