Add meta data attribute LANG to support multi language websites
This commit is contained in:
parent
869ab1f2e0
commit
d130eeeb8d
1 changed files with 2 additions and 0 deletions
|
@ -1450,6 +1450,7 @@ class Pico
|
|||
'Robots' => 'robots',
|
||||
'Template' => 'template',
|
||||
'Hidden' => 'hidden',
|
||||
'Lang' => 'lang',
|
||||
];
|
||||
|
||||
if ($this->themeMetaHeaders) {
|
||||
|
@ -1827,6 +1828,7 @@ class Pico
|
|||
'date' => &$meta['date'],
|
||||
'date_formatted' => &$meta['date_formatted'],
|
||||
'hidden' => ($meta['hidden'] || preg_match('/(?:^|\/)_/', $id)),
|
||||
'lang' => &$meta['lang'],
|
||||
'raw_content' => &$rawContent,
|
||||
'meta' => &$meta,
|
||||
];
|
||||
|
|
Loading…
Add table
Reference in a new issue