diff --git a/system/includes/functions.php b/system/includes/functions.php index 9dd6c4e..491e10c 100644 --- a/system/includes/functions.php +++ b/system/includes/functions.php @@ -2922,6 +2922,12 @@ function blog_copyright() return config('blog.copyright'); } +// Return blog language +function blog_language() +{ + return str_replace('_', '-', config('language')); +} + // Return author info. Deprecated function authorinfo($name = null, $about = null) { diff --git a/themes/blog/layout.html.php b/themes/blog/layout.html.php index d27aa26..092df03 100644 --- a/themes/blog/layout.html.php +++ b/themes/blog/layout.html.php @@ -1,8 +1,6 @@ - - - + <?php echo $title;?> @@ -12,11 +10,11 @@ - + - + - +
- +

@@ -189,8 +187,8 @@
- - + + \ No newline at end of file diff --git a/themes/clean/layout.html.php b/themes/clean/layout.html.php index d66ed7a..24f6514 100644 --- a/themes/clean/layout.html.php +++ b/themes/clean/layout.html.php @@ -1,12 +1,12 @@ - + <?php echo $title;?> - + expand child menu<\/span>","collapse":"collapse child menu<\/span>"}; /* ]]> */ - - - - - + + + + + diff --git a/themes/twentyfifteen/post.html.php b/themes/twentyfifteen/post.html.php index c80ed80..37f9c02 100644 --- a/themes/twentyfifteen/post.html.php +++ b/themes/twentyfifteen/post.html.php @@ -40,7 +40,7 @@

- <?php echo $author->name; ?> + <?php echo $author->name; ?>

name; ?>

diff --git a/themes/twentysixteen/layout.html.php b/themes/twentysixteen/layout.html.php index 7fe9c60..e92bad6 100644 --- a/themes/twentysixteen/layout.html.php +++ b/themes/twentysixteen/layout.html.php @@ -1,22 +1,22 @@ - + <?php echo $title;?> - - + + - - - + + + - + \ No newline at end of file diff --git a/themes/twentysixteen/main.html.php b/themes/twentysixteen/main.html.php index 97767b8..f22cf41 100644 --- a/themes/twentysixteen/main.html.php +++ b/themes/twentysixteen/main.html.php @@ -50,7 +50,7 @@