chg: usr: make fancy og tags - and create a special one for battle sharing #4
This commit is contained in:
@@ -2,6 +2,25 @@
|
||||
|
||||
{% block title %} - Profile{% endblock %}
|
||||
|
||||
{% block metas %}
|
||||
{%- set _ogImage = app.request.getSchemeAndHttpHost() ~ asset('images/mine-1600x627.png') -%}
|
||||
<meta name="robots" content="noindex,nofollow"/>
|
||||
<meta property="og:url" content="{{ url('MineSeekerBundle_profile') }}"/>
|
||||
<meta property="og:type" content="profile"/>
|
||||
<meta property="og:site_name" content="MineSeeker"/>
|
||||
<meta property="og:title" content="{{ app.user.username }} · MineSeeker"/>
|
||||
<meta property="og:description"
|
||||
content="View {{ app.user.username }}'s battle stats, win rate and recent games on MineSeeker."/>
|
||||
<meta property="og:image" content="{{ _ogImage }}"/>
|
||||
<meta property="og:image:width" content="1600"/>
|
||||
<meta property="og:image:height" content="627"/>
|
||||
<meta name="twitter:card" content="summary_large_image"/>
|
||||
<meta name="twitter:title" content="{{ app.user.username }} · MineSeeker"/>
|
||||
<meta name="twitter:description"
|
||||
content="View {{ app.user.username }}'s battle stats, win rate and recent games on MineSeeker."/>
|
||||
<meta name="twitter:image" content="{{ _ogImage }}"/>
|
||||
{% endblock %}
|
||||
|
||||
{% block body %}
|
||||
<div class="profile-page">
|
||||
<div class="profile-header">
|
||||
|
||||
Reference in New Issue
Block a user