Skip to content

Commit

Permalink
Character set in the template
Browse files Browse the repository at this point in the history
- The Leggero template now uses the array locale.charset and can be changed via the admin panel Options->International settings->Character set.

/fp-content/config/settings.conf.php
https://forum.flatpress.org/viewtopic.php?t=323
flatpressblog#281
  • Loading branch information
Fraenkiman committed Mar 15, 2024
1 parent 4976edb commit 7b6a153
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion fp-interface/themes/leggero/cpheader.tpl
Expand Up @@ -2,7 +2,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" lang="{$fp_config.locale.lang}">
<head>
<title>{$flatpress.title}{$pagetitle}</title>
<meta http-equiv="Content-Type" content="text/html; charset={$flatpress.charset}">
<meta http-equiv="Content-Type" content="text/html; charset={$fp_config.locale.charset}">
{action hook=wp_head}
{action hook=admin_head}
</head>
Expand Down
4 changes: 2 additions & 2 deletions fp-interface/themes/leggero/header.tpl
Expand Up @@ -2,8 +2,8 @@
<html xmlns="http://www.w3.org/1999/xhtml" lang="{$fp_config.locale.lang}">
<head>
<title>{$flatpress.title|tag:wp_title:'&laquo;'}</title>
<meta http-equiv="Content-Type" content="text/html; charset={$flatpress.charset}" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="Content-Type" content="text/html; charset={$fp_config.locale.charset}">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
{action hook=wp_head}
</head>

Expand Down

0 comments on commit 7b6a153

Please sign in to comment.