diff --git a/system/config.ini b/system/config.ini index 82e0e68..072e3ab 100644 --- a/system/config.ini +++ b/system/config.ini @@ -3,7 +3,8 @@ site.url = "" ; Blog info blog.title = "HTMLy" -blog.description = "Databaseless Blogging Platform." +blog.tagline = "Databaseless Blogging Platform" +blog.description = "This blog is powered by HTMLy, a databaseless blogging platform." blog.copyright = "(c) Your name." ; Social account @@ -24,7 +25,7 @@ google.publisher = "" ; Google analytics google.analytics.id = "" -; Pagination, RSS, and JSON +; Pagination, related posts, RSS, and JSON posts.perpage = "5" tag.perpage = "10" archive.perpage = "10" diff --git a/system/htmly.php b/system/htmly.php index f814963..01155a3 100644 --- a/system/htmly.php +++ b/system/htmly.php @@ -29,6 +29,7 @@ get('/index', function () { } render('main',array( + 'title' => config('blog.title') .' - '. config('blog.tagline'), 'page' => $page, 'posts' => $posts, 'canonical' => config('site.url'), diff --git a/themes/clean/css/style.css b/themes/clean/css/style.css index ff152ed..0928718 100644 --- a/themes/clean/css/style.css +++ b/themes/clean/css/style.css @@ -302,7 +302,7 @@ aside{ padding-top: 65px; } -aside .description p{ +aside .blog-tagline p{ font-size: 14px; margin-bottom: 1.2em; color:#787878; @@ -375,12 +375,10 @@ aside .copyright p{ font-family: 'Open Sans Condensed',sans-serif; width:100%; float:left; - margin-bottom: 1em; } .related ul { - margin-top:0; - margin-bottom: 1em; + margin:0; } /*---------------------------- @@ -652,7 +650,7 @@ aside .copyright p{ text-align: center; } - aside .description{ + aside .blog-tagline{ margin-bottom: 25px; } @@ -758,4 +756,4 @@ aside .copyright p{ width: 100%; } -} +} \ No newline at end of file diff --git a/themes/clean/layout.html.php b/themes/clean/layout.html.php index 44e217c..a109af3 100644 --- a/themes/clean/layout.html.php +++ b/themes/clean/layout.html.php @@ -1,7 +1,7 @@ - <?php echo isset($title) ? _h($title) : config('blog.title') ?> + <?php echo $title; ?> @@ -23,7 +23,7 @@