mirror of
https://github.com/getgrav/grav.git
synced 2025-12-05 15:29:57 +01:00
Flattr requires name instead property.
This commit is contained in:
committed by
Matias Griese
parent
87a01bbe0a
commit
1cfcf1ded0
@@ -1720,7 +1720,7 @@ class Page implements PageInterface
|
||||
'content' => $escape ? htmlspecialchars($value, ENT_QUOTES | ENT_HTML5, 'UTF-8') : $value
|
||||
];
|
||||
|
||||
if ($hasSeparator && !Utils::startsWith($key, 'twitter')) {
|
||||
if ($hasSeparator && !Utils::startsWith($key, ['twitter', 'flattr'])) {
|
||||
$entry['property'] = $key;
|
||||
} else {
|
||||
$entry['name'] = $key;
|
||||
|
||||
Reference in New Issue
Block a user