mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-30 21:40:39 +03:00
🐛 Fixed wrong icon being pulled into bookmark cards for some sites (#11055)
no issue Current metascraper rule for fetching page metadata in case of bookmark card gives preference to publisher logo over icon tags. This PR updates giving first preference to icon link tags followed by logo.
This commit is contained in:
parent
c8b9fd0362
commit
44a5da22b9
@ -10,8 +10,8 @@ const metascraper = require('metascraper')([
|
||||
require('metascraper-author')(),
|
||||
require('metascraper-publisher')(),
|
||||
require('metascraper-image')(),
|
||||
require('metascraper-logo')(),
|
||||
require('metascraper-logo-favicon')()
|
||||
require('metascraper-logo-favicon')(),
|
||||
require('metascraper-logo')()
|
||||
]);
|
||||
|
||||
async function fetchBookmarkData(url, html) {
|
||||
|
Loading…
Reference in New Issue
Block a user