diff --git a/system/config.ini b/system/config.ini index 072e3ab..4227397 100644 --- a/system/config.ini +++ b/system/config.ini @@ -3,8 +3,8 @@ site.url = "" ; Blog info blog.title = "HTMLy" -blog.tagline = "Databaseless Blogging Platform" -blog.description = "This blog is powered by HTMLy, a databaseless blogging platform." +blog.tagline = "Just another HTMLy blog" +blog.description = "Proudly powered by HTMLy, a databaseless blogging platform." blog.copyright = "(c) Your name." ; Social account @@ -25,16 +25,18 @@ google.publisher = "" ; Google analytics google.analytics.id = "" -; Pagination, related posts, RSS, and JSON +; Pagination, RSS, and JSON posts.perpage = "5" tag.perpage = "10" archive.perpage = "10" search.perpage = "10" profile.perpage = "30" -related.count = "4" rss.count = "30" json.count = "10" +; Related posts +related.count = "4" + ; Author info on blog post. Set "true" or "false". author.info = "true" diff --git a/system/htmly.php b/system/htmly.php index 01155a3..31b5c12 100644 --- a/system/htmly.php +++ b/system/htmly.php @@ -28,8 +28,12 @@ get('/index', function () { not_found(); } + $tl = config('blog.tagline'); + + if($tl){ $tagline = ' - ' . $tl;} else {$tagline = '';} + render('main',array( - 'title' => config('blog.title') .' - '. config('blog.tagline'), + 'title' => config('blog.title') . $tagline, 'page' => $page, 'posts' => $posts, 'canonical' => config('site.url'),