diff --git a/config/config.ini.example b/config/config.ini.example
index b0a38c7..e179170 100644
--- a/config/config.ini.example
+++ b/config/config.ini.example
@@ -4,6 +4,9 @@ site.url = ""
; Your timezone
timezone = "Asia/Jakarta"
+; Your language (currently only "en" for English or "de" for German)
+language = "en"
+
; Blog info
blog.title = "HTMLy"
blog.tagline = "Just another HTMLy blog"
diff --git a/lang/lang-de.ini b/lang/lang-de.ini
new file mode 100644
index 0000000..ba4b7a3
--- /dev/null
+++ b/lang/lang-de.ini
@@ -0,0 +1,86 @@
+About = "Über"
+Add_category = "Kategorie hinzufügen"
+Add_content = "Inhalt hinzufügen"
+Add_sub = "Unterseite hinzufügen"
+Admin = "Administrator"
+All_blog_posts = "Alle Beiträge"
+Archives = "Archiv"
+Are_you_sure_you_want_to_delete_ = "Sind Sie sicher, daß Sie %s löschen wollen?"
+Audio_post = "Audio-Beitrag"
+Audio_post_comment = "Erstelle einen Beitrag mit hervorgehobenem Audio"
+Author = "Autor"
+Backup = "Backup"
+Cancel = "Abbrechen"
+Categories = "Kategorien"
+Category = "Kategorie"
+Clear_cache = "Cache löschen"
+Config = "Konfiguration"
+Contents = "Inhalt"
+Created = "Datum"
+Delete = "Löschen"
+Description = "Beschreibung"
+Draft = "Entwurf"
+Edit = "Bearbeiten"
+Edit_profile = "Profil editieren"
+Filename = "Datei Name"
+Follow = "Folgen"
+Image_post = "Bild-Beitrag"
+Image_post_comment = "Erstelle einen Beitrag mit hervorgehobenem Bild"
+Import = "Import"
+Link_post = "Link-Beitrag"
+Link_post_comment = "Erstelle einen Beitrag mit hervorgehobenem Link"
+Login = "Anmelden"
+Login_page = "Anmeldeseite"
+Logout = "Abmelden"
+Meta_description = "Meta Beschreibung"
+Mine = "Meine Beiträge"
+More = "Mehr"
+My_draft = "Meine Entwürfe"
+My_posts = "Meine Beiträge"
+Newer = "Neuere"
+Next = "Frühere"
+Next_post = "Nächster Beitrag"
+No_draft_found = "Keine Entwürfe gefunden"
+No_posts_found = "Keine Beiträge gefunden"
+No_related_post_found = "Kein ähnlicher Beitrag gefunden"
+Older = "Ältere"
+Operations = "Operationen"
+Popular_posts = "Beliebte Beiträge"
+Popular_tags = "Beliebte Tags"
+Posted_in = "Abgelegt in"
+Posted_on = "Veröffentlicht am"
+Posts = "Beiträge"
+Prev = "Vorherige"
+Prev_post = "Vorheriger Post"
+Publish = "Veröffentlichen"
+Publish_draft = "Veröffentlichen"
+Published = "Datum"
+Quote_post = "Quote-Beitrag"
+Quote_post_comment = "Erstelle einen Beitrag mit hervorgehobenem Quote"
+Recent_posts = "Letzte Beiträge"
+Regular_post = "Normaler Beitrag"
+Regular_post_comment = "Erstelle einen normalen Beitrag"
+Related_posts = "Ähnliche Beiträge"
+Revert_to_draft = "Als Entwurf speichern"
+Save = "Speichern"
+Save_as_draft = "Speichern als Entwurf"
+Search = "Suche"
+Search_for = "Suche nach"
+Static_page = "Statische Seite"
+Static_page_comment = "Erstelle eine statische Seite"
+Static_pages = "Statische Seiten"
+Tag = "Tag"
+Tags = "Tags"
+Title = "Titel"
+Uncategorized = "Sonstiges"
+Uncategorized_comment = "Themen die keine Kategorie brauchen oder nicht in andere existierende Kategorien passen."
+Update = "Update"
+Update_draft = "Draft aktualisieren"
+Update_post = "Beitrag aktualisieren"
+Video_post = "Video-Beitrag"
+Video_post_comment = "Erstelle einen Beitrag mit hervorgehobenem Video"
+View = "Ansicht"
+Views = "Ansichten"
+Your_recent_posts = "Deine letzten Beiträge"
+by = "von"
+read_more = "weiterlesen"
diff --git a/lang/lang-en.ini b/lang/lang-en.ini
new file mode 100644
index 0000000..24b3ea8
--- /dev/null
+++ b/lang/lang-en.ini
@@ -0,0 +1,86 @@
+About = "About"
+Add_category = "Add category"
+Add_content = "Add content"
+Add_sub = "Add sub"
+Admin = "Admin"
+All_blog_posts = "All blog posts"
+Archives = "Archives"
+Are_you_sure_you_want_to_delete_ = "Are you sure you want to delete %s ?"
+Audio_post = "Audio post"
+Audio_post_comment = "Creating blog post with featured audio"
+Author = "Author"
+Backup = "Backup"
+Cancel = "Cancel"
+Categories = "Categories"
+Category = "Category"
+Clear_cache = "Clear cache"
+Config = "Config"
+Contents = "Contents"
+Created = "Created"
+Delete = "Delete"
+Description = "Description"
+Draft = "Draft"
+Edit = "Edit"
+Edit_profile = "Edit profile"
+Filename = "Filename"
+Follow = "Follow"
+Image_post = "Image post"
+Image_post_comment = "Creating blog post with featured image"
+Import = "Import"
+Link_post = "Link post"
+Link_post_comment = "Creating blog post with featured link"
+Login = "Login"
+Login_page = "Login page"
+Logout = "Logout"
+Meta_description = "Meta description"
+Mine = "Mine"
+More = "More"
+My_draft = "My draft"
+My_posts = "My posts"
+Newer = "Newer"
+Next = "Next"
+Next_post = "Next post"
+No_draft_found = "No draft found"
+No_posts_found = "No posts found"
+No_related_post_found = "No related post found"
+Older = "Older"
+Operations = "Operations"
+Popular_posts = "Popular posts"
+Popular_tags = "Popular tags"
+Posted_in = "Posted in"
+Posted_on = "Posted on"
+Posts = "Posts"
+Prev = "Old"
+Prev_post = "Previous Post"
+Publish = "Publish"
+Publish_draft = "Publish draft"
+Published = "Published"
+Quote_post = "Quote post"
+Quote_post_comment = "Creating blog post with featured quote"
+Recent_posts = "Recent posts"
+Regular_post = "Regular post"
+Regular_post_comment = "Creating regular blog post"
+Related_posts = "Related posts"
+Revert_to_draft = "Revert to draft"
+Save = "Save"
+Save_as_draft = "Save as draft"
+Search = "Search"
+Search_for = "Search for"
+Static_page = "Static page"
+Static_page_comment = "Creating static page"
+Static_pages = "Static pages"
+Tag = "Tag"
+Tags = "Tags"
+Title = "Title"
+Uncategorized = "Uncategorized"
+Uncategorized_comment = "Topics that don't need a category, or don't fit into any other existing category"
+Update = "Update"
+Update_draft = "Update draft"
+Update_post = "Update post"
+Video_post = "Video post"
+Video_post_comment = "Creating blog post with featured video"
+View = "View"
+Views = "Views"
+Your_recent_posts = "Your recent posts"
+by = "by"
+read_more = "read more"
diff --git a/system/admin/admin.php b/system/admin/admin.php
index c97c5fe..00cc08d 100644
--- a/system/admin/admin.php
+++ b/system/admin/admin.php
@@ -673,14 +673,16 @@ function get_feed($feed_url, $credit)
// Get recent posts by user
function get_user_posts()
{
+ global $date_format;
+
if (isset($_SESSION[config("site.url")]['user'])) {
$posts = get_profile_posts($_SESSION[config("site.url")]['user'], 1, 5);
if (!empty($posts)) {
echo '
';
- echo 'Title Published ';
+ echo '' . i18n('Title') . ' ' . i18n('Published') . ' ';
if (config("views.counter") == "true")
echo 'Views ';
- echo 'Tag Operations ';
+ echo '' . i18n('Tag') . ' ' . i18n('Operations') . ' ';
$i = 0;
$len = count($posts);
foreach ($posts as $p) {
@@ -694,11 +696,11 @@ function get_user_posts()
$i++;
echo '';
echo '' . $p->title . ' ';
- echo '' . date('d F Y', $p->date) . ' ';
+ echo '' . strftime($date_format, $p->date) . ' ';
if (config("views.counter") == "true")
echo '' . $p->views . ' ';
echo '' . $p->tag . ' ';
- echo 'Edit Delete ';
+ echo '' . i18n('Edit') . ' ' . i18n('Delete') . ' ';
echo ' ';
}
echo '
';
@@ -714,10 +716,10 @@ function get_user_pages()
if (!empty($posts)) {
krsort($posts);
echo '';
- echo 'Title ';
+ echo '' . i18n('Title') . ' ';
if (config("views.counter") == "true")
echo 'Views ';
- echo 'Operations ';
+ echo '' . i18n('Operations') . ' ';
$i = 0;
$len = count($posts);
foreach ($posts as $p) {
@@ -734,7 +736,7 @@ function get_user_pages()
echo '' . $p->title . ' ';
if (config("views.counter") == "true")
echo '' . $p->views . ' ';
- echo 'Add Sub Edit Delete ';
+ echo '' . i18n('Add_sub') . ' ' . i18n('Edit') . ' ' . i18n('Delete') . ' ';
echo '';
$shortUrl = substr($p->url, strrpos($p->url, "/") + 1);
@@ -745,7 +747,7 @@ function get_user_pages()
echo ' »' . $sp->title . ' ';
if (config("views.counter") == "true")
echo '' . $sp->views . ' ';
- echo 'Edit Delete ';
+ echo '' . i18n('Edit') . ' ' . i18n('Delete') . ' ';
echo '';
}
}
@@ -762,7 +764,7 @@ function get_backup_files()
if (!empty($files)) {
krsort($files);
echo '';
- echo 'Filename Date Operations ';
+ echo '' . i18n('Filename') . ' Date ' . i18n('Operations') . ' ';
$i = 0;
$len = count($files);
foreach ($files as $file) {
diff --git a/system/admin/views/add-content.html.php b/system/admin/views/add-content.html.php
index dd6cd52..d65688a 100644
--- a/system/admin/views/add-content.html.php
+++ b/system/admin/views/add-content.html.php
@@ -27,14 +27,14 @@ $desc = get_category_info(null);
diff --git a/system/admin/views/categories.html.php b/system/admin/views/categories.html.php
index f567e31..fa20fcc 100644
--- a/system/admin/views/categories.html.php
+++ b/system/admin/views/categories.html.php
@@ -1,16 +1,16 @@
-Add category
+
Name
- Description
- Contents
- Operations
+
+
+
- Uncategorized
- Topics that don't need a category, or don't fit into any other existing category.
+
+ .
@@ -19,7 +19,7 @@
title;?>
body;?>
md) + get_categorycount($d->md); echo $total?>
- Edit md) == 0 && get_draftcount($d->md) == 0 ){echo 'Delete ';}?>
+ md) == 0 && get_draftcount($d->md) == 0 ){echo '' . i18n('Delete') . ' ';}?>
\ No newline at end of file
diff --git a/system/admin/views/content-type.html.php b/system/admin/views/content-type.html.php
index 9594531..ac9e0d3 100644
--- a/system/admin/views/content-type.html.php
+++ b/system/admin/views/content-type.html.php
@@ -1,9 +1,9 @@
-Add content
+
-Regular post Creating regular blog post.
-Image post Creating blog post with featured image.
-Video post Creating blog post with featured video.
-Audio post Creating blog post with featured audio.
-Link post Creating blog post with featured link.
-Quote post Creating blog post with featured quote.
-Static page Creating static page.
\ No newline at end of file
+ .
+ .
+ .
+ .
+ .
+ .
+ .
\ No newline at end of file
diff --git a/system/admin/views/delete-category.html.php b/system/admin/views/delete-category.html.php
index 6e0d237..ca4305b 100644
--- a/system/admin/views/delete-category.html.php
+++ b/system/admin/views/delete-category.html.php
@@ -21,10 +21,10 @@ if (isset($destination)) {
$back = site_url();
}
?>
-Are you sure want to delete title; ?> ?
+title);?>
-
- Cancel
+
+ ' . i18n('Cancel');?>
\ No newline at end of file
diff --git a/system/admin/views/delete-page.html.php b/system/admin/views/delete-page.html.php
index 6e0d237..ca4305b 100644
--- a/system/admin/views/delete-page.html.php
+++ b/system/admin/views/delete-page.html.php
@@ -21,10 +21,10 @@ if (isset($destination)) {
$back = site_url();
}
?>
-Are you sure want to delete title; ?> ?
+title);?>
-
- Cancel
+
+ ' . i18n('Cancel');?>
\ No newline at end of file
diff --git a/system/admin/views/delete-post.html.php b/system/admin/views/delete-post.html.php
index 1a05e30..be502d4 100644
--- a/system/admin/views/delete-post.html.php
+++ b/system/admin/views/delete-post.html.php
@@ -29,10 +29,10 @@ if (isset($destination)) {
}
?>
-Are you sure want to delete ' . $p->title . ' ?'; ?>
+title);?>
-
- Cancel
+
+ ' . i18n('Cancel');?>
\ No newline at end of file
diff --git a/system/admin/views/edit-content.html.php b/system/admin/views/edit-content.html.php
index 4c841bc..201bc6a 100644
--- a/system/admin/views/edit-content.html.php
+++ b/system/admin/views/edit-content.html.php
@@ -71,14 +71,14 @@ if (config('permalink.type') == 'post') {
diff --git a/system/admin/views/edit-page.html.php b/system/admin/views/edit-page.html.php
index 6ce4e84..68359a8 100644
--- a/system/admin/views/edit-page.html.php
+++ b/system/admin/views/edit-page.html.php
@@ -79,7 +79,7 @@ if ($type == 'is_frontpage') {
diff --git a/system/admin/views/main.html.php b/system/admin/views/main.html.php
index bf1dac0..3781414 100644
--- a/system/admin/views/main.html.php
+++ b/system/admin/views/main.html.php
@@ -1,5 +1,5 @@
Your recent posts';
+echo '' . i18n('Your_recent_posts') . ' ';
get_user_posts();
-echo 'Static pages ';
+echo '' . i18n('Static_pages') . ' ';
get_user_pages(); ?>
\ No newline at end of file
diff --git a/system/admin/views/no-posts.html.php b/system/admin/views/no-posts.html.php
index 5d2948a..0a56b79 100644
--- a/system/admin/views/no-posts.html.php
+++ b/system/admin/views/no-posts.html.php
@@ -1 +1 @@
-No posts found!
+!
diff --git a/system/admin/views/popular-posts.html.php b/system/admin/views/popular-posts.html.php
index ed1efd4..e2828c1 100644
--- a/system/admin/views/popular-posts.html.php
+++ b/system/admin/views/popular-posts.html.php
@@ -2,12 +2,12 @@
- Title
- Published
- Views
- Author
- Tag
- Operations
+
+
+
+
+
+
@@ -24,7 +24,7 @@
?>
title ?>
- date) ?>
+ date) ?>
views ?>
author ?>
@@ -35,5 +35,5 @@
\ No newline at end of file
diff --git a/system/admin/views/posts-list.html.php b/system/admin/views/posts-list.html.php
index 3b52b3a..a7132ec 100644
--- a/system/admin/views/posts-list.html.php
+++ b/system/admin/views/posts-list.html.php
@@ -2,12 +2,12 @@
- Title
- Published
+
+
Views
- Author
- Tag
- Operations
+
+
+
@@ -24,13 +24,13 @@
?>
title ?>
- date) ?>
+ date) ?>
views ?>
author ?>
tag ?>
- Edit Delete
+
@@ -45,5 +45,5 @@
\ No newline at end of file
diff --git a/system/admin/views/user-draft.html.php b/system/admin/views/user-draft.html.php
index 379cb08..0ef1a54 100644
--- a/system/admin/views/user-draft.html.php
+++ b/system/admin/views/user-draft.html.php
@@ -2,10 +2,10 @@
- Title
- Created
- Tag
- Operations
+
+
+
+
@@ -22,12 +22,12 @@
?>
title ?>
- date) ?>
+ date) ?>
tag) ?>
- Edit Delete
+
\ No newline at end of file
diff --git a/system/admin/views/user-posts.html.php b/system/admin/views/user-posts.html.php
index b6623a6..f386397 100644
--- a/system/admin/views/user-posts.html.php
+++ b/system/admin/views/user-posts.html.php
@@ -2,13 +2,13 @@
- Title
- Published
+
+
Views
- Tag
- Operations
+
+
@@ -30,7 +30,7 @@
views ?>
tag ?>
- Edit Delete
+ Edit
@@ -45,5 +45,5 @@
\ No newline at end of file
diff --git a/system/htmly.php b/system/htmly.php
index be9bcb3..904225c 100644
--- a/system/htmly.php
+++ b/system/htmly.php
@@ -3,6 +3,17 @@
// Load the configuration file
config('source', $config_file);
+// Settings for the language
+if ( config('language') === "de" ) {
+ i18n('source', 'lang/lang-de.ini'); // Load the German language file
+ $date_format = '%d. %B %Y'; // Date format German style
+ setlocale(LC_TIME, 'de_DE', 'de_DE.utf8', "German"); // Change time format to German
+} else { // Default: English ("en")
+ i18n('source', 'lang/lang-en.ini'); // Load the English language file
+ $date_format = '%B %d, %Y'; // Date format English style
+ setlocale(LC_TIME, 'en_US', 'en_US.utf8', "English"); // Change time format to English
+}
+
// Set the timezone
if (config('timezone')) {
date_default_timezone_set(config('timezone'));
@@ -403,7 +414,7 @@ get('/add/content', function () {
config('views.root', 'system/admin/views');
render('add-content', array(
- 'title' => 'Add content - ' . blog_title(),
+ 'title' => i18n('Add_content') . ' - ' . blog_title(),
'description' => strip_tags(blog_description()),
'canonical' => site_url(),
'type' => $type,
@@ -866,7 +877,7 @@ get('/admin/posts', function () {
// a non-existing page
render('no-posts', array(
- 'title' => 'All blog posts - ' . blog_title(),
+ 'title' => i18n('All_blog_posts') . ' - ' . blog_title(),
'description' => strip_tags(blog_description()),
'canonical' => site_url(),
'bodyclass' => 'no-posts',
@@ -884,10 +895,10 @@ get('/admin/posts', function () {
}
render('posts-list', array(
- 'title' => 'All blog posts - ' . blog_title(),
+ 'title' => i18n('All_blog_posts') . ' - ' . blog_title(),
'description' => strip_tags(blog_description()),
'canonical' => site_url(),
- 'heading' => 'All blog posts',
+ 'heading' => i18n('All_blog_posts'),
'page' => $page,
'posts' => $posts,
'bodyclass' => 'all-posts',
@@ -898,7 +909,7 @@ get('/admin/posts', function () {
));
} else {
render('denied', array(
- 'title' => 'All blog posts - ' . blog_title(),
+ 'title' => i18n('All_blog_posts') . ' - ' . blog_title(),
'description' => strip_tags(blog_description()),
'canonical' => site_url(),
'type' => 'is_admin-posts',
@@ -1012,7 +1023,7 @@ get('/admin/mine', function () {
'description' => strip_tags(blog_description()),
'canonical' => site_url(),
'page' => $page,
- 'heading' => 'My posts',
+ 'heading' => i18n('My_posts'),
'posts' => null,
'about' => $author->about,
'name' => $author->name,
@@ -1029,7 +1040,7 @@ get('/admin/mine', function () {
'title' => 'My blog posts - ' . blog_title(),
'description' => strip_tags(blog_description()),
'canonical' => site_url(),
- 'heading' => 'My posts',
+ 'heading' => i18n('My_posts'),
'page' => $page,
'posts' => $posts,
'about' => $author->about,
@@ -1073,11 +1084,11 @@ get('/admin/draft', function () {
if (empty($posts) || $page < 1) {
render('user-draft', array(
- 'title' => 'My draft - ' . blog_title(),
+ 'title' => i18n('My_draft') . ' - ' . blog_title(),
'description' => strip_tags(blog_description()),
'canonical' => site_url(),
'page' => $page,
- 'heading' => 'My draft',
+ 'heading' => i18n('My_draft'),
'posts' => null,
'about' => $author->about,
'name' => $author->name,
@@ -1090,10 +1101,10 @@ get('/admin/draft', function () {
}
render('user-draft', array(
- 'title' => 'My draft - ' . blog_title(),
+ 'title' => i18n('My_draft') . ' - ' . blog_title(),
'description' => strip_tags(blog_description()),
'canonical' => site_url(),
- 'heading' => 'My draft',
+ 'heading' => i18n('My_draft'),
'page' => $page,
'posts' => $posts,
'about' => $author->about,
@@ -1114,13 +1125,13 @@ get('/admin/content', function () {
if (login()) {
config('views.root', 'system/admin/views');
render('content-type', array(
- 'title' => 'Add content - ' . blog_title(),
+ 'title' => i18n('Add_content') . ' - ' . blog_title(),
'description' => strip_tags(blog_description()),
'canonical' => site_url(),
'type' => 'is_admin-content',
'is_admin' => true,
'bodyclass' => 'admin-content',
- 'breadcrumb' => '' . config('breadcrumb.home') . ' » Add content'
+ 'breadcrumb' => '' . config('breadcrumb.home') . ' » ' . i18n('Add_content')
));
} else {
$login = site_url() . 'login';
@@ -2319,7 +2330,7 @@ get('/:static', function ($static) {
if (login()) {
config('views.root', 'system/admin/views');
render('main', array(
- 'title' => 'Admin - ' . blog_title(),
+ 'title' => i18n('Admin') . ' - ' . blog_title(),
'description' => strip_tags(blog_description()),
'canonical' => site_url(),
'bodyclass' => 'admin-front',
diff --git a/system/includes/dispatch.php b/system/includes/dispatch.php
index 1ae29a2..18606c3 100644
--- a/system/includes/dispatch.php
+++ b/system/includes/dispatch.php
@@ -40,6 +40,22 @@ function error($code, $message)
die($message);
}
+// i18n provides strings in the current language
+function i18n($key, $value = null)
+{
+ static $_i18n = array();
+
+ if ($key === 'source') {
+ if (file_exists($value))
+ $_i18n = parse_ini_file($value, true);
+ else
+ $_i18n = parse_ini_file('lang/lang-en.ini', true);
+ } elseif ($value == null)
+ return (isset($_i18n[$key]) ? $_i18n[$key] : '_i18n_' . $key . '_i18n_');
+ else
+ $_i18n[$key] = $value;
+}
+
function config($key, $value = null)
{
static $_config = array();
diff --git a/system/includes/functions.php b/system/includes/functions.php
index 2096806..3fbfabb 100644
--- a/system/includes/functions.php
+++ b/system/includes/functions.php
@@ -556,7 +556,7 @@ function default_category()
$tmp = array();
$desc = new stdClass;
- $desc->title = 'Uncategorized';
+ $desc->title = i18n("Uncategorized");
$desc->url = site_url() . 'category/uncategorized';
$desc->body = 'Topics that don't need a category, or don't fit into any other existing category.
';
@@ -586,7 +586,7 @@ function category_list($custom = null) {
foreach ($arr as $a) {
$cat[] = array($a->md, $a->title);
}
- array_push($cat, array('uncategorized', 'Uncategorized'));
+ array_push($cat, array('uncategorized', i18n('Uncategorized')));
asort($cat);
$tmp = serialize($cat);
file_put_contents($filename, print_r($tmp, true));
@@ -988,7 +988,7 @@ function get_related($tag, $custom = null, $count = null)
echo '';
} else {
- echo '';
+ echo '' . i18n('No_related_post_found') . ' ';
}
} else {
@@ -1406,7 +1406,7 @@ EOF;
echo '';
foreach ($by_month as $month => $count) {
- $name = date('F', mktime(0, 0, 0, $month, 1, 2010));
+ $name = strftime('%B', mktime(0, 0, 0, $month, 1, 2010));
echo '' . $name . ' ';
echo ' (' . $count . ') ';
}
@@ -2150,10 +2150,11 @@ function search($text = null)
EOF;
} else {
+ $search = i18n('Search');
echo <<
-
-
+
+
EOF;
}
@@ -2760,28 +2761,28 @@ function toolbar()
EOF;
echo '';
}
diff --git a/themes/blog/layout.html.php b/themes/blog/layout.html.php
index ee8a673..ad7a2a9 100644
--- a/themes/blog/layout.html.php
+++ b/themes/blog/layout.html.php
@@ -166,7 +166,7 @@
-
Category
+
diff --git a/themes/blog/no-posts.html.php b/themes/blog/no-posts.html.php
index 861e375..7c8a826 100644
--- a/themes/blog/no-posts.html.php
+++ b/themes/blog/no-posts.html.php
@@ -1 +1 @@
-
No posts found!
\ No newline at end of file
+
!
\ No newline at end of file
diff --git a/themes/blog/profile.html.php b/themes/blog/profile.html.php
index c9d988f..97c1376 100644
--- a/themes/blog/profile.html.php
+++ b/themes/blog/profile.html.php
@@ -29,7 +29,7 @@
diff --git a/themes/clean/layout.html.php b/themes/clean/layout.html.php
index bc85e8a..f6faf3e 100644
--- a/themes/clean/layout.html.php
+++ b/themes/clean/layout.html.php
@@ -32,9 +32,9 @@
-
Recent Posts
-
Archive
-
Category
+
+
+
Tags
diff --git a/themes/clean/no-posts.html.php b/themes/clean/no-posts.html.php
index 861e375..7c8a826 100644
--- a/themes/clean/no-posts.html.php
+++ b/themes/clean/no-posts.html.php
@@ -1 +1 @@
-No posts found!
\ No newline at end of file
+!
\ No newline at end of file
diff --git a/themes/clean/profile.html.php b/themes/clean/profile.html.php
index 117a752..3bab8e0 100644
--- a/themes/clean/profile.html.php
+++ b/themes/clean/profile.html.php
@@ -38,5 +38,5 @@
\ No newline at end of file
diff --git a/themes/default/no-posts.html.php b/themes/default/no-posts.html.php
index 861e375..7c8a826 100644
--- a/themes/default/no-posts.html.php
+++ b/themes/default/no-posts.html.php
@@ -1 +1 @@
-No posts found!
\ No newline at end of file
+!
\ No newline at end of file
diff --git a/themes/default/profile.html.php b/themes/default/profile.html.php
index 0c02f56..0ccd54d 100644
--- a/themes/default/profile.html.php
+++ b/themes/default/profile.html.php
@@ -37,5 +37,5 @@
\ No newline at end of file
diff --git a/themes/logs/layout.html.php b/themes/logs/layout.html.php
index 01c9e8b..775a351 100644
--- a/themes/logs/layout.html.php
+++ b/themes/logs/layout.html.php
@@ -75,7 +75,7 @@
-
Category
+
diff --git a/themes/logs/no-posts.html.php b/themes/logs/no-posts.html.php
index 861e375..7c8a826 100644
--- a/themes/logs/no-posts.html.php
+++ b/themes/logs/no-posts.html.php
@@ -1 +1 @@
-
No posts found!
\ No newline at end of file
+!
\ No newline at end of file
diff --git a/themes/logs/profile.html.php b/themes/logs/profile.html.php
index 853fcd8..62b98fe 100644
--- a/themes/logs/profile.html.php
+++ b/themes/logs/profile.html.php
@@ -38,5 +38,5 @@
\ No newline at end of file
diff --git a/themes/twentyfifteen/layout.html.php b/themes/twentyfifteen/layout.html.php
index d2bce68..4960f6c 100644
--- a/themes/twentyfifteen/layout.html.php
+++ b/themes/twentyfifteen/layout.html.php
@@ -96,7 +96,7 @@
diff --git a/themes/twentysixteen/layout.html.php b/themes/twentysixteen/layout.html.php
index 6d964b1..09d5413 100644
--- a/themes/twentysixteen/layout.html.php
+++ b/themes/twentysixteen/layout.html.php
@@ -65,7 +65,7 @@