mirror of
https://github.com/philomena-dev/philomena.git
synced 2025-02-01 03:46:44 +01:00
use og:description
This commit is contained in:
parent
5c4131c09b
commit
83c62732c4
1 changed files with 1 additions and 1 deletions
|
@ -8,8 +8,8 @@ meta name="robots" content="noindex, nofollow"
|
||||||
- filtered = ImageView.filter_or_spoiler_hits?(@conn, image) or not image.thumbnails_generated
|
- filtered = ImageView.filter_or_spoiler_hits?(@conn, image) or not image.thumbnails_generated
|
||||||
- description = "##{image.id} - #{image.tag_list_cache} - Derpibooru"
|
- description = "##{image.id} - #{image.tag_list_cache} - Derpibooru"
|
||||||
|
|
||||||
meta name="description" content=image.tag_list_cache
|
|
||||||
meta name="keywords" content=image.tag_list_cache
|
meta name="keywords" content=image.tag_list_cache
|
||||||
|
meta name="og:description" content=description
|
||||||
meta name="og:title" content=description
|
meta name="og:title" content=description
|
||||||
meta name="og:url" content=Routes.image_url(@conn, :show, image)
|
meta name="og:url" content=Routes.image_url(@conn, :show, image)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue