mirror of
https://github.com/danpros/htmly.git
synced 2026-04-17 19:26:08 +05:30
Fix lang
This commit is contained in:
parent
841698a7cd
commit
7ff6152ab5
2 changed files with 3 additions and 6 deletions
|
|
@ -286,8 +286,4 @@ add_user = "Add user"
|
|||
username = "Username"
|
||||
role = "Role"
|
||||
change_password = "Change password"
|
||||
manage_users = "Manage users"
|
||||
add_user = "Add user"
|
||||
username = "Username"
|
||||
role = "Role"
|
||||
change_password = "Change password"
|
||||
|
||||
|
|
|
|||
|
|
@ -3838,11 +3838,12 @@ function generate_meta($type = null, $object = null)
|
|||
$tags .= '<meta property="og:site_name" content="'. blog_title() . '" />' . "\n";
|
||||
if ($type == 'is_blog') {
|
||||
$tags .= '<meta property="og:title" content="'. generate_title('is_blog', null) . '" />' . "\n";
|
||||
$tags .= '<meta property="og:description" content="'. blog_title() .' Blog" />' . "\n";
|
||||
} else {
|
||||
$tags .= '<meta property="og:title" content="'. generate_title('is_front', null) . '" />' . "\n";
|
||||
$tags .= '<meta property="og:description" content="'. safe_html(strip_tags(blog_description())) .'" />' . "\n";
|
||||
}
|
||||
$tags .= '<meta property="og:url" content="'. site_url() .'" />' . "\n";
|
||||
$tags .= '<meta property="og:description" content="'. blog_description() .'" />' . "\n";
|
||||
$tags .= '<meta property="og:image" content="'. $defaultImg .'" />' . "\n";
|
||||
$tags .= '<meta name="twitter:card" content="summary_large_image" />' . "\n";
|
||||
if(!empty($twitter)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue