mirror of
https://github.com/ToxicCrack/PrintABrick.git
synced 2025-05-16 04:10:09 -07:00
Fix social preview
This commit is contained in:
parent
4ff6df97cd
commit
1c12e34bb2
@ -120,11 +120,7 @@
|
||||
<meta property="og:image" content="{{ image }}">
|
||||
<meta property="og:image:width" content="{{ imageWidth }}">
|
||||
<meta property="og:image:height" content="{{ imageHeight }}">
|
||||
<meta property="og:site_name" content="{{ name }}">
|
||||
|
||||
<meta property="twitter:card" content="summary">
|
||||
<meta property="twitter:image:src" content="{{ image }}">
|
||||
<meta property="twitter:site" content="{{ name }}">
|
||||
<meta property="twitter:url" content="{{ url }}">
|
||||
<meta property="twitter:description" content="{{ description }}">
|
||||
<meta property="twitter:title" content="{{ title }}">
|
||||
{% endmacro %}
|
@ -11,7 +11,7 @@
|
||||
model.id~' '~model.name,
|
||||
app.request.uri,
|
||||
'meta.description' | trans | striptags('sup'),
|
||||
asset('-1/'~model.id~'.png') | imagine_filter('part_large')
|
||||
asset('-1/'~model.id) | imagine_filter('part_large')
|
||||
)}}
|
||||
{% endblock %}
|
||||
|
||||
|
@ -11,7 +11,7 @@
|
||||
set.id~' '~set.name ,
|
||||
app.request.uri,
|
||||
'meta.description' | trans | striptags('sup'),
|
||||
asset(set.id~'.jpg')|imagine_filter('set_large')
|
||||
asset(set.id)|imagine_filter('set_large')
|
||||
)}}
|
||||
{% endblock %}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user