diff --git a/system/admin/views/content-type.html.php b/system/admin/views/content-type.html.php
index c905e1f..238232f 100644
--- a/system/admin/views/content-type.html.php
+++ b/system/admin/views/content-type.html.php
@@ -5,5 +5,5 @@
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 fetaured quote.
+Quote post
Creating blog post with featured quote.
Static page
Creating static page.
\ No newline at end of file
diff --git a/system/includes/functions.php b/system/includes/functions.php
index caa8058..db9e88f 100644
--- a/system/includes/functions.php
+++ b/system/includes/functions.php
@@ -1179,7 +1179,7 @@ EOF;
}
// Menu
-function menu()
+function menu($custom = null)
{
$menu = config('blog.menu');
$req = $_SERVER['REQUEST_URI'];
@@ -1188,7 +1188,7 @@ function menu()
$links = explode('|', $menu);
- echo '';
+ echo '';
$i = 0;
$len = count($links);
@@ -1237,7 +1237,7 @@ function menu()
echo '
';
} else {
- get_menu();
+ get_menu($custom);
}
}
@@ -1255,7 +1255,7 @@ function get_title_from_file($v)
}
// Auto generate menu from static page
-function get_menu()
+function get_menu($custom)
{
$posts = get_static_pages();
$req = $_SERVER['REQUEST_URI'];
@@ -1264,7 +1264,7 @@ function get_menu()
krsort($posts);
- echo '';
+ echo '';
if ($req == site_path() . '/') {
echo '- ' . config('breadcrumb.home') . '
';
} else {
@@ -1296,13 +1296,12 @@ function get_menu()
} else {
$active = '';
}
- echo '- ';
-
- $subPages = get_static_sub_pages(str_replace('.md', '', $base));
- echo '' . ucwords($title) . '';
+
+ $subPages = get_static_sub_pages(str_replace('.md', '', $base));
if (!empty($subPages)) {
- echo '';
} else {
- echo '